You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open my project with the SynEdit component, the IDE shows me an error, before the Designer is ready.
Also when run the project, while create the form where the SynEdit is placed on (sorry is german):
Exception: EArgumentOutOfRangeException mit der Meldung 'Listenindex außerhalb des gültigen Bereichs (0). TList<System.Integer> ist leer' aufgetreten.
It happens in the unit SynEditWordWrap, here:
function TSynWordWrapPlugin.RowCount: integer;
begin
if fLineCount > 0 then
Result := fLineOffsets[fLineCount - 1] // here it crashing
else
Result := 0;
Assert(fRowLengths.Count = Result);
end;
Compiled with Delphi 10.1 Berlin there was no problem - now I use 12.2 Athens and it shows the error.
How to fix?
The text was updated successfully, but these errors were encountered:
With create a new project there seems no problem.
When I open my project with the SynEdit component, the IDE shows me an error, before the Designer is ready.
Also when run the project, while create the form where the SynEdit is placed on (sorry is german):
It happens in the unit SynEditWordWrap, here:
Compiled with Delphi 10.1 Berlin there was no problem - now I use 12.2 Athens and it shows the error.
How to fix?
The text was updated successfully, but these errors were encountered: