]> git.lyx.org Git - lyx.git/blobdiff - src/support/types.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / support / types.h
index 9ee9800d3f40b71c511ba016d1d63c17ff6eb37b..c7711d87b82a4dc15631091747c042ffd51aecd6 100644 (file)
@@ -70,6 +70,21 @@ namespace lyx
 
 #endif
 
+       ///
+       enum word_location {
+               // the word around the cursor, only if the cursor is
+               //not at a boundary
+               WHOLE_WORD_STRICT,
+               // the word around the cursor
+               WHOLE_WORD,
+               /// the word begining from the cursor position
+               PARTIAL_WORD,
+               /// the word around the cursor or before the cursor
+               PREVIOUS_WORD,
+               /// the next word (not yet used)
+               NEXT_WORD
+       };
+
 }
 
 #endif // LYX_TYPES_H