<commit_before>﻿<Page
    x:Class="DvorakTrainer.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:DvorakTrainer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="using:WinRTXamlToolkit.Controls"
    mc:Ignorable="d" xmlns:m="using:ViewModels">
   

    <StackPanel Padding="80,20">
        <controls:WrapPanel>
            <StackPanel>
                <TextBlock Text="Level"></TextBlock>
                <ComboBox ItemsSource="{x:Bind ViewModel.Levels}"
                      SelectedItem="{x:Bind ViewModel.SelectedLevel, Mode=TwoWay}"
                      DisplayMemberPath="Name" SelectionChanged="{x:Bind ViewModel.OnLevelChange}" />
            </StackPanel>
            <StackPanel Margin="20,0,0,0">
                <TextBlock Text="Map keys to Dvorak"></TextBlock>
                <ToggleSwitch IsOn="{x:Bind ViewModel.MapToDvorak, Mode=TwoWay}"></ToggleSwitch>
            </StackPanel>

        </controls:WrapPanel>
        <ScrollViewer Height="130" VerticalScrollBarVisibility="Hidden" 
                      VerticalScrollMode="Disabled" 
                      Margin="0,20,0,20" Opacity="{x:Bind ViewModel.WordListOpacity, Mode=OneWay}">
            <ItemsControl ItemsSource="{x:Bind ViewModel.WordsToType, Mode=OneWay}">
                <ItemsControl.ItemTemplate>
                    <DataTemplate x:DataType="m:WordViewModel">
                        <local:WordControl ViewModel="{x:Bind}"></local:WordControl>
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
                <ItemsControl.ItemsPanel>
                    <ItemsPanelTemplate>
                        <controls:WrapPanel HorizontalAlignment="Center">
                            <controls:WrapPanel.Transitions>
                                <TransitionCollection>                                    
                                    <RepositionThemeTransition/>
                                    <AddDeleteThemeTransition/>
                                </TransitionCollection>
                            </controls:WrapPanel.Transitions>
                        </controls:WrapPanel>
                    </ItemsPanelTemplate>
                </ItemsControl.ItemsPanel>
            </ItemsControl>
        </ScrollViewer>
        <ProgressBar Minimum="0" Maximum="100" Value="{x:Bind ViewModel.CurrentWordIndex, Mode=OneWay}" ></ProgressBar>
        <Grid>

            <RichEditBox TextAlignment="Center">
            </RichEditBox>
            <Rectangle Width="1" Height="15"  Stroke="Black" HorizontalAlignment="Left"
                           Margin="{x:Bind ViewModel.CursorMargin, Mode=OneWay}">

            </Rectangle>
            <TextBox Name="MainInputTextBox" TextAlignment="Center" Background="Transparent" Opacity="0"
                GotFocus="{x:Bind ViewModel.OnInputFocus}"
                IsEnabled="{x:Bind ViewModel.Enabled, Mode=OneWay}"
                KeyUp="{x:Bind ViewModel.OnInputKeyUp}" 
                KeyDown="{x:Bind ViewModel.OnInputKeyDown}">
            </TextBox>

        </Grid>

    </StackPanel>
</Page><commit_msg>tweaked cursor style<commit_after>﻿<Page
    x:Class="DvorakTrainer.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:DvorakTrainer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="using:WinRTXamlToolkit.Controls"
    mc:Ignorable="d" xmlns:m="using:ViewModels">
   

    <StackPanel Padding="80,20">
        <controls:WrapPanel>
            <StackPanel>
                <TextBlock Text="Level"></TextBlock>
                <ComboBox ItemsSource="{x:Bind ViewModel.Levels}"
                      SelectedItem="{x:Bind ViewModel.SelectedLevel, Mode=TwoWay}"
                      DisplayMemberPath="Name" SelectionChanged="{x:Bind ViewModel.OnLevelChange}" />
            </StackPanel>
            <StackPanel Margin="20,0,0,0">
                <TextBlock Text="Map keys to Dvorak"></TextBlock>
                <ToggleSwitch IsOn="{x:Bind ViewModel.MapToDvorak, Mode=TwoWay}"></ToggleSwitch>
            </StackPanel>

        </controls:WrapPanel>
        <ScrollViewer Height="130" VerticalScrollBarVisibility="Hidden" 
                      VerticalScrollMode="Disabled" 
                      Margin="0,20,0,20" Opacity="{x:Bind ViewModel.WordListOpacity, Mode=OneWay}">
            <ItemsControl ItemsSource="{x:Bind ViewModel.WordsToType, Mode=OneWay}">
                <ItemsControl.ItemTemplate>
                    <DataTemplate x:DataType="m:WordViewModel">
                        <local:WordControl ViewModel="{x:Bind}"></local:WordControl>
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
                <ItemsControl.ItemsPanel>
                    <ItemsPanelTemplate>
                        <controls:WrapPanel HorizontalAlignment="Center">
                            <controls:WrapPanel.Transitions>
                                <TransitionCollection>                                    
                                    <RepositionThemeTransition/>
                                    <AddDeleteThemeTransition/>
                                </TransitionCollection>
                            </controls:WrapPanel.Transitions>
                        </controls:WrapPanel>
                    </ItemsPanelTemplate>
                </ItemsControl.ItemsPanel>
            </ItemsControl>
        </ScrollViewer>
        <ProgressBar Minimum="0" Maximum="100" Value="{x:Bind ViewModel.CurrentWordIndex, Mode=OneWay}" ></ProgressBar>
        <Grid>

            <RichEditBox TextAlignment="Center">
            </RichEditBox>
            <Rectangle Width="1" Height="15"  Stroke="Transparent" Fill="Black" HorizontalAlignment="Left"
                           Margin="{x:Bind ViewModel.CursorMargin, Mode=OneWay}"/>
                <TextBox Name="MainInputTextBox" TextAlignment="Center" Background="Transparent" Opacity="0"
                GotFocus="{x:Bind ViewModel.OnInputFocus}"
                IsEnabled="{x:Bind ViewModel.Enabled, Mode=OneWay}"
                KeyUp="{x:Bind ViewModel.OnInputKeyUp}" 
                KeyDown="{x:Bind ViewModel.OnInputKeyDown}">
            </TextBox>

        </Grid>

    </StackPanel>
</Page>
{'fraction_non_alphanumeric': 0.11898657819333434, 'fraction_numerical': 0.012667772583320766, 'mean_word_length': 1.9501779359430604, 'pattern_counts': {'":': 0, '<': 100, '<?xml version=': 0, '>': 100, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6171231', 'n_tokens_mistral': 1881, 'n_tokens_neox': 1678, 'n_words': 223}