]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Fix a crash when closing tabs
[lyx.git] / src / BufferView.h
index ca7b20bd33aef56ef353717a05ff795a25c6d512..830c2d738d1d3d52e2b411839b279a3df8b2f420 100644 (file)
@@ -26,7 +26,7 @@ namespace lyx {
 
 namespace support { class FileName; }
 
-namespace frontend { class CaretGeometry; }
+namespace frontend { struct CaretGeometry; }
 namespace frontend { class Painter; }
 namespace frontend { class GuiBufferViewDelegate; }
 
@@ -109,6 +109,9 @@ public:
        /// bottom margin
        int bottomMargin() const;
 
+       docstring const & searchRequestCache() const;
+       void setSearchRequestCache(docstring const & text);
+
        /// return the on-screen size of this length
        /*
         *  This is a wrapper around Length::inPixels that uses the