393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
|
if not Single_Line
and then Width > 0
and then Cursor > 1
and then (New_Cursor > Width + 1
or else (New_Cursor = Width + 1
and then I + 1 in Data'Range
and then not Is_Newline (Data, I, Newline)))
then
case Newline is
when CR | LF =>
Size := Size + 2;
when CR_LF | LF_CR =>
Size := Size + 3;
end case;
|
|
|
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
|
if not Single_Line
and then Width > 0
and then Cursor > 1
and then (New_Cursor > Width + 1
or else (New_Cursor = Width + 1
and then I + 1 in Data'Range
and then not Is_Newline (Data, I + 1, Newline)))
then
case Newline is
when CR | LF =>
Size := Size + 2;
when CR_LF | LF_CR =>
Size := Size + 3;
end case;
|