C# Class AGS.Plugin.Lua.LuaScriptEditPane

Inheritance: AGS.Types.EditorContentPanel
Datei anzeigen Open project: duncanc/Lua-for-AGS

Public Properties

Property Type Description
ScriptInfo LuaScriptFileInfo
contentDocument AGS.Types.ContentDocument

Public Methods

Method Description
DoBraceMatching ( ) : void
GetText ( ) : string
LuaScriptEditPane ( LuaForAGSEditorComponent parentComponent, IAGSEditor owningEditor, LuaScriptFileInfo scriptInfo ) : System
Save ( ) : void
Scintilla_CharAdded ( object sender, ScintillaNet.CharAddedEventArgs e ) : void
Scintilla_UpdateUI ( object sender, ScintillaNet.NativeScintillaEventArgs e ) : void
SetText ( string txt ) : void
VerifySyntax ( ) : void

Protected Methods

Method Description
OnCommandClick ( string command ) : void

Private Methods

Method Description
CommentBraceCheck ( int pos ) : bool
LuaPane_Enter ( object sender, EventArgs e ) : void
NonCommentBraceCheck ( int pos ) : bool
ShowAutoComplete ( int charsTyped, string autoCompleteList ) : void

Method Details

DoBraceMatching() public method

public DoBraceMatching ( ) : void
return void

GetText() public method

public GetText ( ) : string
return string

LuaScriptEditPane() public method

public LuaScriptEditPane ( LuaForAGSEditorComponent parentComponent, IAGSEditor owningEditor, LuaScriptFileInfo scriptInfo ) : System
parentComponent LuaForAGSEditorComponent
owningEditor IAGSEditor
scriptInfo LuaScriptFileInfo
return System

OnCommandClick() protected method

protected OnCommandClick ( string command ) : void
command string
return void

Save() public method

public Save ( ) : void
return void

Scintilla_CharAdded() public method

public Scintilla_CharAdded ( object sender, ScintillaNet.CharAddedEventArgs e ) : void
sender object
e ScintillaNet.CharAddedEventArgs
return void

Scintilla_UpdateUI() public method

public Scintilla_UpdateUI ( object sender, ScintillaNet.NativeScintillaEventArgs e ) : void
sender object
e ScintillaNet.NativeScintillaEventArgs
return void

SetText() public method

public SetText ( string txt ) : void
txt string
return void

VerifySyntax() public method

public VerifySyntax ( ) : void
return void

Property Details

ScriptInfo public_oe property

public LuaScriptFileInfo ScriptInfo
return LuaScriptFileInfo

contentDocument public_oe property

public ContentDocument,AGS.Types contentDocument
return AGS.Types.ContentDocument