/*
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 dnSpy.Contracts.Documents.Tabs.DocViewer;
using dnSpy.Contracts.Output;
using Microsoft.VisualStudio.Text.Editor;
namespace dnSpy.Contracts.Text.Editor {
///
/// Predefined dnSpy textview roles
///
public static class PredefinedDsTextViewRoles {
///
/// text view role
///
public const string DocumentViewer = "dnSpy-" + nameof(DocumentViewer);
///
/// text view role
///
public const string LogEditor = "dnSpy-" + nameof(LogEditor);
///
/// text view role
///
public const string OutputTextPane = "dnSpy-" + nameof(OutputTextPane);
///
/// text view role
///
public const string ReplEditor = "dnSpy-" + nameof(ReplEditor);
///
/// Roslyn REPL (any supported language, eg. C# and Visual Basic)
///
public const string RoslynRepl = "dnSpy-" + nameof(RoslynRepl);
///
/// C# REPL
///
public const string CSharpRepl = "dnSpy-" + nameof(CSharpRepl);
///
/// Visual Basic REPL
///
public const string VisualBasicRepl = "dnSpy-" + nameof(VisualBasicRepl);
///
/// text view role
///
public const string CodeEditor = "dnSpy-" + nameof(CodeEditor);
///
/// Roslyn code editor (any supported language, eg. C# and Visual Basic)
///
public const string RoslynCodeEditor = "dnSpy-" + nameof(RoslynCodeEditor);
///
/// Roslyn code editor (C#)
///
public const string RoslynCSharpCodeEditor = "dnSpy-" + nameof(RoslynCSharpCodeEditor);
///
/// Roslyn code editor (Visual Basic)
///
public const string RoslynVisualBasicCodeEditor = "dnSpy-" + nameof(RoslynVisualBasicCodeEditor);
///
/// Enables the custom line number margin, see
/// documentation for more info.
///
public const string CustomLineNumberMargin = "dnSpy-" + nameof(CustomLineNumberMargin);
///
/// services can be used. Not needed if
/// is already used.
///
public const string CanHaveGlyphTextMarkerService = "dnSpy-" + nameof(CanHaveGlyphTextMarkerService);
///
/// Allows the current line highlighter to be used. Not needed if
/// is already used.
///
public const string CanHaveCurrentLineHighlighter = "dnSpy-" + nameof(CanHaveCurrentLineHighlighter);
///
/// Allows the line number margin to be used. Not needed if
/// is already used.
///
public const string CanHaveLineNumberMargin = "dnSpy-" + nameof(CanHaveLineNumberMargin);
///
/// Allows line separators to be used. Not needed if
/// is already used.
///
public const string CanHaveLineSeparator = "dnSpy-" + nameof(CanHaveLineSeparator);
///
/// Allows background images to be used
///
public const string CanHaveBackgroundImage = "dnSpy-" + nameof(CanHaveBackgroundImage);
///
/// Allows line compressor
///
public const string CanHaveLineCompressor = "dnSpy-" + nameof(CanHaveLineCompressor);
///
/// Allows intellisense controllers
///
public const string CanHaveIntellisenseControllers = "dnSpy-" + nameof(CanHaveIntellisenseControllers);
}
}