]> 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 8a1e86af450e7f13701f91ab6f32075a2da6447c..c7711d87b82a4dc15631091747c042ffd51aecd6 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file types.h
  * This file is part of LyX, the document processor.
@@ -69,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