khtml::EditableCaretBoxIterator Class Reference
Iterates over the editable inner elements of a caret line box. More...
#include <khtml_caret_p.h>
Inheritance diagram for khtml::EditableCaretBoxIterator:

Public Member Functions | |
EditableCaretBoxIterator (LineIterator &lit, bool fromEnd=false, CaretBoxIterator *it=0) | |
EditableCaretBoxIterator () | |
bool | isAdjacent () const |
EditableCaretBoxIterator & | operator++ () |
EditableCaretBoxIterator & | operator-- () |
void | advance (bool toBegin) |
Protected Member Functions | |
bool | isEditable (const CaretBoxIterator &boxit, bool fromEnd) |
Detailed Description
Iterates over the editable inner elements of a caret line box.
The incrementor will traverse all caret boxes according to the associated linear document's caret advance policy. In contrast to CaretBoxIterator
this iterator only regards caret boxes which are editable.
- Author:
- Leo Savernik
Definition at line 754 of file khtml_caret_p.h.
Constructor & Destructor Documentation
|
initializes a new iterator from the given line iterator, beginning with the given caret box iterator, if specified
Definition at line 763 of file khtml_caret_p.h. |
|
empty constructor. Use only to copy another iterator into this one. Definition at line 776 of file khtml_caret_p.h. |
Member Function Documentation
|
returns e. no intervening caret boxes. Definition at line 781 of file khtml_caret_p.h. |
|
increments the iterator to point to the next editable caret box.
Reimplemented from khtml::CaretBoxIterator. Definition at line 785 of file khtml_caret_p.h. References advance(). |
|
decrements the iterator to point to the previous editable caret box.
Reimplemented from khtml::CaretBoxIterator. Definition at line 789 of file khtml_caret_p.h. References advance(). |
|
advances to the editable caret box to come
Definition at line 1501 of file khtml_caret.cpp. References khtml::CaretBox::inlineBox(), isEditable(), khtml::CaretBox::isInline(), khtml::CaretBox::isOutside(), khtml::CaretBox::isOutsideEnd(), k_funcinfo, and kdDebug(). Referenced by operator++(), and operator--(). |
|
finds out if the given box is editable.
Definition at line 1638 of file khtml_caret.cpp. References KHTMLPart::isCaretMode(), KHTMLPart::isEditable(), khtml::CaretBox::isOutside(), khtml::CaretBox::isOutsideEnd(), kdDebug(), and khtml::CaretBox::object(). Referenced by advance(). |
The documentation for this class was generated from the following files: