C# Class Editor4ArtOfWords.Model.AvalonEditorViewModel

Inheritance: IEditor, INotifyPropertyChanged
Afficher le fichier Open project: kienaiProject/ArtOfWords Class Usage Examples

Méthodes publiques

Méthode Description
AvalonEditorViewModel ( ) : System
Cut ( ) : void
FindWord ( string word ) : int
Focus ( ) : void
GetControl ( ) : Control
GetHeadIndexOfVisibleText ( ) : int
GetIndexFromPosition ( Point point ) : int
GetLineIndexFromCharacterIndex ( int index ) : int
GetRectByCharIndex ( int headIndex, int tailIndex ) : List
GetRectByCharIndex ( int index ) : Rect
GetTailIndexOfLineByIndex ( int index ) : int
GetTailIndexOfVisibleText ( ) : int
GetText ( ) : string
LineDown ( ) : void
LineUp ( ) : void
OnModeChanged ( ) : void
OnPropertyChanged ( string name ) : void
OnScrollOffsetChanged ( ) : void
OnTextChanged ( OffsetChangeMap map ) : void
OnTextSearchOccured ( String initWord ) : void
OnWindowActivated ( ) : void
Paste ( ) : void
ResetFocus ( ) : void
Select ( int head, int tail ) : void
SetText ( string text ) : void
SetTextStyle ( TextStyle style ) : void

Method Details

AvalonEditorViewModel() public méthode

public AvalonEditorViewModel ( ) : System
Résultat System

Cut() public méthode

public Cut ( ) : void
Résultat void

FindWord() public méthode

public FindWord ( string word ) : int
word string
Résultat int

Focus() public méthode

public Focus ( ) : void
Résultat void

GetControl() public méthode

public GetControl ( ) : Control
Résultat System.Windows.Controls.Control

GetHeadIndexOfVisibleText() public méthode

public GetHeadIndexOfVisibleText ( ) : int
Résultat int

GetIndexFromPosition() public méthode

public GetIndexFromPosition ( Point point ) : int
point Point
Résultat int

GetLineIndexFromCharacterIndex() public méthode

public GetLineIndexFromCharacterIndex ( int index ) : int
index int
Résultat int

GetRectByCharIndex() public méthode

public GetRectByCharIndex ( int headIndex, int tailIndex ) : List
headIndex int
tailIndex int
Résultat List

GetRectByCharIndex() public méthode

public GetRectByCharIndex ( int index ) : Rect
index int
Résultat System.Windows.Rect

GetTailIndexOfLineByIndex() public méthode

public GetTailIndexOfLineByIndex ( int index ) : int
index int
Résultat int

GetTailIndexOfVisibleText() public méthode

public GetTailIndexOfVisibleText ( ) : int
Résultat int

GetText() public méthode

public GetText ( ) : string
Résultat string

LineDown() public méthode

public LineDown ( ) : void
Résultat void

LineUp() public méthode

public LineUp ( ) : void
Résultat void

OnModeChanged() public méthode

public OnModeChanged ( ) : void
Résultat void

OnPropertyChanged() public méthode

public OnPropertyChanged ( string name ) : void
name string
Résultat void

OnScrollOffsetChanged() public méthode

public OnScrollOffsetChanged ( ) : void
Résultat void

OnTextChanged() public méthode

public OnTextChanged ( OffsetChangeMap map ) : void
map OffsetChangeMap
Résultat void

OnTextSearchOccured() public méthode

public OnTextSearchOccured ( String initWord ) : void
initWord String
Résultat void

OnWindowActivated() public méthode

public OnWindowActivated ( ) : void
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

ResetFocus() public méthode

public ResetFocus ( ) : void
Résultat void

Select() public méthode

public Select ( int head, int tail ) : void
head int
tail int
Résultat void

SetText() public méthode

public SetText ( string text ) : void
text string
Résultat void

SetTextStyle() public méthode

public SetTextStyle ( TextStyle style ) : void
style ModernizedAlice.IPlugin.ModuleInterface.TextStyle
Résultat void