]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Allow automatic text direction in Painter::text()
[lyx.git] / src / lyxfind.h
index 6b53da5474829d2a8be41b042b058d84df32aff4..94efba865e43e6575dfc5943a42e3f424afc37f6 100644 (file)
@@ -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 {
@@ -96,7 +101,7 @@ public:
                SearchScope scope = S_BUFFER,
                SearchRestriction restr = R_EVERYTHING
        );
-       FindAndReplaceOptions() {  }
+       FindAndReplaceOptions() {}
        docstring find_buf_name;
        bool casesensitive;
        bool matchword;