- if (flag)
- return view()->text;
- return view()->getLyXText();
-}
-
-
-inline
-void LyXFunc::moveCursorUpdate(bool flag, bool selecting)
-{
- if (selecting || TEXT(flag)->selection.mark()) {
- TEXT(flag)->setSelection();
- if (!TEXT(flag)->isInInset())
- view()->repaint();
- }
- view()->update(TEXT(flag), BufferView::SELECT);
-