X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcursor.h;h=46f1834f191df2957166ab25954d133c28701eee;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=1f22fc07d9edd152746e4d41ac3ecb31dec67d80;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/cursor.h b/src/cursor.h index 1f22fc07d9..46f1834f19 100644 --- a/src/cursor.h +++ b/src/cursor.h @@ -86,7 +86,7 @@ public: /// access start of selection DocIterator selectionEnd() const; /// - void selHandle(bool selecting); + bool selHandle(bool selecting); // docstring selectionAsString(bool label) const; /// @@ -158,8 +158,8 @@ public: void undispatched(); /// the event was already dispatched void dispatched(); - /// call update() when done - void needsUpdate(); + /// Set which update should be done + void updateFlags(Update::flags f); /** * don't call update() when done * @@ -289,7 +289,7 @@ public: /// display an error message void errorMessage(docstring const & msg) const; /// - std::string getPossibleLabel(); + docstring getPossibleLabel(); /// moves position somehow up or down bool goUpDown(bool up);