mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 19:39:28 +02:00
SynEdit: paint, ensure field for Attribute is initialized
git-svn-id: trunk@43423 -
This commit is contained in:
parent
96236fecb2
commit
c1e13c5ce7
@ -669,6 +669,7 @@ var
|
|||||||
TabExtra: Integer;
|
TabExtra: Integer;
|
||||||
HasTabs, HasDouble: Boolean;
|
HasTabs, HasDouble: Boolean;
|
||||||
begin
|
begin
|
||||||
|
ATokenInfo.Attr := nil;
|
||||||
while True do begin
|
while True do begin
|
||||||
Result := MaybeFetchToken; // Get token from View/Highlighter
|
Result := MaybeFetchToken; // Get token from View/Highlighter
|
||||||
if not Result then begin
|
if not Result then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user