KHTML
khtml_caret.cpp File Reference
#include "khtml_caret_p.h"
#include "html/html_documentimpl.h"
Include dependency graph for khtml_caret.cpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | khtml |
Defines | |
#define | DEBUG_ACIB DEBUG_CARETMODE |
Enumerations | |
enum | khtml::ObjectAdvanceState { khtml::LeftObject = 0x01, khtml::AdvancedToSibling = 0x02, khtml::EnteredObject = 0x04 } |
enum | khtml::ObjectTraversalState { khtml::OutsideDescending, khtml::InsideDescending, khtml::InsideAscending, khtml::OutsideAscending } |
Functions | |
static RenderObject * | khtml::advanceObject (RenderObject *r, ObjectTraversalState &trav, bool toBegin, RenderObject *base, int &state) |
static RenderObject * | khtml::advanceSuitableObject (RenderObject *r, ObjectTraversalState &trav, bool toBegin, RenderObject *base, int &state) |
static RenderObject * | khtml::commonAncestorTableSectionOrCell (RenderObject *r1, RenderObject *r2) |
static RenderTableCell * | khtml::containingTableCell (RenderObject *r) |
static bool | khtml::containsEditableChildElement (KHTMLPart *part, RenderBlock *cb, RenderTable *&table, bool fromEnd, RenderObject *start) |
static bool | khtml::containsEditableElement (KHTMLPart *part, RenderBlock *cb, RenderTable *&table, bool fromEnd=false) |
static ElementImpl * | khtml::determineBaseElement (NodeImpl *caretNode) |
static void | khtml::ensureLeafNode (NodeImpl *&node, NodeImpl *base) |
static CaretBoxLine * | khtml::findCaretBoxLine (DOM::NodeImpl *node, long offset, CaretBoxLineDeleter *cblDeleter, RenderObject *base, long &r_ofs, CaretBoxIterator &caretBoxIt) |
static RenderTable * | khtml::findFirstDescendantTable (RenderObject *leaf, RenderBlock *block) |
static RenderTableCell * | khtml::findNearestTableCell (KHTMLPart *part, int x, TableRowIterator &it, bool fromEnd) |
static RenderTableCell * | khtml::findNearestTableCellInRow (KHTMLPart *part, int x, RenderTableSection::RowStruct *row, bool fromEnd) |
static RenderObject * | khtml::findRenderer (NodeImpl *&node, long offset, RenderObject *base, long &r_ofs, bool &outside, bool &outsideEnd) |
static int | khtml::findRowInSection (RenderTableSection *section, RenderTableCell *cell, RenderTableSection::RowStruct *&row, RenderTableCell *&directCell) |
static RenderTable * | khtml::findTableUpTo (RenderObject *r, RenderFlow *cb) |
bool | khtml::isBlockRenderReplaced (RenderObject *r) |
static bool | khtml::isCaretBoxEmpty (CaretBox *box) |
static bool | khtml::isDescendant (RenderObject *r, RenderObject *cb) |
static bool | khtml::isIndicatedFlow (RenderObject *r) |
static bool | khtml::isIndicatedInlineBox (InlineBox *box) |
static bool | khtml::isUnsuitable (RenderObject *r, ObjectTraversalState trav) |
void | khtml::mapDOMPosToRenderPos (NodeImpl *node, long offset, RenderObject *&r, long &r_ofs, bool &outside, bool &outsideEnd) |
void | khtml::mapRenderPosToDOMPos (RenderObject *r, long r_ofs, bool outside, bool outsideEnd, NodeImpl *&node, long &offset) |
static void | khtml::mapRenderPosToTraversalState (bool outside, bool atEnd, bool toBegin, ObjectTraversalState &trav) |
static void | khtml::mapTraversalStateToRenderPos (ObjectTraversalState trav, bool toBegin, bool &outside, bool &atEnd) |
static void | khtml::moveIteratorByPage (LinearDocument &ld, ErgonomicEditableLineIterator &it, int mindist, bool next) |
static void | khtml::moveItToNextWord (EditableCharacterIterator &it) |
static void | khtml::moveItToPrevWord (EditableCharacterIterator &it) |
static CaretBox * | khtml::nearestCaretBox (LineIterator &it, CaretViewContext *cv, int &x, int &absx, int &absy) |
static NodeImpl * | khtml::nextLeafNode (NodeImpl *r, NodeImpl *baseElem) |
static RenderObject * | khtml::renderObjectAbove (RenderObject *obj, ObjectTraversalState &trav, RenderObject *base) |
static RenderObject * | khtml::renderObjectBelow (RenderObject *obj, ObjectTraversalState &trav, RenderObject *base) |
InlineFlowBox * | khtml::seekBaseFlowBox (InlineBox *b, RenderObject *base=0) |
static RenderObject * | khtml::traverseRenderObjects (RenderObject *obj, ObjectTraversalState &trav, bool toBegin, RenderObject *base, int &state) |
Define Documentation
#define DEBUG_ACIB DEBUG_CARETMODE |
Definition at line 662 of file khtml_caret.cpp.