bool operator<=(const KateLineRange &r, const KateTextCursor &c) { return r.line < c.line() || r.startCol <= c.col(); }
void KateSearch::exposeFound( KateTextCursor &cursor, int slen ) { view()->setCursorPositionInternal ( cursor.line(), cursor.col() + slen, 1 ); view()->setSelection( cursor.line(), cursor.col(), cursor.line(), cursor.col() + slen ); view()->syncSelectionCache(); }
bool operator>=(const KateLineRange &r, const KateTextCursor &c) { return r.line > c.line() || r.endCol >= c.col(); }