|
QCodeEdit 2.2
|
Classes | |
| struct | Match |
| struct | MatchList |
Public Member Functions | |
| int | maxMarksPerLine () const |
| bool | hasMarks () const |
| QDocumentIterator | begin () |
| QDocumentIterator | end () |
| QDocumentConstIterator | constBegin () const |
| QDocumentConstIterator | constEnd () const |
Friends | |
| class | QEditConfig |
| class | QDocument |
| class | QDocumentCommand |
| class | QDocumentLineHandle |
| class | QDocumentCursorHandle |
| QDocumentPrivate (QDocument *d) | |
| void | execute (QDocumentCommand *cmd) |
| void | draw (QPainter *p, QDocument::PaintContext &cxt) |
| QDocumentLineHandle * | lineForPosition (int &position) const |
| int | position (const QDocumentLineHandle *l) const |
| QDocumentLineHandle * | at (int line) const |
| int | indexOf (const QDocumentLineHandle *l) const |
| QDocumentIterator | index (const QDocumentLineHandle *l) |
| QDocumentConstIterator | index (const QDocumentLineHandle *l) const |
| QDocumentLineHandle * | next (const QDocumentLineHandle *l) const |
| QDocumentLineHandle * | previous (const QDocumentLineHandle *l) const |
| void | adjustWidth (int l) |
| void | setWidth () |
| void | setHeight () |
| void | beginChangeBlock () |
| void | endChangeBlock () |
| QList< int > | marks (QDocumentLineHandle *h) const |
| void | addMark (QDocumentLineHandle *h, int mid) |
| void | toggleMark (QDocumentLineHandle *h, int mid) |
| void | removeMark (QDocumentLineHandle *h, int mid) |
| int | findNextMark (int id, int from=0, int until=-1) |
| int | findPreviousMark (int id, int from=-1, int until=0) |
| int | getNextGroupId () |
| Acquire group id. | |
| void | releaseGroupId (int groupId) |
| Relase group id. | |
| void | clearMatches (int gid) |
| Clear matches. | |
| void | flushMatches (int gid) |
| void | addMatch (int gid, int line, int pos, int len, int format) |
| Highlight the matched sequences. | |
| void | emitFormatsChange (int line, int lines) |
| void | emitContentsChange (int line, int lines) |
| int | visualLine (int textLine) const |
| int | textLine (int visualLine, int *wrap=0) const |
| void | hideEvent (int line, int count) |
| void | showEvent (int line, int count) |
| void | setWidth (int width) |
| void | emitFormatsChanged () |
| void | emitContentsChanged () |
| void | emitLineDeleted (QDocumentLineHandle *h) |
| void | emitMarkChanged (QDocumentLineHandle *l, int m, bool on) |
| static void | setFont (const QFont &f) |
| void | updateHidden (int line, int count) |
| void | updateWrapped (int line, int count) |
| void | insertLines (int after, const QList< QDocumentLineHandle * > &l) |
| void | removeLines (int after, int n) |
| void | emitWidthChanged () |
| void | emitHeightChanged () |
| void | updateFormatCache () |
| void | setFormatScheme (QFormatScheme *f) |
| void | tunePainter (QPainter *p, int fid) |
| void QDocumentPrivate::addMatch | ( | int | groupId, |
| int | line, | ||
| int | pos, | ||
| int | len, | ||
| int | format | ||
| ) |
Highlight the matched sequences.
Referenced by QDocument::addMatch().
1.7.4