/
n-dimens
/
pascalabcnet
Обзор
Документация
Войти
/
n-dimens
/
pascalabcnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ICSharpCode.TextEditorLinux/Src/Document/Selection/ISelection.cs
64 строки
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: 2659 $</version> // </file> using System.Drawing; namespace ICSharpCode.TextEditor.Document { /// <summary> /// An interface representing a portion of the current selection. /// </summary> public interface ISelection { TextLocation StartPosition { get; set; } TextLocation EndPosition { get; set; } int Offset { get; } int EndOffset { get; } int Length { get; } /// <value> /// Returns true, if the selection is rectangular /// </value> bool IsRectangularSelection { get; } /// <value> /// Returns true, if the selection is empty /// </value> bool IsEmpty { get; } /// <value> /// The text which is selected by this selection. /// </value> string SelectedText { get; } bool ContainsOffset(int offset); bool ContainsPosition(TextLocation position); } }