- struct textclass_type {
- ///
- typedef std::vector<char>::size_type base_type;
- ///
- textclass_type(base_type t) { data_ = t; }
+#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
+ };
+
+ ///
+ enum PageSides {