Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Irony.GrammarExplorer.EditorViewAdapter Class Reference

Public Member Functions

 EditorViewAdapter (EditorAdapter adapter, IUIThreadInvoker invoker)
 
void SetViewRange (int min, int max)
 
void SetNewText (string newText)
 
void UpdateParsedSource (ParseTree newTree)
 
void TryInvokeColorize ()
 
bool TokensMatch (Token x, Token y, int shift)
 
TokenList ExtractTokensInRange (TokenList tokens, int from, int until)
 
TokenList GetTokensInRange (int from, int until)
 
TokenList GetTokensInRange (TokenList tokens, int from, int until)
 
int LocateToken (TokenList tokens, int position)
 

Public Attributes

readonly EditorAdapter Adapter
 

Properties

bool WantsColorize [get]
 

Events

EventHandler< ColorizeEventArgsColorizeTokens
 

Detailed Description

Definition at line 70 of file EditorViewAdapter.cs.

Constructor & Destructor Documentation

Irony.GrammarExplorer.EditorViewAdapter.EditorViewAdapter ( EditorAdapter  adapter,
IUIThreadInvoker  invoker 
)

Definition at line 80 of file EditorViewAdapter.cs.

Member Function Documentation

TokenList Irony.GrammarExplorer.EditorViewAdapter.ExtractTokensInRange ( TokenList  tokens,
int  from,
int  until 
)

Definition at line 180 of file EditorViewAdapter.cs.

TokenList Irony.GrammarExplorer.EditorViewAdapter.GetTokensInRange ( int  from,
int  until 
)
TokenList Irony.GrammarExplorer.EditorViewAdapter.GetTokensInRange ( TokenList  tokens,
int  from,
int  until 
)

Definition at line 196 of file EditorViewAdapter.cs.

int Irony.GrammarExplorer.EditorViewAdapter.LocateToken ( TokenList  tokens,
int  position 
)

Definition at line 209 of file EditorViewAdapter.cs.

void Irony.GrammarExplorer.EditorViewAdapter.SetNewText ( string  newText)

Definition at line 95 of file EditorViewAdapter.cs.

void Irony.GrammarExplorer.EditorViewAdapter.SetViewRange ( int  min,
int  max 
)

Definition at line 88 of file EditorViewAdapter.cs.

bool Irony.GrammarExplorer.EditorViewAdapter.TokensMatch ( Token  x,
Token  y,
int  shift 
)
void Irony.GrammarExplorer.EditorViewAdapter.TryInvokeColorize ( )

Definition at line 123 of file EditorViewAdapter.cs.

void Irony.GrammarExplorer.EditorViewAdapter.UpdateParsedSource ( ParseTree  newTree)

Definition at line 105 of file EditorViewAdapter.cs.

Member Data Documentation

readonly EditorAdapter Irony.GrammarExplorer.EditorViewAdapter.Adapter

Definition at line 71 of file EditorViewAdapter.cs.

Property Documentation

bool Irony.GrammarExplorer.EditorViewAdapter.WantsColorize
get

Definition at line 119 of file EditorViewAdapter.cs.

Event Documentation

EventHandler<ColorizeEventArgs> Irony.GrammarExplorer.EditorViewAdapter.ColorizeTokens

Definition at line 78 of file EditorViewAdapter.cs.


The documentation for this class was generated from the following file: