示例#1
0
 public override int GetHashCode()
 {
     return(17
            ^ EditorFontFamily.GetHashCode()
            ^ EditorFontSize.GetHashCode()
            ^ EditorHighlightCurrentLine.GetHashCode()
            ^ EditorOpenLastCursorPosition.GetHashCode()
            ^ EditorOpenLastFile.GetHashCode()
            ^ EditorShowEndOfLine.GetHashCode()
            ^ EditorShowLineNumbers.GetHashCode()
            ^ EditorShowSpaces.GetHashCode()
            ^ EditorShowTabs.GetHashCode()
            ^ EditorVerticalScrollBarVisible.GetHashCode()
            ^ SynchronizeScrollPositions.GetHashCode()
            ^ SpellCheckDictionary.GetHashCode()
            ^ SpellCheckIgnoreCodeBlocks.GetHashCode()
            ^ SpellCheckIgnoreMarkupTags.GetHashCode()
            ^ SpellCheckIgnoreWordsWithDigits.GetHashCode()
            ^ IgnoreYaml.GetHashCode()
            ^ IgnoreTaskbarOnMaximize.GetHashCode()
            ^ FormatOnSave.GetHashCode()
            ^ GitHubMarkdown.GetHashCode()
            ^ Theme.GetHashCode()
            ^ SinglePaneMargin.GetHashCode()
            ^ LineEnding.GetHashCode()
            ^ CustomMarkdownConverter.GetHashCode()
            ^ UseDefaultEditor.GetHashCode());
 }
示例#2
0
 public override int GetHashCode()
 {
     return(17
            ^ EditorFontFamily.GetHashCode()
            ^ EditorFontSize.GetHashCode()
            ^ EditorHighlightCurrentLine.GetHashCode()
            ^ EditorOpenLastCursorPosition.GetHashCode()
            ^ EditorOpenLastFile.GetHashCode()
            ^ EditorShowEndOfLine.GetHashCode()
            ^ EditorShowLineNumbers.GetHashCode()
            ^ EditorShowSpaces.GetHashCode()
            ^ EditorShowTabs.GetHashCode()
            ^ EditorVerticalScrollBarVisible.GetHashCode()
            ^ SynchronizeScrollPositions.GetHashCode()
            ^ SpellCheckDictionary.GetHashCode()
            ^ SpellCheckIgnoreCodeBlocks.GetHashCode()
            ^ SpellCheckIgnoreMarkupTags.GetHashCode()
            ^ SpellCheckIgnoreWordsWithDigits.GetHashCode()
            ^ IgnoreYaml.GetHashCode()
            ^ Theme.GetHashCode());
 }