20 #ifndef _KATE_LINERANGE_H_
21 #define _KATE_LINERANGE_H_
23 #include "katecursor.h"
29 virtual ~KateLineRange ();
33 inline bool includesCursor (
const KateTextCursor& realCursor)
const
35 return realCursor.line() == line && realCursor.col() >= startCol && (!wrap || realCursor.col() < endCol);
38 inline int xOffset ()
const
40 return startX ? shiftX : 0;
43 friend bool operator> (
const KateLineRange& r,
const KateTextCursor& c);
44 friend bool operator>= (
const KateLineRange& r,
const KateTextCursor& c);
45 friend bool operator< (
const KateLineRange& r,
const KateTextCursor& c);
46 friend bool operator<= (
const KateLineRange& r,
const KateTextCursor& c);
58 bool startsInvisibleBlock;
Simple cursor class with no document pointer.
TDEAction * clear(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name=0)