ExtendedTextArea Class |
Namespace: CMS.Base.Web.UI
public class ExtendedTextArea : CMSTextArea
The ExtendedTextArea type exposes the following members.
Name | Description | |
---|---|---|
ExtendedTextArea |
Initializes a new instance of ExtendedTextArea class.
|
Name | Description | |
---|---|---|
CODEMIRROR_BASE_PATH |
Path to the directory that holds CodeMirror files (CSS and JS).
|
Name | Description | |
---|---|---|
AllowFullscreen |
Determines if full screen mode is enabled
| |
AutoSize |
Gets or sets whether the editor should resize automatically when the containing window resizes.
| |
BraceMatching |
Gets or sets if braces should be automatically matched (highlights open and closing brace).
| |
Count |
Gets or sets the number of bookmarks.
| |
DynamicBookmarks |
Gets or sets if the bookmarks are refreshed dynamically during editing.
| |
DynamicHeight |
Gets or sets whether the height of the editor should be resized to fit its content dynamically.
| |
EditorID |
Gets the client ID of the syntax highlight editor object used by this control.
| |
EditorMode |
Gets or sets the text editing capabilities of this editor.
| |
EnableAutoComplete |
Gets or sets whether autocomplete is enabled.
(Inherited from CMSTextBox.) | |
EnableFocus |
Gets or sets whether the focus is enabled.
(Inherited from CMSTextArea.) | |
EnablePositionMember |
Gets or sets whether the position member is enabled.
| |
EnableSections |
Gets or sets whether the bookmarks are enabled.
| |
EnableTabKey |
Indicates if Tab key adds '\t' into the text. Default value is true.
| |
FullScreenParentElementID |
Gets or sets element's ID, which height and top position will be used in fullscreen mode.
| |
HighlightingEnabled |
Gets or sets if the highlighting is turned on or off.
| |
HighlightMacros |
Determines if macros should be highlighted.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSTextBox.) | |
IsMacroMixedMode |
Indicates whether the editor is in pure macro editing mode (whole text is considered as macro) or mixed mode, where auto completion is fired only inside {%%} environment.
This setting will influence the Insert Macro functionality when in mixed mode the brackets are inserted, whereas in the pure macro mode, the macro is inserted without brackets.
| |
Language |
Gets or sets the programming language that should be highlighted.
| |
LineNumber |
Gets or sets the total number of lines.
| |
Lines |
Gets or sets the collection of bookmark line numbers.
| |
MacroDelimiter |
Gets or sets the macro delimiter used.
| |
MaintainScrollPositionOnPostback |
Gets or sets whether the scroll position is maintained between postbacks.
(Inherited from CMSTextArea.) | |
MarkErrors |
Gets or sets whether syntactic errors should be marked in code.
| |
Names |
Gets or sets the collection of bookmark names.
| |
ParentElementID |
Gets or sets element's ID, which height will be used in autosize computing.
| |
PositionMarker |
Gets the name of the hidden field that carries a scroll position.
(Inherited from CMSTextArea.) | |
ProcessMacroSecurity |
Indicates if security parameters in macros are handled automatically.
(Inherited from CMSTextBox.) | |
RegularExpression |
Gets or sets the regular expression which is used to detect bookmarks.
| |
ResolverName |
Gets or sets the resolver which will be used in the Insert macro dialog (if allowed with ShowInsertMacro).
| |
ScrollPosition |
Gets the scroll position to use on postback.
(Inherited from CMSTextArea.) | |
ShowBookmarks |
Gets or sets if the bookmarks panel is shown in the code editor.
| |
ShowInsertMacro |
Determines whether the button "Insert macro" is visible.
| |
ShowLineNumbers |
Gets or sets if the line numbers are displayed.
| |
ShowToolbar |
Gets or sets if the toolbar is shown in the code editor.
| |
SingleLineMode |
Determines whether the editor is in single line mode (i.e. only one line of text can be edited).
| |
SyntaxHighlightingEnabled |
Gets if syntax highlighting is enabled for this control.
| |
TabKey |
Gets or sets the key to use in tab.
| |
Text |
Gets or sets the text content of the System.Web.UI.WebControls.TextBox control.
If ProcessMacroSecurity is true, macro security parameters are processed.
(Inherited from CMSTextBox.) | |
TextMode |
Gets or sets the behaviour mode (single-line, multiline, or password) of this editor control.
Only TextBoxMode.MultiLine is supported
(Overrides TextBoxTextMode.) | |
UseSmallFonts |
If true, Editor is set to use small fonts (CodeMirror/css/smallfont.css class is included).
| |
ValueIsMacro |
If true, the value is processed as a macro (signed as a whole)
(Inherited from CMSTextBox.) | |
WatermarkCssClass |
The CSS class to apply to the TextBox when it has no value (e.g. the watermark text is shown).
(Inherited from CMSTextBox.) | |
WatermarkText |
The text to show when the control has no value.
(Inherited from CMSTextBox.) | |
Wrap |
Gets or sets a value indicating whether the text content wraps.
(Inherited from CMSTextArea.) |
Name | Description | |
---|---|---|
ExtractBookmarks |
Retrieves bookmarks from the editor text and stores them in the hashtables.
| |
GetPreformattedBookmarks |
Preparses the bookmarks retrieved from the text.
| |
GetScrollPositionValue |
Gets the scroll position value
(Overrides CMSTextAreaGetScrollPositionValue.) | |
GetValueGetterCommand |
Return command which gets value of editor (handles case when SyntaxHighlighting is disabled).
| |
GetValueSetterCommand |
Return command which sets given value (general JS command) to the editor (handles case when SyntaxHighlighting is disabled).
| |
LoadSignatures |
Loads extra signatures from the text.
(Inherited from CMSTextBox.) | |
OnInit |
Initializes control
(Inherited from CMSTextBox.) | |
OnLoad |
Retrieves scroll position markers from hidden fields.
(Overrides CMSTextAreaOnLoad(EventArgs).) | |
OnPreRender |
Registers client script for generating postback events prior to rendering on the client, if AutPostBack is true.
(Overrides CMSTextAreaOnPreRender(EventArgs).) | |
RegisterPosition |
Registers the position marker.
(Inherited from CMSTextArea.) | |
Render |
Renders the ExtendedTextArea control to the specified HtmlTextWriter object.
(Overrides CMSTextBoxRender(HtmlTextWriter).) | |
SetPosition |
Explicitly sets the editor position
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |