mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 17:20:58 +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 *)
|
(* "interesting" behavior once the amount of text causes it to start scrolling *)
|
||||||
(* so having an intermediate that can be inspected might be useful. *)
|
(* 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;
|
buffer := TStringList.Create;
|
||||||
try
|
try
|
||||||
buffer.Text := AText; (* Decides what line breaks it wants to swallow *)
|
buffer.Text := AText; (* Decides what line breaks it wants to swallow *)
|
||||||
|
Loading…
Reference in New Issue
Block a user