]> git.lyx.org Git - features.git/blobdiff - src/lyxtext.h
fix insertion of raw double quote, reading of Info inset, initial width of collapsed...
[features.git] / src / lyxtext.h
index e6d29ca8f430c534b8e3505b892033e86ef3ee26..87d6b78c4b69127129341faf36ee4f9ce8bfca03 100644 (file)
@@ -268,9 +268,10 @@ public:
        string const selectionAsString(Buffer const *) const;
        
        /// select the word we need depending on word_location
-       void getWord(LyXCursor & from, LyXCursor & to, word_location) const;
+       void getWord(LyXCursor & from, LyXCursor & to, 
+                    word_location const) const;
        /// just selects the word the cursor is in
-       void selectWord(BufferView *);
+       void selectWord(BufferView *, word_location const = WHOLE_WORD);
        /// returns the inset at cursor (if it exists), 0 otherwise
        Inset * getInset() const;
 
@@ -351,7 +352,8 @@ public:
        ///
        void deleteLineForward(BufferView *);
        ///
-       bool selectWordWhenUnderCursor(BufferView *);
+       bool selectWordWhenUnderCursor(BufferView *, 
+                                      word_location const = WHOLE_WORD);
        ///
        enum TextCase {
                ///