]> git.lyx.org Git - features.git/blobdiff - src/support/types.h
Comment.
[features.git] / src / support / types.h
index fc443dcf533e4b4443a153ae47d7ee6bfdb408eb..c9cf349592d5ee61c58961f744ab631cbd965849 100644 (file)
@@ -28,6 +28,9 @@ namespace lyx {
         */
        // FIXME: should be unsigned, but needs to be signed for a while to
        // hold the special value -1 that is used somewhere
+       // Specifically, TexRow::getDocIteratorsFromEntries uses negative pos
+       // the way Python does: counting from the end. So maybe this should just
+       // be signed.
        // Note that the signed property is also used in loops counting to zero.
        typedef ptrdiff_t  pos_type;