C# 클래스 SDE.Core.Avalon.AvalonLoader

파일 보기 프로젝트 열기: Tokeiburu/RagnarokSDE 1 사용 예제들

공개 메소드들

메소드 설명
GetWholeWord ( TextDocument document, TextEditor textEditor ) : string
GetWholeWordSegment ( TextDocument document, TextEditor textEditor ) : ISegment
IsWholeWord ( ITextSource document, int offsetStart, int offsetEnd ) : bool
IsWordBorder ( ITextSource document, int offset ) : bool
Load ( TextEditor editor ) : void
Select ( string preset, ComboBox box ) : void
SetSyntax ( TextEditor editor, string ext ) : void

비공개 메소드들

메소드 설명
AvalonLoader ( ) : System

메소드 상세

GetWholeWord() 공개 정적인 메소드

public static GetWholeWord ( TextDocument document, TextEditor textEditor ) : string
document ICSharpCode.AvalonEdit.Document.TextDocument
textEditor TextEditor
리턴 string

GetWholeWordSegment() 공개 정적인 메소드

public static GetWholeWordSegment ( TextDocument document, TextEditor textEditor ) : ISegment
document ICSharpCode.AvalonEdit.Document.TextDocument
textEditor TextEditor
리턴 ISegment

IsWholeWord() 공개 정적인 메소드

public static IsWholeWord ( ITextSource document, int offsetStart, int offsetEnd ) : bool
document ITextSource
offsetStart int
offsetEnd int
리턴 bool

IsWordBorder() 공개 정적인 메소드

public static IsWordBorder ( ITextSource document, int offset ) : bool
document ITextSource
offset int
리턴 bool

Load() 공개 정적인 메소드

public static Load ( TextEditor editor ) : void
editor TextEditor
리턴 void

Select() 공개 정적인 메소드

public static Select ( string preset, ComboBox box ) : void
preset string
box System.Windows.Controls.ComboBox
리턴 void

SetSyntax() 공개 정적인 메소드

public static SetSyntax ( TextEditor editor, string ext ) : void
editor TextEditor
ext string
리턴 void