]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
tex2lyx: add strike-outs etc. to the TeX testfile
[lyx.git] / src / BufferView.h
index c2ae8811d9d902a02ed6e6131b4c5b64c525809c..901d05522382c1a473b01d30f857b592a393c54d 100644 (file)
@@ -191,7 +191,7 @@ public:
        /// return the position in the buffer of the inline completion postfix.
        DocIterator const & inlineCompletionPos() const;
        /// make sure inline completion position is OK
-       bool fixInlineCompletionPos();
+       void resetInlineCompletionPos();
        /// set the inline completion postfix and its position in the buffer.
        /// Updates the updateFlags in \c cur.
        void setInlineCompletion(Cursor & cur, DocIterator const & pos,
@@ -247,6 +247,9 @@ public:
        void putSelectionAt(DocIterator const & cur,
                int length, bool backwards);
 
+       /// selects the item at cursor if its paragraph is empty.
+       bool selectIfEmpty(DocIterator & cur);
+
        /// update the internal \c ViewMetricsInfo.
        void updateMetrics();