public override int GetHashCode()
        {
            int hashcode = 0;

            hashcode ^= Path.GetHashCode();
            hashcode ^= FiltersInclusions.GetHashCode();
            hashcode ^= FiltersExclusions.GetHashCode();
            hashcode ^= Keywords.GetHashCode();

            hashcode ^= UseRegexMatch.GetHashCode();
            hashcode ^= UseCaseSensitiveMatch.GetHashCode();
            hashcode ^= UseNegateSearch.GetHashCode();
            hashcode ^= UseWholeWordMatch.GetHashCode();
            hashcode ^= UseSubFolders.GetHashCode();
            hashcode ^= UseTextContentOnly.GetHashCode();
            hashcode ^= ContextLinesCount.GetHashCode();
            hashcode ^= ShowLineNumbers.GetHashCode();

            return(hashcode);
        }
示例#2
0
 private void menuShowLineNumbers_Click(object sender, EventArgs e)
 {
     ShowLineNumbers = !ShowLineNumbers;
     if (ValueChanged != null)
     {
         ValueChanged(this, "Line Numbers " + Name.Substring(Name.Length - 1), ShowLineNumbers.ToString());
     }
 }