]> git.lyx.org Git - lyx.git/blobdiff - src/support/types.h
Correct comment
[lyx.git] / src / support / types.h
index 75ccec0fe276eddc631f774250eb80b5304d830c..d8b1bc2b21826ebfa1cf3c30bfd6c846f5a59c5b 100644 (file)
@@ -40,7 +40,7 @@ namespace lyx {
         */
        // FIXME: should be unsigned as well.
        // however, simply changing it breaks a downward loop somewhere...
-       typedef size_t     pit_type;
+       typedef ptrdiff_t  pit_type;
 
        /// a type for the nesting depth of a paragraph
        typedef size_t     depth_type;
@@ -78,7 +78,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,