/
n-dimens
/
pascalabcnet
Обзор
Документация
Войти
/
n-dimens
/
pascalabcnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ICSharpCode.TextEditorLinux/Src/Document/HighlightingStrategy/IHighlightingStrategy.cs
65 строк
1 KB
Mikhalkovich Stanislav
Для Linux-версии исправлен DockContent, редактор (показ всплывающего окна)
30 июн 2022, 09:47
30 июн 2022, 09:47
3072383
Код
Авторство
О чём код?
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="Mike Krüger" email="mike@icsharpcode.net"/> // <version>$Revision: 1965 $</version> // </file> using System; using System.Collections.Generic; namespace ICSharpCode.TextEditor.Document { /// <summary> /// A highlighting strategy for a buffer. /// </summary> public interface IHighlightingStrategy { /// <value> /// The name of the highlighting strategy, must be unique /// </value> string Name { get; } /// <value> /// The file extenstions on which this highlighting strategy gets /// used /// </value> string[] Extensions { set; get; } Dictionary<string, string> Properties { get; } // returns special color. (BackGround Color, Cursor Color and so on) /// <remarks> /// Gets the color of an Environment element. /// </remarks> HighlightColor GetColorFor(string name); /// <remarks> /// Used internally, do not call /// </remarks> HighlightRuleSet GetRuleSet(Span span); /// <remarks> /// Used internally, do not call /// </remarks> HighlightColor GetColor(IDocument document, LineSegment keyWord, int index, int length); /// <remarks> /// Used internally, do not call /// </remarks> void MarkTokens(IDocument document, List<LineSegment> lines); /// <remarks> /// Used internally, do not call /// </remarks> void MarkTokens(IDocument document); } }