<commit_before>﻿<controls:MetroWindow 
  x:Class="MarkdownEdit.RecentFilesDialog"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
  Title="Recent Files"
  WindowStartupLocation="CenterOwner"
  WindowTitleBrush="{DynamicResource GrayBrush2}"
  GlowBrush="{DynamicResource GrayBrush2}"
  ResizeMode="CanResizeWithGrip"
  ShowInTaskbar="False"
  ShowMinButton="False"
  ShowMaxRestoreButton="False"
  WindowTransitionsEnabled="False"
  SaveWindowPosition="True"
  Height="300" 
  Width="700"
  >

  <DockPanel>
    <StackPanel Orientation="Horizontal"
                HorizontalAlignment="Center"
                Margin="10"
                DockPanel.Dock="Bottom"
                >
      <Button Click="OnOpen"
              TabIndex="2"
              IsDefault="True"
              BorderThickness="2"
              Margin="20 0"
              Width="100">
        Open
      </Button>
      <Button TabIndex="3"
              Margin="20 0"
              Width="100"
              Click="ClearOnClick">
        Clear
      </Button>
    </StackPanel>

    <ListBox x:Name="FilesListBox"
             SelectionMode="Single"
             SelectedIndex="0"
             Margin="10"
             MouseDoubleClick="OnOpen"
             TabIndex="1"
             BorderThickness="1"
             BorderBrush="{DynamicResource ControlBorderBrush}"/>
  </DockPanel>

  <Window.CommandBindings>
    <CommandBinding Command="Close" Executed="ExecuteClose" /><commit_msg>Single click to open recent file<commit_after>﻿<controls:MetroWindow 
  x:Class="MarkdownEdit.RecentFilesDialog"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
  Title="Recent Files"
  WindowStartupLocation="CenterOwner"
  WindowTitleBrush="{DynamicResource GrayBrush2}"
  GlowBrush="{DynamicResource GrayBrush2}"
  ResizeMode="CanResizeWithGrip"
  ShowInTaskbar="False"
  ShowMinButton="False"
  ShowMaxRestoreButton="False"
  WindowTransitionsEnabled="False"
  SaveWindowPosition="True"
  Height="300" 
  Width="700"
  >

  <DockPanel>
    <StackPanel Orientation="Horizontal"
                HorizontalAlignment="Center"
                Margin="10"
                DockPanel.Dock="Bottom"
                >
      <Button Click="OnOpen"
              TabIndex="2"
              IsDefault="True"
              BorderThickness="2"
              Margin="20 0"
              Width="100">
        Open
      </Button>
      <Button TabIndex="3"
              Margin="20 0"
              Width="100"
              Click="ClearOnClick">
        Clear
      </Button>
    </StackPanel>

    <ListBox x:Name="FilesListBox"
             SelectionMode="Single"
             SelectedIndex="0"
             Margin="10"
             MouseLeftButtonUp="OnOpen"
             TabIndex="1"
             BorderThickness="1"
             BorderBrush="{DynamicResource ControlBorderBrush}"/>
  </DockPanel>

  <Window.CommandBindings>
    <CommandBinding Command="Close" Executed="ExecuteClose" />
{'fraction_non_alphanumeric': 0.11987577639751552, 'fraction_numerical': 0.02360248447204969, 'mean_word_length': 2.470905172413793, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4548110', 'n_tokens_mistral': 1037, 'n_tokens_neox': 929, 'n_words': 125}