]> 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 1880a583692158c7408593b70559b57cb8471e50..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();
 
@@ -311,6 +316,8 @@ public:
        void editInset(std::string const & name, Inset * inset);
        ///
        void clearLastInset(Inset * inset) const;
+       /// Is the mouse hovering a clickable inset or element?
+       bool clickableInset() const;
 
 private:
        /// noncopyable