From: Richard Kimberly Heck Date: Sun, 19 Apr 2020 17:31:57 +0000 (-0400) Subject: Comment. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=22e48cc19b6be76eedd3afb247e1d57f823aa26d;p=features.git Comment. --- diff --git a/src/support/types.h b/src/support/types.h index fc443dcf53..c9cf349592 100644 --- a/src/support/types.h +++ b/src/support/types.h @@ -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;