This class defines a full text-scope. A full textscope is textscope with one ore more scoped-elements.
More...
#include <textdocumentscopes.h>
This class defines a full text-scope. A full textscope is textscope with one ore more scoped-elements.
◆ atomAt()
This method returns the atom at the given index.
◆ atomCount()
int edbee::TextScope::atomCount |
( |
| ) |
|
returns the number of atom items
◆ name()
const QString edbee::TextScope::name |
( |
| ) |
|
This method returns the name of this scope.
◆ rindexOf()
int edbee::TextScope::rindexOf |
( |
TextScope * |
scope | ) |
|
This method returns the 'index' of the given full-scope. This is a kind of substring search.
- wildcard atoms will always match
- Parameters
-
- Returns
- -1 if not found else the index where the scope is found
◆ startsWith()
bool edbee::TextScope::startsWith |
( |
TextScope * |
scope | ) |
|
Checks if the current scope starts with the given scope wild-card atoms will always match.
- Parameters
-
◆ TextScopeManager
The documentation for this class was generated from the following files: