<commit_before>﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:DynamicLinqPadPostgreSqlDriver.UI"
        xmlns:ViewModels="clr-namespace:DynamicLinqPadPostgreSqlDriver.UI.ViewModels" x:Class="DynamicLinqPadPostgreSqlDriver.UI.ConfigurationWindow"
        mc:Ignorable="d"
        x:ClassModifier="internal" Title="PostgreSQL Connection" Height="470" Width="550"
        xmlns:xc="clr-namespace:ExCastle.Wpf" xc:DialogCloser.DialogResult="{Binding DialogResult}" WindowStartupLocation="CenterScreen">
   <Window.DataContext>
      <ViewModels:ConnectionInfoViewModel/>
   </Window.DataContext>
   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="20*"/>
         <RowDefinition Height="10*"/>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="Auto"/>
         <ColumnDefinition/>
         <ColumnDefinition Width="Auto"/>
      </Grid.ColumnDefinitions>
      <Button x:Name="cancelButton" Content="_Cancel" Grid.Column="2" Margin="5,5,10,10" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Grid.Row="2" IsCancel="True" IsDefault="True" Height="24" TabIndex="13"/>
      <Button x:Name="saveButton" Content="_Save" HorizontalAlignment="Right" Margin="0,5,5,10" Grid.Row="2" Width="75" VerticalAlignment="Bottom" Grid.Column="1" IsEnabled="{Binding CanSave}" Command="{Binding SaveCommand, Mode=OneWay}" Height="24" TabIndex="12"/>
      <Grid x:Name="connectionInfoGrid" Margin="0,10,0,0" Grid.ColumnSpan="3">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="80"/>
         </Grid.RowDefinitions>
         <Label Content="Name" HorizontalAlignment="Left" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="10,0,5,0"/>
         <Label Content="Server" HorizontalAlignment="Left" Grid.Row="2" d:LayoutOverrides="Height" Margin="30,0,5,0" VerticalAlignment="Center"/>
         <Label Content="Username" HorizontalAlignment="Left" Grid.Row="3" Margin="30,0,5,0" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
         <Label Content="Password" HorizontalAlignment="Left" Grid.Row="4" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="30,0,5,0"/>
         <TextBox x:Name="nameTextBox" TextWrapping="Wrap" Text="{Binding Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Margin="5,0,10,0" TabIndex="0"/>
         <TextBox x:Name="serverTextBox" TextWrapping="Wrap" Text="{Binding Server, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Margin="5,0,10,0" Grid.Row="2" IsEnabled="{Binding UseConnectionInfo}" TabIndex="2"/>
         <TextBox x:Name="usernameTextBox" TextWrapping="Wrap" Text="{Binding UserName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Margin="5,0,10,0" Grid.Row="3" IsEnabled="{Binding UseConnectionInfo}" TabIndex="3"/>
         <TextBox x:Name="connectionStringTextBox" Margin="36,5,10,5" Grid.Row="7" TextWrapping="Wrap" Text="{Binding ConnectionString, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.ColumnSpan="2" d:LayoutOverrides="Height" IsEnabled="{Binding UseConnectionString}" TabIndex="7"/>
         <RadioButton x:Name="useConnectionInfoRadioButton" Content="Use connection info" Grid.Row="1" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="15,5,0,5" Grid.ColumnSpan="2" GroupName="Connection" IsChecked="{Binding UseConnectionInfo}" TabIndex="1"/><commit_msg>Changed default button in configuration window<commit_after>﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:DynamicLinqPadPostgreSqlDriver.UI"
        xmlns:ViewModels="clr-namespace:DynamicLinqPadPostgreSqlDriver.UI.ViewModels" x:Class="DynamicLinqPadPostgreSqlDriver.UI.ConfigurationWindow"
        mc:Ignorable="d"
        x:ClassModifier="internal" Title="PostgreSQL Connection" Height="470" Width="550"
        xmlns:xc="clr-namespace:ExCastle.Wpf" xc:DialogCloser.DialogResult="{Binding DialogResult}" WindowStartupLocation="CenterScreen">
   <Window.DataContext>
      <ViewModels:ConnectionInfoViewModel/>
   </Window.DataContext>
   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="20*"/>
         <RowDefinition Height="10*"/>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="Auto"/>
         <ColumnDefinition/>
         <ColumnDefinition Width="Auto"/>
      </Grid.ColumnDefinitions>
      <Button x:Name="cancelButton" Content="_Cancel" Grid.Column="2" Margin="5,5,10,10" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Grid.Row="2" IsCancel="True" Height="24" TabIndex="13"/>
      <Button x:Name="saveButton" Content="_Save" HorizontalAlignment="Right" Margin="0,5,5,10" Grid.Row="2" Width="75" VerticalAlignment="Bottom" Grid.Column="1" IsEnabled="{Binding CanSave}" Command="{Binding SaveCommand, Mode=OneWay}" IsDefault="True" Height="24" TabIndex="12"/>
      <Grid x:Name="connectionInfoGrid" Margin="0,10,0,0" Grid.ColumnSpan="3">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="80"/>
         </Grid.RowDefinitions>
         <Label Content="Name" HorizontalAlignment="Left" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="10,0,5,0"/>
         <Label Content="Server" HorizontalAlignment="Left" Grid.Row="2" d:LayoutOverrides="Height" Margin="30,0,5,0" VerticalAlignment="Center"/>
         <Label Content="Username" HorizontalAlignment="Left" Grid.Row="3" Margin="30,0,5,0" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
         <Label Content="Password" HorizontalAlignment="Left" Grid.Row="4" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="30,0,5,0"/>
         <TextBox x:Name="nameTextBox" TextWrapping="Wrap" Text="{Binding Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Margin="5,0,10,0" TabIndex="0"/>
         <TextBox x:Name="serverTextBox" TextWrapping="Wrap" Text="{Binding Server, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Margin="5,0,10,0" Grid.Row="2" IsEnabled="{Binding UseConnectionInfo}" TabIndex="2"/>
         <TextBox x:Name="usernameTextBox" TextWrapping="Wrap" Text="{Binding UserName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Margin="5,0,10,0" Grid.Row="3" IsEnabled="{Binding UseConnectionInfo}" TabIndex="3"/>
         <TextBox x:Name="connectionStringTextBox" Margin="36,5,10,5" Grid.Row="7" TextWrapping="Wrap" Text="{Binding ConnectionString, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.ColumnSpan="2" d:LayoutOverrides="Height" IsEnabled="{Binding UseConnectionString}" TabIndex="7"/>
         <RadioButton x:Name="useConnectionInfoRadioButton" Content="Use connection info" Grid.Row="1" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="15,5,0,5" Grid.ColumnSpan="2" GroupName="Connection" IsChecked="{Binding UseConnectionInfo}" TabIndex="1"/>
{'fraction_non_alphanumeric': 0.15428233904311872, 'fraction_numerical': 0.029297105729474304, 'mean_word_length': 5.004255319148936, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, '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': '6717678', 'n_tokens_mistral': 2590, 'n_tokens_neox': 2409, 'n_words': 372}