<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WLWSimpleAnchorManager
{
    public partial class pnlAnchorEditorBase : UserControl
    {
        public delegate void ValidAnchorContentHandler(object sender, EventArgs e);
        public event ValidAnchorContentHandler ValidContentDetected;
        public event ValidAnchorContentHandler InvalidContentDetected;

        // Abstract methods/properties to be implemented on derived classes:
        protected virtual bool CanSave()
        {
            return false;
        }

        public virtual AnchorTypes AnchorType{get; set; }

        public pnlAnchorEditorBase(AnchorData settings)
        {
            InitializeComponent();
            this.AnchorSettings = settings;
        }


        public AnchorData AnchorSettings { get; set; }
<commit_msg>Simple re-orgnaization of methods on AnchorEditorBase Panel<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WLWSimpleAnchorManager
{
    public partial class pnlAnchorEditorBase : UserControl
    {
        public delegate void ValidAnchorContentHandler(object sender, EventArgs e);
        public event ValidAnchorContentHandler ValidContentDetected;
        public event ValidAnchorContentHandler InvalidContentDetected;


        public pnlAnchorEditorBase(AnchorData settings)
        {
            InitializeComponent();
            this.AnchorSettings = settings;
        }


        // Abstract methods/properties to be implemented on derived classes:
        protected virtual bool CanSave()
        {
            return false;
        }

        public virtual AnchorTypes AnchorType{get; set; }
        public AnchorData AnchorSettings { get; set; }

{'fraction_non_alphanumeric': 0.05674846625766871, 'fraction_numerical': 0.0, 'mean_word_length': 3.0770833333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2484842', 'n_tokens_mistral': 468, 'n_tokens_neox': 455, 'n_words': 138}