]> git.lyx.org Git - lyx.git/blobdiff - src/support/types.h
Let paragraph::requestSpellcheck() consider contained insets
[lyx.git] / src / support / types.h
index c9cf349592d5ee61c58961f744ab631cbd965849..99f53c8f1b8500f0eb83c46a5ff9006c886c4945 100644 (file)
@@ -45,6 +45,16 @@ namespace lyx {
        /// a type for the nesting depth of a paragraph
        typedef size_t     depth_type;
 
+       /// type for cell indices in inset
+       typedef size_t     idx_type;
+       /// type for row indices
+       typedef size_t     row_type;
+       /// type for col indices
+       typedef size_t     col_type;
+
+       /// type for cells and math insets
+       typedef void const * uid_type;
+
 // set this to '0' if you want to have really safe types
 #if 1
 
@@ -78,7 +88,7 @@ namespace lyx {
                WHOLE_WORD_STRICT,
                // the word around the cursor
                WHOLE_WORD,
-               /// the word begining from the cursor position
+               /// the word beginning from the cursor position
                PARTIAL_WORD,
                /// the word around the cursor or before the cursor
                PREVIOUS_WORD,