Пример #1
0
bool operator<=(const KateLineRange &r, const KateTextCursor &c)
{
    return r.line < c.line() || r.startCol <= c.col();
}
Пример #2
0
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();
}
Пример #3
0
bool operator>=(const KateLineRange &r, const KateTextCursor &c)
{
    return r.line > c.line() || r.endCol >= c.col();
}