Kate
katerenderrange.cpp File Reference
#include "katerenderrange.h"
#include <limits.h>
#include "katesmartrange.h"
#include "katedynamicanimation.h"
Go to the source code of this file.
Functions | |
static int | lowerBound (const QList< KTextEditor::SmartRange * > &ranges, const KTextEditor::Cursor &pos) |
Function Documentation
static int lowerBound | ( | const QList< KTextEditor::SmartRange * > & | ranges, | |
const KTextEditor::Cursor & | pos | |||
) | [static] |
Returns the first index of a range that contains.
- Parameters:
-
pos,or the index of the first range that is behind pos(or ranges.count() if pos is behind all ranges) The list must be sorted by the ranges end-positions.
Definition at line 30 of file katerenderrange.cpp.