mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 04:20:55 +02:00
Debugger: Fix wrong index for linefeed detection, issue #0037167 / fix for r63132 #69cd1abf4a
git-svn-id: trunk@63279 -
This commit is contained in:
parent
73408cac48
commit
a6dade4123
@ -757,7 +757,7 @@ begin
|
||||
(* "interesting" behavior once the amount of text causes it to start scrolling *)
|
||||
(* so having an intermediate that can be inspected might be useful. *)
|
||||
|
||||
TextEndsInEOL := (AText <> '') and (AText[Length(AText)-1] in [#10]);
|
||||
TextEndsInEOL := (AText <> '') and (AText[Length(AText)] in [#10]);
|
||||
buffer := TStringList.Create;
|
||||
try
|
||||
buffer.Text := AText; (* Decides what line breaks it wants to swallow *)
|
||||
|
Loading…
Reference in New Issue
Block a user