C# Class AvalonStudio.Controls.EditorModel

Inheritance: IDisposable
Show file Open project: VitalElement/AvalonStudio Class Usage Examples

Public Properties

Property Type Description
_unsavedFiles List

Public Methods

Method Description
Dispose ( ) : void
DoCompletionRequestAsync ( int line, int column ) : Task
EditorModel ( ) : System
OnBeforeTextChanged ( object param ) : void
OnTextChanged ( object param ) : void
OpenFile ( ISourceFile file, IIntellisenseControl intellisense, ICompletionAssistant completionAssistant ) : void
RegisterLanguageService ( IIntellisenseControl intellisenseControl, ICompletionAssistant completionAssistant ) : void
Save ( ) : void
ScrollToLine ( int line ) : void
ShutdownBackgroundWorkers ( ) : void
TriggerCodeAnalysis ( ) : void

Write lock must be held before calling this.

UnRegisterLanguageService ( ) : void

Private Methods

Method Description
DoCodeAnalysisAsync ( ) : Task
StartBackgroundWorkers ( ) : void
TextDocument_TextChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DoCompletionRequestAsync() public method

public DoCompletionRequestAsync ( int line, int column ) : Task
line int
column int
return Task

EditorModel() public method

public EditorModel ( ) : System
return System

OnBeforeTextChanged() public method

public OnBeforeTextChanged ( object param ) : void
param object
return void

OnTextChanged() public method

public OnTextChanged ( object param ) : void
param object
return void

OpenFile() public method

public OpenFile ( ISourceFile file, IIntellisenseControl intellisense, ICompletionAssistant completionAssistant ) : void
file ISourceFile
intellisense IIntellisenseControl
completionAssistant ICompletionAssistant
return void

RegisterLanguageService() public method

public RegisterLanguageService ( IIntellisenseControl intellisenseControl, ICompletionAssistant completionAssistant ) : void
intellisenseControl IIntellisenseControl
completionAssistant ICompletionAssistant
return void

Save() public method

public Save ( ) : void
return void

ScrollToLine() public method

public ScrollToLine ( int line ) : void
line int
return void

ShutdownBackgroundWorkers() public method

public ShutdownBackgroundWorkers ( ) : void
return void

TriggerCodeAnalysis() public method

Write lock must be held before calling this.
public TriggerCodeAnalysis ( ) : void
return void

UnRegisterLanguageService() public method

public UnRegisterLanguageService ( ) : void
return void

Property Details

_unsavedFiles public static property

public static List _unsavedFiles
return List