X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursor.h;h=719a2cbd4f8138e49259badd6abd6ac065cb22ce;hb=9ef7efd85a09edcca640f4f0fafbeb05548c5c99;hp=3464a54a233885f0b991e8e4ae862ecdfe4f3d01;hpb=0e14f379f367e4d3f5f8263185e0903424a746e7;p=lyx.git diff --git a/src/Cursor.h b/src/Cursor.h index 3464a54a23..719a2cbd4f 100644 --- a/src/Cursor.h +++ b/src/Cursor.h @@ -228,8 +228,14 @@ public: void undispatched(); /// the event was already dispatched void dispatched(); - /// Set which update should be done + /// Set which screen update should be done void screenUpdateFlags(Update::flags f); + /// Forces an updateBuffer() call + void forceBufferUpdate(); + /// Removes any pending updateBuffer() call + void clearBufferUpdate(); + /// Do we need to call updateBuffer()? + bool needBufferUpdate() const; /** * don't call update() when done *