C# Class SobekCM.Library.Helpers.AceEditor.AceEditor

Class is used to write the HTML to allow users to edit content using the Ace editor library
This is primarily utilized for CSS and Javascript editing currently
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
AceEditor ( ) : System

Constructor for a new instance of the AceEditor class

AceEditor ( AceEditor_Mode Mode ) : System

Constructor for a new instance of the AceEditor class

Add_To_Stream ( TextWriter Output, string Contents ) : void

Add the Ace editor and all the necessary html/javascript to enable an Ace editor here on the page

Add_To_Stream ( TextWriter Output, string Contents, bool Include_Script_Reference ) : void

Add the Ace editor and all the necessary html/javascript to enable an Ace editor here on the page

Method Details

AceEditor() public method

Constructor for a new instance of the AceEditor class
public AceEditor ( ) : System
return System

AceEditor() public method

Constructor for a new instance of the AceEditor class
public AceEditor ( AceEditor_Mode Mode ) : System
Mode AceEditor_Mode Current mode for this editor ( i.e., CSS, Javascript, or HTML editing )
return System

Add_To_Stream() public method

Add the Ace editor and all the necessary html/javascript to enable an Ace editor here on the page
public Add_To_Stream ( TextWriter Output, string Contents ) : void
Output System.IO.TextWriter Writer to write to the stream
Contents string
return void

Add_To_Stream() public method

Add the Ace editor and all the necessary html/javascript to enable an Ace editor here on the page
public Add_To_Stream ( TextWriter Output, string Contents, bool Include_Script_Reference ) : void
Output System.IO.TextWriter Writer to write to the stream
Contents string
Include_Script_Reference bool Flag indicates if the Ace script reference should be /// added to the output stream here (might not if there are multiple AceEditor areas on the same page )
return void