#include "mathed/MathParser_flags.h"
-#include <vector>
-
namespace lyx {
protected:
/// the anchor position
DocIterator anchor_;
- /// the start of the new born word
- DocIterator new_word_;
///
mutable DispatchResult disp_;
/// do we have a selection?
CursorSlice selEnd() const;
/// access start of selection
DocIterator selectionBegin() const;
- /// access start of selection
+ /// access end of selection
DocIterator selectionEnd() const;
/**
* Update the selection status and save permanent
* Not using noScreenUpdate() should never be wrong.
*/
void noScreenUpdate() const;
- ///
- Update::flags screenUpdate() const { return disp_.screenUpdate(); }
/// fix cursor in circumstances that should never happen.
/// \retval true if a fix occured.
bool fixIfBroken();
int x_target_;
/// if a x_target cannot be hit exactly in a text, put the difference here
int textTargetOffset_;
+ /// the start of the new born word
+ DocIterator new_word_;
/// position before dispatch started
DocIterator beforeDispatchCursor_;
/// cursor screen coordinates before dispatch started