Enhanced C#
Language of your choice: library documentation
Nested classes | Properties | Public Member Functions | Protected Member Functions | List of all members
TextEditor.LempDemoPanel Class Reference

Source files:
Inheritance diagram for TextEditor.LempDemoPanel:

Properties

TextEditorControl Editor [get]
 
TextEditorControl OutEditor [get]
 
TextEditorControl FocusedEditor [get]
 
ITextEditorProperties EditorSettings [get, set]
 This variable holds the editor settings (whether to show line numbers, etc.) that all editor controls share. More...
 

Public Member Functions

 LempDemoPanel (ITextEditorProperties editorSettings)
 
void ShowOutput (string text)
 
void InvokeIfRequired< T > (Action< T > action, T value)
 
bool IsModified ()
 Gets whether the file in the specified editor is modified. More...
 
void SetModifiedFlag (bool flag)
 
void LoadFile (string fn)
 
bool SaveOutput ()
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Member Function Documentation

override void TextEditor.LempDemoPanel.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
bool TextEditor.LempDemoPanel.IsModified ( )
inline

Gets whether the file in the specified editor is modified.

TextEditorControl doesn't maintain its own internal modified flag, so we use the '*' shown after the file name to represent the modified state.

Property Documentation

ITextEditorProperties TextEditor.LempDemoPanel.EditorSettings
getset

This variable holds the editor settings (whether to show line numbers, etc.) that all editor controls share.