edbee - Qt Editor Library
|
The texteditor manager, It manages all singleton objects for the editor It performs the initialization and shutdown code for all editors. More...
#include <edbee.h>
Public Slots | |
void | init () |
initializes the engine on startup More... | |
void | shutdown () |
destroys the texteditor manager and all related class More... | |
void | autoShutDownOnAppExit () |
Call this method to automaticly shutdown the texteditor manager on shutdown (This method listens to the qApp::aboutToQuit signal. More... | |
Public Member Functions | |
void | setKeyMapPath (const QString &keyMapPath) |
sets the path where to find the keymap files More... | |
void | setGrammarPath (const QString &grammarPath) |
Sets the grammar path. More... | |
void | setThemePath (const QString &themePath) |
Setst the path where to find the theme files. More... | |
void | autoInit () |
This method automaticly initializes the edbee library it this hasn't already been done. More... | |
TextEditorKeyMap * | defaultKeyMap () |
returns the default editor keymap More... | |
TextEditorCommandMap * | defaultCommandMap () |
Returns the default editor command map. This is the default command map that's used by the editor components. More... | |
TextCodecManager * | codecManager () |
Returns the codec-manager for Edbee. More... | |
TextScopeManager * | scopeManager () |
Returns the scope manager. The scope manager is a general class to share scope names and identifiers between different editors. More... | |
TextGrammarManager * | grammarManager () |
Returns the grammar manager used by all editors The grammar manager is used for sharing the different grammar definitions between the different editors. More... | |
TextThemeManager * | themeManager () |
Returns the theme manager The theme manager is used to share themes between the different editors. More... | |
TextKeyMapManager * | keyMapManager () |
Returns the keymap manager. More... | |
DynamicVariables * | environmentVariables () |
Rreturns the dynamicvariables object. More... | |
Static Public Member Functions | |
static Edbee * | instance () |
The singleton instance getter. More... | |
Protected Attributes | |
bool | inited_ |
This method is set to true if the manager is inited. More... | |
QString | grammarPath_ |
The path were to load all grammars from. More... | |
QString | themePath_ |
The path to load all themes from. More... | |
QString | keyMapPath_ |
The path to load all keymaps. More... | |
TextEditorCommandMap * | defaultCommandMap_ |
The default command map. More... | |
TextCodecManager * | codecManager_ |
The text-editor codec manager. More... | |
TextScopeManager * | scopeManager_ |
The text-scope manager. More... | |
TextGrammarManager * | grammarManager_ |
The grammar manager. More... | |
TextThemeManager * | themeManager_ |
The text theme manager. More... | |
TextKeyMapManager * | keyMapManager_ |
The keymap manager. More... | |
DynamicVariables * | environmentVariables_ |
The (dynamic) environment variables. More... | |
The texteditor manager, It manages all singleton objects for the editor It performs the initialization and shutdown code for all editors.
void edbee::Edbee::autoInit | ( | ) |
This method automaticly initializes the edbee library it this hasn't already been done.
|
slot |
Call this method to automaticly shutdown the texteditor manager on shutdown (This method listens to the qApp::aboutToQuit signal.
TextCodecManager * edbee::Edbee::codecManager | ( | ) |
Returns the codec-manager for Edbee.
TextEditorCommandMap * edbee::Edbee::defaultCommandMap | ( | ) |
Returns the default editor command map. This is the default command map that's used by the editor components.
TextEditorKeyMap * edbee::Edbee::defaultKeyMap | ( | ) |
returns the default editor keymap
DynamicVariables * edbee::Edbee::environmentVariables | ( | ) |
Rreturns the dynamicvariables object.
TextGrammarManager * edbee::Edbee::grammarManager | ( | ) |
Returns the grammar manager used by all editors The grammar manager is used for sharing the different grammar definitions between the different editors.
|
slot |
initializes the engine on startup
|
static |
The singleton instance getter.
TextKeyMapManager * edbee::Edbee::keyMapManager | ( | ) |
Returns the keymap manager.
TextScopeManager * edbee::Edbee::scopeManager | ( | ) |
Returns the scope manager. The scope manager is a general class to share scope names and identifiers between different editors.
void edbee::Edbee::setGrammarPath | ( | const QString & | grammarPath | ) |
Sets the grammar path.
grammarPath | the path with the grammar files |
void edbee::Edbee::setKeyMapPath | ( | const QString & | keyMapPath | ) |
sets the path where to find the keymap files
keyMapPath | the path with keymap files |
void edbee::Edbee::setThemePath | ( | const QString & | themePath | ) |
Setst the path where to find the theme files.
themePath | the path to find the themes |
|
slot |
destroys the texteditor manager and all related class
TextThemeManager * edbee::Edbee::themeManager | ( | ) |
Returns the theme manager The theme manager is used to share themes between the different editors.
|
protected |
The text-editor codec manager.
|
protected |
The default command map.
|
protected |
The (dynamic) environment variables.
|
protected |
The grammar manager.
|
protected |
The path were to load all grammars from.
|
protected |
This method is set to true if the manager is inited.
|
protected |
The keymap manager.
|
protected |
The path to load all keymaps.
|
protected |
The text-scope manager.
|
protected |
The text theme manager.
|
protected |
The path to load all themes from.