]> 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 0672c9ddd16800c320dbd5bb8ae36ea8bb9ca6f1..901d05522382c1a473b01d30f857b592a393c54d 100644 (file)
@@ -190,6 +190,8 @@ public:
        size_t const & inlineCompletionUniqueChars() const;
        /// return the position in the buffer of the inline completion postfix.
        DocIterator const & inlineCompletionPos() const;
+       /// make sure inline completion position is OK
+       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,
@@ -245,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();