C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AceEditor() публичный Метод

Constructor for a new instance of the AceEditor class
public AceEditor ( ) : System
Результат System

AceEditor() публичный Метод

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 )
Результат System

Add_To_Stream() публичный Метод

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
Результат void

Add_To_Stream() публичный Метод

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 )
Результат void