edbee - Qt Editor Library
|
The scope manager is used to manage the scopes... A scope consist out of several scope-parts: More...
#include <textdocumentscopes.h>
Public Member Functions | |
TextScopeManager () | |
The scopemanager constructor. More... | |
virtual | ~TextScopeManager () |
The destructor of the scope manager. More... | |
void | reset () |
This method clears and delets all scopes. WARNING this destroys all registered text-scopes This method also registers the wildcard scope atom id. More... | |
TextScopeAtomId | wildcardId () |
returns the wildcard reference id More... | |
TextScopeAtomId | findOrRegisterScopeAtom (const QString &atom) |
This method registers the scope element. More... | |
TextScope * | refTextScope (const QString &scopeString) |
This method finds or creates a full-scope. More... | |
TextScope * | refEmptyScope () |
Returns the empty scope. More... | |
TextScopeList * | createTextScopeList (const QString &scopeListString) |
This method creates a text-scope list from the given scope string. More... | |
const QString & | atomName (TextScopeAtomId id) |
Returns the name of the given atom id. More... | |
The scope manager is used to manage the scopes... A scope consist out of several scope-parts:
scope-part1.scope-part2.scope-part3
These text are converted to a list of numbers 12.3.24
edbee::TextScopeManager::TextScopeManager | ( | ) |
The scopemanager constructor.
|
virtual |
The destructor of the scope manager.
const QString & edbee::TextScopeManager::atomName | ( | TextScopeAtomId | id | ) |
Returns the name of the given atom id.
TextScopeList * edbee::TextScopeManager::createTextScopeList | ( | const QString & | scopeListString | ) |
This method creates a text-scope list from the given scope string.
TextScopeAtomId edbee::TextScopeManager::findOrRegisterScopeAtom | ( | const QString & | atom | ) |
This method registers the scope element.
TextScope * edbee::TextScopeManager::refEmptyScope | ( | ) |
Returns the empty scope.
TextScope * edbee::TextScopeManager::refTextScope | ( | const QString & | scopeString | ) |
This method finds or creates a full-scope.
void edbee::TextScopeManager::reset | ( | ) |
This method clears and delets all scopes. WARNING this destroys all registered text-scopes This method also registers the wildcard scope atom id.
TextScopeAtomId edbee::TextScopeManager::wildcardId | ( | ) |
returns the wildcard reference id