]> git.lyx.org Git - features.git/commitdiff
Comment.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 19 Apr 2020 17:31:57 +0000 (13:31 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 19 Apr 2020 17:31:57 +0000 (13:31 -0400)
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;