]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
tex2lyx: add strike-outs etc. to the TeX testfile
[lyx.git] / src / Cursor.cpp
index 22b75b5a2613fd67c940db5a42af6f5edbc91fb6..b20e981b32c506cab09c2e7cc34e1989bc0a55b9 100644 (file)
@@ -518,14 +518,14 @@ void Cursor::setCursorToAnchor()
 }
 
 
-void Cursor::markEditPosition()
+void Cursor::markNewWordPosition()
 {
        if (lyxrc.spellcheck_continuously && inTexted() && new_word_.empty()) {
-               FontSpan ow = locateWord(WHOLE_WORD);
-               if (ow.size() == 1) {
+               FontSpan nw = locateWord(WHOLE_WORD);
+               if (nw.size() == 1) {
                        LYXERR(Debug::DEBUG, "start new word: "
                                << " par: " << pit()
-                               << " pos: " << ow.first);
+                               << " pos: " << nw.first);
                        new_word_ = *this;
                }
        }