- void setCursorFromCoordinates(LCursor & cur, int x, int y);
- ///
- InsetBase * editXY(LCursor & cur, int x, int y) const;
- ///
- void cursorUp(LCursor & cur);
- ///
- void cursorDown(LCursor & cur);
- ///
- void cursorLeft(LCursor & cur);
- ///
- void cursorRight(LCursor & cur);
+ InsetBase * editXY(LCursor & cur, int x, int y);
+ /// Move cursor one line up.
+ /**
+ * Returns true if an update is needed after the move.
+ */
+ bool cursorUp(LCursor & cur);
+ /// Move cursor one line down.
+ /**
+ * Returns true if an update is needed after the move.
+ */
+ bool cursorDown(LCursor & cur);
+ /// Move cursor one position left
+ /**
+ * Returns true if an update is needed after the move.
+ */
+ bool cursorLeft(LCursor & cur);
+ /// Move cursor one position right
+ /**
+ * Returns true if an update is needed after the move.
+ */
+ bool cursorRight(LCursor & cur);