<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.IO;
using System.Diagnostics;
using MahApps.Metro;
using Microsoft.Win32;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;

using MahApps.Metro.Controls;
using SharpTox;
using Toxy.ViewModels;
using Path = System.IO.Path;

namespace Toxy
{
    public partial class MainWindow : MetroWindow
    {
        private Tox tox;
        private Dictionary<int, FlowDocument> convdic = new Dictionary<int, FlowDocument>();
        private Dictionary<int, FlowDocument> groupdic = new Dictionary<int, FlowDocument>();
        private List<FileTransfer> transfers = new List<FileTransfer>();
        private AppTheme currentTheme = ThemeManager.AppThemes.First(x => x.Name == "BaseLight");
        private Accent currentAccent = ThemeManager.Accents.First(x => x.Name == "Blue");

        private int current_number = 0;
        private Type current_type = typeof(FriendControl);
        private bool resizing = false;
        private bool focusTextbox = false;
        private bool typing = false;

        public MainWindow()
        {
            InitializeComponent();
            currentAccent = ThemeManager.Accents.First(x => x.Name == "Green");
            ThemeManager.ChangeAppStyle(Application.Current, currentAccent, currentTheme);
            tox = new Tox(false);
            tox.Invoker = Dispatcher.BeginInvoke;
            tox.OnNameChange += tox_OnNameChange;
            tox.OnFriendMessage += tox_OnFriendMessage;<commit_msg>Removed default color being green<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.IO;
using System.Diagnostics;
using MahApps.Metro;
using Microsoft.Win32;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;

using MahApps.Metro.Controls;
using SharpTox;
using Toxy.ViewModels;
using Path = System.IO.Path;

namespace Toxy
{
    public partial class MainWindow : MetroWindow
    {
        private Tox tox;
        private Dictionary<int, FlowDocument> convdic = new Dictionary<int, FlowDocument>();
        private Dictionary<int, FlowDocument> groupdic = new Dictionary<int, FlowDocument>();
        private List<FileTransfer> transfers = new List<FileTransfer>();

        private int current_number = 0;
        private Type current_type = typeof(FriendControl);
        private bool resizing = false;
        private bool focusTextbox = false;
        private bool typing = false;

        public MainWindow()
        {
            InitializeComponent();
            tox = new Tox(false);
            tox.Invoker = Dispatcher.BeginInvoke;
            tox.OnNameChange += tox_OnNameChange;
            tox.OnFriendMessage += tox_OnFriendMessage;
{'fraction_non_alphanumeric': 0.09027547295054762, 'fraction_numerical': 0.0019913707268503153, 'mean_word_length': 3.380813953488372, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5250299', 'n_tokens_mistral': 822, 'n_tokens_neox': 796, 'n_words': 218}