<commit_before>﻿<UserControl x:Class="VsExplorer.Implementation.TextBufferDisplay.TextBufferDisplayControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" 
             d:DesignWidth="300"
             DataContext="{Binding RelativeSource={RelativeSource Self}}">
    <ScrollViewer 
        HorizontalScrollBarVisibility="Auto"
        VerticalScrollBarVisibility="Auto">

        <StackPanel DataContext="{Binding Path=TextBufferInfo}" >
            <!-- The identifier of the document -->
            <TextBlock>
                <TextBlock Text="Identifier: " />
                <TextBlock Text="{Binding Path=Name}" />
            </TextBlock>

            <!-- Display the file path of the document -->
            <TextBlock Visibility="{Binding Path=DocumentPathVisibility}">
                <TextBlock Text="Path: " />
                <TextBlock Text="{Binding Path=DocumentPath}" />
            </TextBlock>

            <!-- The identifier of the document -->
            <TextBlock>
                <TextBlock Text="Content Type: " />
                <TextBlock Text="{Binding Path=ContentType}" />
            </TextBlock>

            <Separator />

            <TextBlock Text="{Binding Path=Text}" />
        </StackPanel>
    </ScrollViewer>
</UserControl><commit_msg>Updated the display a bit<commit_after>﻿<UserControl x:Class="VsExplorer.Implementation.TextBufferDisplay.TextBufferDisplayControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" 
             d:DesignWidth="300"
             DataContext="{Binding RelativeSource={RelativeSource Self}}">
    <ScrollViewer 
        HorizontalScrollBarVisibility="Auto"
        VerticalScrollBarVisibility="Auto">

        <StackPanel DataContext="{Binding Path=TextBufferInfo}" >
            <!-- The identifier of the document -->
            <TextBlock>
                <TextBlock Text="Identifier: " FontWeight="Bold" />
                <TextBlock Text="{Binding Path=Name}" />
            </TextBlock>

            <!-- Display the file path of the document -->
            <TextBlock Visibility="{Binding Path=DocumentPathVisibility}">
                <TextBlock Text="Path: "  FontWeight="Bold" />
                <TextBlock Text="{Binding Path=DocumentPath}" />
            </TextBlock>

            <!-- The identifier of the document -->
            <TextBlock>
                <TextBlock Text="Content Type: " FontWeight="Bold"/>
                <TextBlock Text="{Binding Path=ContentType}" />
            </TextBlock>

            <Separator />

            <TextBlock Text="Text" FontWeight="Bold" />
            <TextBlock Text="{Binding Path=Text}" />
        </StackPanel>
    </ScrollViewer>
</UserControl>
{'fraction_non_alphanumeric': 0.13001797483523067, 'fraction_numerical': 0.013181545835829839, 'mean_word_length': 2.1176470588235294, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 50, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7662908', 'n_tokens_mistral': 930, 'n_tokens_neox': 829, 'n_words': 141}