/* 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 VSTE = Microsoft.VisualStudio.Text.Editor; namespace dnSpy.Contracts.Hex.Editor { /// /// Default options /// public static class DefaultHexViewOptions { #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member public const string ShowOffsetColumnName = "HexView/ShowOffsetColumn"; public static readonly VSTE.EditorOptionKey ShowOffsetColumnId = new VSTE.EditorOptionKey(ShowOffsetColumnName); public const string ShowValuesColumnName = "HexView/ShowValuesColumn"; public static readonly VSTE.EditorOptionKey ShowValuesColumnId = new VSTE.EditorOptionKey(ShowValuesColumnName); public const string ShowAsciiColumnName = "HexView/ShowAsciiColumn"; public static readonly VSTE.EditorOptionKey ShowAsciiColumnId = new VSTE.EditorOptionKey(ShowAsciiColumnName); public const string StartPositionName = "HexView/StartPosition"; public static readonly VSTE.EditorOptionKey StartPositionId = new VSTE.EditorOptionKey(StartPositionName); public const string EndPositionName = "HexView/EndPosition"; public static readonly VSTE.EditorOptionKey EndPositionId = new VSTE.EditorOptionKey(EndPositionName); public const string BasePositionName = "HexView/BasePosition"; public static readonly VSTE.EditorOptionKey BasePositionId = new VSTE.EditorOptionKey(BasePositionName); public const string UseRelativePositionsName = "HexView/UseRelativePositions"; public static readonly VSTE.EditorOptionKey UseRelativePositionsId = new VSTE.EditorOptionKey(UseRelativePositionsName); public const string OffsetBitSizeName = "HexView/OffsetBitSize"; public static readonly VSTE.EditorOptionKey OffsetBitSizeId = new VSTE.EditorOptionKey(OffsetBitSizeName); public const string HexValuesDisplayFormatName = "HexView/HexValuesDisplayFormat"; public static readonly VSTE.EditorOptionKey HexValuesDisplayFormatId = new VSTE.EditorOptionKey(HexValuesDisplayFormatName); public const string HexOffsetFormatName = "HexView/HexOffsetFormat"; public static readonly VSTE.EditorOptionKey HexOffsetFormatId = new VSTE.EditorOptionKey(HexOffsetFormatName); public const string ValuesLowerCaseHexName = "HexView/ValuesLowerCaseHex"; public static readonly VSTE.EditorOptionKey ValuesLowerCaseHexId = new VSTE.EditorOptionKey(ValuesLowerCaseHexName); public const string OffsetLowerCaseHexName = "HexView/OffsetLowerCaseHex"; public static readonly VSTE.EditorOptionKey OffsetLowerCaseHexId = new VSTE.EditorOptionKey(OffsetLowerCaseHexName); public const string BytesPerLineName = "HexView/BytesPerLine"; public static readonly VSTE.EditorOptionKey BytesPerLineId = new VSTE.EditorOptionKey(BytesPerLineName); public const string GroupSizeInBytesName = "HexView/GroupSizeInBytes"; public static readonly VSTE.EditorOptionKey GroupSizeInBytesId = new VSTE.EditorOptionKey(GroupSizeInBytesName); public const string EnableColorizationName = "HexView/EnableColorization"; public static readonly VSTE.EditorOptionKey EnableColorizationId = new VSTE.EditorOptionKey(EnableColorizationName); public const string ViewProhibitUserInputName = "HexView/ProhibitUserInput"; public static readonly VSTE.EditorOptionKey ViewProhibitUserInputId = new VSTE.EditorOptionKey(ViewProhibitUserInputName); public const string RefreshScreenOnChangeName = "HexView/RefreshScreenOnChange"; public static readonly VSTE.EditorOptionKey RefreshScreenOnChangeId = new VSTE.EditorOptionKey(RefreshScreenOnChangeName); public const string RefreshScreenOnChangeWaitMilliSecondsName = "HexView/RefreshScreenOnChangeWaitMilliSeconds"; public static readonly VSTE.EditorOptionKey RefreshScreenOnChangeWaitMilliSecondsId = new VSTE.EditorOptionKey(RefreshScreenOnChangeWaitMilliSecondsName); public const int DefaultRefreshScreenOnChangeWaitMilliSeconds = 150; public const string RemoveExtraTextLineVerticalPixelsName = "HexView/RemoveExtraTextLineVerticalPixels"; public static readonly VSTE.EditorOptionKey RemoveExtraTextLineVerticalPixelsId = new VSTE.EditorOptionKey(RemoveExtraTextLineVerticalPixelsName); public const string ShowColumnLinesName = "HexView/ShowColumnLines"; public static readonly VSTE.EditorOptionKey ShowColumnLinesId = new VSTE.EditorOptionKey(ShowColumnLinesName); public const string ColumnLine0Name = "HexView/ColumnLine0"; public static readonly VSTE.EditorOptionKey ColumnLine0Id = new VSTE.EditorOptionKey(ColumnLine0Name); public const string ColumnLine1Name = "HexView/ColumnLine1"; public static readonly VSTE.EditorOptionKey ColumnLine1Id = new VSTE.EditorOptionKey(ColumnLine1Name); public const string ColumnGroupLine0Name = "HexView/ColumnGroupLine0"; public static readonly VSTE.EditorOptionKey ColumnGroupLine0Id = new VSTE.EditorOptionKey(ColumnGroupLine0Name); public const string ColumnGroupLine1Name = "HexView/ColumnGroupLine1"; public static readonly VSTE.EditorOptionKey ColumnGroupLine1Id = new VSTE.EditorOptionKey(ColumnGroupLine1Name); public const string HighlightActiveColumnName = "HexView/HighlightActiveColumn"; public static readonly VSTE.EditorOptionKey HighlightActiveColumnId = new VSTE.EditorOptionKey(HighlightActiveColumnName); public const string HighlightCurrentValueName = "HexView/HighlightCurrentValue"; public static readonly VSTE.EditorOptionKey HighlightCurrentValueId = new VSTE.EditorOptionKey(HighlightCurrentValueName); public const string HighlightCurrentValueDelayMilliSecondsName = "HexView/HighlightCurrentValueDelayMilliSeconds"; public static readonly VSTE.EditorOptionKey HighlightCurrentValueDelayMilliSecondsId = new VSTE.EditorOptionKey(HighlightCurrentValueDelayMilliSecondsName); public const int DefaultHighlightCurrentValueDelayMilliSeconds = 100; public const string EncodingCodePageName = "HexView/EncodingCodePage"; public static readonly VSTE.EditorOptionKey EncodingCodePageId = new VSTE.EditorOptionKey(EncodingCodePageName); public const string HighlightStructureUnderMouseCursorName = "HexView/HighlightStructureUnderMouseCursor"; public static readonly VSTE.EditorOptionKey HighlightStructureUnderMouseCursorId = new VSTE.EditorOptionKey(HighlightStructureUnderMouseCursorName); #pragma warning restore CS1591 // Missing XML comment for publicly visible type or member } }