>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

>> So, I'd rather be sure you doublechecked it before applying the
>> patch (in fact this was the reason why I did not make the changes
>> myself :).

Angus> No! Will do.

I'll apply the patch later, then.

Angus> Incidentally, should I use LyXParagraph::size_type or should I
Angus> really use size_t?

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.

Basically, size_t should only be used in a C context, for example for
the length of a C string, as in
  int lyxfont::width(char const * s, size_t n, LyXFont const & f)

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

JMarc

Reply via email to