<commit_before><UserControl x:Class="Edi.Documents.Views.StartPage.StartPageView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             
             xmlns:cmd="clr-namespace:Edi.Core;assembly=Edi.Core"

             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             
             xmlns:behav="clr-namespace:Edi.Core.Behaviour;assembly=Edi.Core"
             xmlns:view="clr-namespace:Files.Views.RecentFiles;assembly=Files"
             xmlns:cmdLabel="clr-namespace:Edi.Util.Local;assembly=Edi.Util"

             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="600"
             
             xmlns:mLibReskeys="clr-namespace:MLib.Themes;assembly=MLib"
             Background="{DynamicResource {x:Static mLibReskeys:ResourceKeys.ControlNormalBackgroundBrushKey}}"

             Focusable="True"
             KeyboardNavigation.IsTabStop="True"
             Name="StartPageViewObject"
             behav:KeyboardFocus.On="{Binding ElementName=StartPageViewObject}"
             >
    <!-- The KeyboardFocus attached property is necessary to support CTRL+TAB in AvalonDock -->
    <UserControl.Resources>
        <BitmapImage UriSource="pack://application:,,,/Edi.Themes;component/Images/App/StartPage/Edi100.png" x:Key="Logo" />
        <BitmapImage UriSource="pack://application:,,,/Edi.Themes;component/Images/App/StartPage/File_Open64.png" x:Key="FileOpenImage" />
        <BitmapImage UriSource="pack://application:,,,/Edi.Themes;component/Images/App/StartPage/File_New64.png" x:Key="NewFileImage" />
    </UserControl.Resources>
    <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="12" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition  Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <!-- Project Name -->
        <TextBlock Grid.Column="0"
                   Grid.Row="0"
                   HorizontalAlignment="Left" VerticalAlignment="Top"
                   ToolTip="{x:Static cmdLabel:Strings.STR_STARTPAGE_VISITPROJECTHOMEPAGE_TT}">
                <Hyperlink TextDecorations="None" Command="cmd:AppCommand.BrowseUrl">
              <TextBlock Text="Edi" FontSize="48" />
            </Hyperlink>
        </TextBlock>

        <Grid Grid.Row="1" Margin="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Grid Grid.Column="0" Margin="12">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <TextBlock Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Bottom">
                    <Hyperlink TextDecorations="None" Command="New"
                                ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Command.Text}">
                        <Image Source="{DynamicResource Image_New}" Height="64" />
                    </Hyperlink>
                </TextBlock>

                <TextBlock Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Bottom">
                    <Hyperlink TextDecorations="None"
                                Command="Open"
                                ToolTip="{x:Static cmdLabel:Strings.STR_STARTPAGE_FILEOPEN_TT}">
                        <Image Source="{DynamicResource Image_Open}" Height="64" />
                    </Hyperlink>
                </TextBlock>
            </Grid>

            <view:RecentFilesView DataContext="{Binding}"
                                  Grid.Column="1"
                                  MinWidth="300"
                                  VerticalAlignment="Stretch"
                                  Margin="12,12,120,12" />
        </Grid>

      <!-- Logo -->
      <TextBlock Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" HorizontalAlignment="Right" VerticalAlignment="Top"
                   ToolTip="{x:Static cmdLabel:Strings.STR_STARTPAGE_VISITPROJECTHOMEPAGE_TT}">
            <Hyperlink TextDecorations="None" Command="cmd:AppCommand.BrowseUrl">
          <Image Source="{DynamicResource Logo}" Width="100" />
        </Hyperlink><commit_msg>Fixed LAyout in Start Page to look more consistent<commit_after><UserControl x:Class="Edi.Documents.Views.StartPage.StartPageView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             
             xmlns:cmd="clr-namespace:Edi.Core;assembly=Edi.Core"

             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             
             xmlns:behav="clr-namespace:Edi.Core.Behaviour;assembly=Edi.Core"
             xmlns:view="clr-namespace:Files.Views.RecentFiles;assembly=Files"
             xmlns:cmdLabel="clr-namespace:Edi.Util.Local;assembly=Edi.Util"

             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="600"
             
             xmlns:mLibReskeys="clr-namespace:MLib.Themes;assembly=MLib"
             Background="{DynamicResource {x:Static mLibReskeys:ResourceKeys.ControlNormalBackgroundBrushKey}}"

             Focusable="True"
             KeyboardNavigation.IsTabStop="True"
             Name="StartPageViewObject"
             behav:KeyboardFocus.On="{Binding ElementName=StartPageViewObject}"
             >
    <!-- The KeyboardFocus attached property is necessary to support CTRL+TAB in AvalonDock -->
    <UserControl.Resources>
        <BitmapImage UriSource="pack://application:,,,/Edi.Themes;component/Images/App/StartPage/Edi100.png" x:Key="Logo" />
        <BitmapImage UriSource="pack://application:,,,/Edi.Themes;component/Images/App/StartPage/File_Open64.png" x:Key="FileOpenImage" />
        <BitmapImage UriSource="pack://application:,,,/Edi.Themes;component/Images/App/StartPage/File_New64.png" x:Key="NewFileImage" />
    </UserControl.Resources>
    <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="12" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition  Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <!-- Project Name -->
        <TextBlock Grid.Column="0"
                   Grid.Row="0"
                   HorizontalAlignment="Left" VerticalAlignment="Top"
                   ToolTip="{x:Static cmdLabel:Strings.STR_STARTPAGE_VISITPROJECTHOMEPAGE_TT}">
                <Hyperlink TextDecorations="None" Command="cmd:AppCommand.BrowseUrl">
              <TextBlock Text="Edi" FontSize="48" />
            </Hyperlink>
        </TextBlock>

        <Grid Grid.Row="1" Margin="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Grid Grid.Column="0" Margin="12">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <TextBlock Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Bottom">
                    <Hyperlink TextDecorations="None" Command="New"
                                ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Command.Text}">
                        <Image Source="{DynamicResource Image_New}" Height="64" />
                    </Hyperlink>
                </TextBlock>

                <TextBlock Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Bottom">
                    <Hyperlink TextDecorations="None"
                                Command="Open"
                                ToolTip="{x:Static cmdLabel:Strings.STR_STARTPAGE_FILEOPEN_TT}">
                        <Image Source="{DynamicResource Image_Open}" Height="64" />
                    </Hyperlink>
                </TextBlock>
            </Grid>

            <view:RecentFilesView DataContext="{Binding}"
                                  Grid.Column="1"
                                  MinWidth="100"
                                  VerticalAlignment="Stretch"
                                  Margin="12" />
        </Grid>

      <!-- Logo -->
      <TextBlock Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" HorizontalAlignment="Right" VerticalAlignment="Top"
                   ToolTip="{x:Static cmdLabel:Strings.STR_STARTPAGE_VISITPROJECTHOMEPAGE_TT}">
            <Hyperlink TextDecorations="None" Command="cmd:AppCommand.BrowseUrl">
          <Image Source="{DynamicResource Logo}" Width="100" />
        </Hyperlink>
{'fraction_non_alphanumeric': 0.12652094325401098, 'fraction_numerical': 0.013244320017228384, 'mean_word_length': 2.0724445914654317, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 20}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3744141', 'n_tokens_mistral': 2693, 'n_tokens_neox': 2421, 'n_words': 311}