> For cursor positions and such, you should definitely use
> LyXParagraph::size_type. If you happen to need a signed version of
> this, then you should define LyXParagraph::difference_type.

Jean-Marc, I've checked the code. It turns out (by chance!) that the only 
stuff I changed to LyXParagraph::size_type does indeed refer to cursor 
positions. The patch can, therefore, be applied.

Perhaps it would make the code clearer if the name of this variable was 
changed to LyXParagraph::position?

> For example, in insetcite.C, the uses of size_t should be replaced by
> string::size_type or something like that.

Thanks for the info, Jean-Marc. I'll have a look.

Angus

Reply via email to