<commit_before>﻿<UserControl x:Class="ArcMapAddinCoordinateConversion.DockableWindowCoordinateConversion"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:prop="clr-namespace:ArcMapAddinCoordinateConversion.Properties"
             xmlns:viewModels="clr-namespace:ArcMapAddinCoordinateConversion.ViewModels"
             xmlns:libprop="clr-namespace:CoordinateConversionLibrary.Properties;assembly=CoordinateConversionLibrary"
             Width="300"
             Height="300">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/CoordinateConversionLibrary;component/MAResourceDictionary.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <viewModels:MainViewModel x:Key="viewModelMain" />
            <viewModels:BoolToOppositeBoolConverter x:Key="negateBool" />
        </ResourceDictionary>
    </UserControl.Resources>
    <UserControl.DataContext>
        <StaticResourceExtension ResourceKey="viewModelMain" />
    </UserControl.DataContext>
    <Grid Margin="3,3,0,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <GroupBox Header="{x:Static prop:Resources.HeaderInput}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <ComboBox x:Name="input"
                          Margin="0,3,0,0"
                          HorizontalAlignment="Stretch"
                          IsEditable="True"
                          ItemsSource="{Binding InputCoordinateHistoryList}"
                          Text="{Binding InputCoordinate,
                                         UpdateSourceTrigger=PropertyChanged}" Grid.ColumnSpan="2">
                    <ComboBox.Style>
                        <Style>
                            <Style.Triggers>
                                <DataTrigger Binding="{Binding HasInputError}" Value="True">
                                    <Setter Property="TextBox.Background" Value="LightPink" />
                                </DataTrigger>
                                <DataTrigger Binding="{Binding HasInputError}" Value="False">
                                    <Setter Property="TextBox.Background" Value="White" />
                                </DataTrigger>
                            </Style.Triggers>
                        </Style>
                    </ComboBox.Style>
                    <ComboBox.InputBindings>
                        <KeyBinding Key="Enter" Command="{Binding FlashPointCommand}" />
                    </ComboBox.InputBindings>
                </ComboBox>
                <Button Grid.Column="2"
                        Margin="3,3,0,0"
                        ToolTip="{x:Static libprop:Resources.TooltipEditProperties}"
                        Style="{StaticResource buttonProperties}" />
                <Button Grid.Column="3"
                        Margin="3,3,0,0"
                        Command="{Binding AddNewOCCommand}"
                        ToolTip="{x:Static libprop:Resources.TooltipAdd}"
                        Style="{StaticResource BorderedButtonStyle}">
                    <Image Width="18"
                           Height="18"
                           Source="/CoordinateConversionLibrary;component/Images/hand.png" />
                </Button>
                <ToggleButton Grid.Column="4"
                              Margin="3,3,0,0"
                              IsChecked="{Binding IsToolActive}"
                              ToolTip="{x:Static libprop:Resources.TooltipMapPointTool}"
                              Style="{StaticResource BorderedTButtonStyle}">
                    <Image Width="18"
                           Height="18"
                           Source="/CoordinateConversionLibrary;component/Images/Add_Point.png" />
                </ToggleButton>
                <Button Grid.Column="5"
                        Margin="3,3,0,0"
                        Command="{Binding CopyAllCommand}"
                        ToolTip="{x:Static libprop:Resources.TooltipCopyAll}"
                        Style="{StaticResource BorderedButtonStyle}">
                    <Image Width="18"
                           Height="18"
                           Source="/CoordinateConversionLibrary;component/Images/copyall.png" />
                </Button>
            </Grid>
        </GroupBox><commit_msg>Column number set back to 5<commit_after>﻿<UserControl x:Class="ArcMapAddinCoordinateConversion.DockableWindowCoordinateConversion"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:prop="clr-namespace:ArcMapAddinCoordinateConversion.Properties"
             xmlns:viewModels="clr-namespace:ArcMapAddinCoordinateConversion.ViewModels"
             xmlns:libprop="clr-namespace:CoordinateConversionLibrary.Properties;assembly=CoordinateConversionLibrary"
             Width="300"
             Height="300">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/CoordinateConversionLibrary;component/MAResourceDictionary.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <viewModels:MainViewModel x:Key="viewModelMain" />
            <viewModels:BoolToOppositeBoolConverter x:Key="negateBool" />
        </ResourceDictionary>
    </UserControl.Resources>
    <UserControl.DataContext>
        <StaticResourceExtension ResourceKey="viewModelMain" />
    </UserControl.DataContext>
    <Grid Margin="3,3,0,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <GroupBox Header="{x:Static prop:Resources.HeaderInput}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <ComboBox x:Name="input"
                          Margin="0,3,0,0"
                          HorizontalAlignment="Stretch"
                          IsEditable="True"
                          ItemsSource="{Binding InputCoordinateHistoryList}"
                          Text="{Binding InputCoordinate,
                                         UpdateSourceTrigger=PropertyChanged}" Grid.ColumnSpan="2">
                    <ComboBox.Style>
                        <Style>
                            <Style.Triggers>
                                <DataTrigger Binding="{Binding HasInputError}" Value="True">
                                    <Setter Property="TextBox.Background" Value="LightPink" />
                                </DataTrigger>
                                <DataTrigger Binding="{Binding HasInputError}" Value="False">
                                    <Setter Property="TextBox.Background" Value="White" />
                                </DataTrigger>
                            </Style.Triggers>
                        </Style>
                    </ComboBox.Style>
                    <ComboBox.InputBindings>
                        <KeyBinding Key="Enter" Command="{Binding FlashPointCommand}" />
                    </ComboBox.InputBindings>
                </ComboBox>
                <Button Grid.Column="1"
                        Margin="3,3,0,0"
                        ToolTip="{x:Static libprop:Resources.TooltipEditProperties}"
                        Style="{StaticResource buttonProperties}" />
                <Button Grid.Column="2"
                        Margin="3,3,0,0"
                        Command="{Binding AddNewOCCommand}"
                        ToolTip="{x:Static libprop:Resources.TooltipAdd}"
                        Style="{StaticResource BorderedButtonStyle}">
                    <Image Width="18"
                           Height="18"
                           Source="/CoordinateConversionLibrary;component/Images/hand.png" />
                </Button>
                <ToggleButton Grid.Column="3"
                              Margin="3,3,0,0"
                              IsChecked="{Binding IsToolActive}"
                              ToolTip="{x:Static libprop:Resources.TooltipMapPointTool}"
                              Style="{StaticResource BorderedTButtonStyle}">
                    <Image Width="18"
                           Height="18"
                           Source="/CoordinateConversionLibrary;component/Images/Add_Point.png" />
                </ToggleButton>
                <Button Grid.Column="4"
                        Margin="3,3,0,0"
                        Command="{Binding CopyAllCommand}"
                        ToolTip="{x:Static libprop:Resources.TooltipCopyAll}"
                        Style="{StaticResource BorderedButtonStyle}">
                    <Image Width="18"
                           Height="18"
                           Source="/CoordinateConversionLibrary;component/Images/copyall.png" />
                </Button>
            </Grid>
        </GroupBox>
{'fraction_non_alphanumeric': 0.10231151857992783, 'fraction_numerical': 0.010826099678142983, 'mean_word_length': 1.4449213161659513, 'pattern_counts': {'":': 0, '<': 124, '<?xml version=': 0, '>': 124, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '23102', 'n_tokens_mistral': 2487, 'n_tokens_neox': 2259, 'n_words': 298}