Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
AvalonStudio
TextEditor
Document
TextDocument
GetOffset
AvalonStudio.TextEditor.Document.TextDocument.GetOffset C# (CSharp) Метод
Документация по классу TextDocument
Показать файл
Открыть проект
GetOffset()
публичный
Метод
Gets the offset from a text location.
public
GetOffset
(
TextLocation
location
) :
int
location
TextLocation
Результат
int
public int GetOffset(TextLocation location) { return GetOffset(location.Line, location.Column); }
Same methods
TextDocument::
GetOffset
(
int
line
,
int
column
) :
int
TextDocument
BeginUpdate
CreateAnchor
CreateDocumentSnapshot
CreateReader
CreateSnapshot
DebugVerifyAccess
DoReplace
EndUpdate
FireChangeEvents
GetCharAt
GetLineByNumber
GetLineByOffset
GetLineTreeAsString
GetLocation
GetOffset
GetText
GetTextAnchorTreeAsString
GetTextFromTextSource
IDocument
IServiceProvider
IndexOf
IndexOfAny
Insert
LastIndexOf
OnFileNameChanged
OnPropertyChanged
Remove
Replace
RunUpdate
SetOwnerThread
TextDocument
ThrowIfRangeInvalid
VerifyAccess
WriteTextTo