bool macromode() const { return macromode_; }
/// are we entering a macro name?
bool & macromode() { return macromode_; }
+
+ /// returns true when all insets in cursor stack are in cache
+ bool inCoordCache() const;
/// returns x,y position
void getPos(int & x, int & y) const;
/// return logical positions between which the cursor is situated
/// access to normalized selection anchor
CursorSlice normalAnchor() const;
- // FIXME: this can't be a const & and a const function because
- // LFUN_TAB_* wants to move the real anchor.
/// access to real selection anchor
- DocIterator & realAnchor();
+ DocIterator const & realAnchor() const { return anchor_; }
+ DocIterator & realAnchor() { return anchor_; }
/// sets anchor to cursor position
void resetAnchor();
/// access to owning BufferView