<commit_before>﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:AudioSharp.GUI.CustomControls">
    <Style x:Key="{x:Type local:ButtonTextBox}" TargetType="{x:Type TextBoxBase}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBoxBase}">

                    <Border Name="Border"
                    CornerRadius="2" 
                    Padding="2"
                    Background="#FFFFFF"
                    BorderBrush="#FFACACAC"
                    BorderThickness="1">
                        <Grid x:Name="LayoutGrid">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <ScrollViewer x:Name="PART_ContentHost" Grid.Column="0" />
                            <Button x:Name="PART_TextBoxButton"
                                Grid.Column="2"
                                Width="25"
                                Visibility="Visible"
                                BorderBrush="Transparent"
                                Background="Transparent"
                                ToolTip="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ButtonToolTip}">
                                <Button.Content><commit_msg>Make the ButtonTextBox button smaller<commit_after>﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:AudioSharp.GUI.CustomControls">
    <Style x:Key="{x:Type local:ButtonTextBox}" TargetType="{x:Type TextBoxBase}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBoxBase}">

                    <Border Name="Border"
                    CornerRadius="2" 
                    Padding="2"
                    Background="#FFFFFF"
                    BorderBrush="#FFACACAC"
                    BorderThickness="1">
                        <Grid x:Name="LayoutGrid">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <ScrollViewer x:Name="PART_ContentHost" Grid.Column="0" />
                            <Button x:Name="PART_TextBoxButton"
                                Grid.Column="2"
                                Width="18"
                                Visibility="Visible"
                                BorderBrush="Transparent"
                                Background="Transparent"
                                ToolTip="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ButtonToolTip}">
                                <Button.Content>
{'fraction_non_alphanumeric': 0.10378510378510379, 'fraction_numerical': 0.009157509157509158, 'mean_word_length': 1.302881236823612, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6640003', 'n_tokens_mistral': 819, 'n_tokens_neox': 714, 'n_words': 97}