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
Afficher le fichier Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Constructor for a new instance of the AceEditor class
public AceEditor ( ) : System
Résultat System

AceEditor() public méthode

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 )
Résultat System

Add_To_Stream() public méthode

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
Résultat void

Add_To_Stream() public méthode

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 )
Résultat void