X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.h;h=94efba865e43e6575dfc5943a42e3f424afc37f6;hb=88609b3984073157270a5d935e4a8bf8012135a6;hp=31f81e8b71b56b8bf79e544b76c543f9d8f66e6c;hpb=065db6806771190d12d37d64c4c86f9c5ebaf225;p=lyx.git diff --git a/src/lyxfind.h b/src/lyxfind.h index 31f81e8b71..94efba865e 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -26,6 +26,7 @@ namespace lyx { class Buffer; +class Cursor; class BufferView; class DocIterator; class FuncRequest; @@ -72,6 +73,10 @@ bool findNextChange(BufferView * bv); /// find the previous change in the buffer bool findPreviousChange(BufferView * bv); +/// select change under the cursor +bool selectChange(Cursor & cur, bool forward = true); + + class FindAndReplaceOptions { public: typedef enum {