/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. dnSpy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with dnSpy. If not, see . */ using Microsoft.VisualStudio.Text.Editor; namespace dnSpy.Contracts.Text.Editor { /// /// Default options /// public static class DefaultDsTextViewOptions { #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member public const string CanChangeOverwriteModeName = "ITextView/CanChangeOverwriteMode"; public static readonly EditorOptionKey CanChangeOverwriteModeId = new EditorOptionKey(CanChangeOverwriteModeName); public const string CanChangeUseVisibleWhitespaceName = "ITextView/CanChangeUseVisibleWhitespace"; public static readonly EditorOptionKey CanChangeUseVisibleWhitespaceId = new EditorOptionKey(CanChangeUseVisibleWhitespaceName); public const string CanChangeWordWrapStyleName = "ITextView/CanChangeWordWrapStyle"; public static readonly EditorOptionKey CanChangeWordWrapStyleId = new EditorOptionKey(CanChangeWordWrapStyleName); public const string AllowBoxSelectionName = "ITextView/AllowBoxSelection"; public static readonly EditorOptionKey AllowBoxSelectionId = new EditorOptionKey(AllowBoxSelectionName); public const string RefreshScreenOnChangeName = "ITextView/RefreshScreenOnChange"; public static readonly EditorOptionKey RefreshScreenOnChangeId = new EditorOptionKey(RefreshScreenOnChangeName); public const string RefreshScreenOnChangeWaitMilliSecondsName = "ITextView/RefreshScreenOnChangeWaitMilliSeconds"; public static readonly EditorOptionKey RefreshScreenOnChangeWaitMilliSecondsId = new EditorOptionKey(RefreshScreenOnChangeWaitMilliSecondsName); public const int DefaultRefreshScreenOnChangeWaitMilliSeconds = 150; public const string EnableColorizationName = "ITextView/EnableColorization"; public static readonly EditorOptionKey EnableColorizationId = new EditorOptionKey(EnableColorizationName); public const string ReferenceHighlightingName = "ITextView/ReferenceHighlighting"; public static readonly EditorOptionKey ReferenceHighlightingId = new EditorOptionKey(ReferenceHighlightingName); public const string BraceMatchingName = "ITextView/BraceMatching"; public static readonly EditorOptionKey BraceMatchingId = new EditorOptionKey(BraceMatchingName); public const string LineSeparatorsName = "ITextView/LineSeparators"; public static readonly EditorOptionKey LineSeparatorsId = new EditorOptionKey(LineSeparatorsName); public const string HighlightRelatedKeywordsName = "ITextView/HighlightRelatedKeywords"; public static readonly EditorOptionKey HighlightRelatedKeywordsId = new EditorOptionKey(HighlightRelatedKeywordsName); public const string CompressEmptyOrWhitespaceLinesName = "ITextView/CompressEmptyOrWhitespaceLines"; public static readonly EditorOptionKey CompressEmptyOrWhitespaceLinesId = new EditorOptionKey(CompressEmptyOrWhitespaceLinesName); public const string CompressNonLetterLinesName = "ITextView/CompressNonLetterLines"; public static readonly EditorOptionKey CompressNonLetterLinesId = new EditorOptionKey(CompressNonLetterLinesName); public const string RemoveExtraTextLineVerticalPixelsName = "ITextView/RemoveExtraTextLineVerticalPixels"; public static readonly EditorOptionKey RemoveExtraTextLineVerticalPixelsId = new EditorOptionKey(RemoveExtraTextLineVerticalPixelsName); public const string BlockStructureLineKindName = "ITextView/BlockStructureLineKind"; public static readonly EditorOptionKey BlockStructureLineKindId = new EditorOptionKey(BlockStructureLineKindName); #pragma warning restore CS1591 // Missing XML comment for publicly visible type or member } }