View previous topic :: View next topic |
Author |
Message |
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Tue Jul 18, 2006 8:20 am Post subject: Fixes in v2.24 |
|
|
Incorrect determination of separated block analisys flag (that causes highlighting problem):
fixing (ecSyntAnal.pas):
Code: | procedure TSyntAnalyzer.Loaded;
begin
inherited;
...
CompileGramma;
DetectBlockSeparate;// <== fixing
end; |
|
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Tue Jul 18, 2006 8:34 am Post subject: |
|
|
AV bug at the finish of the analysis (sometimes it may occur, depends on compiler options)
fixing (ecSyntAnal.pas):
Code: | constructor TSyntFinishThread.Create(AOwner: TClientSyntAnalyzer);
begin
FOwner := AOwner;
OnTerminate := AOwner.FinishThreadEnd;
FreeOnTerminate := True;
FRangeStyles := TRangeCollection.Create;
FDynoConditions := TRangeCollection.Create;
FCollapsables := TRangeCollection.Create;
FStaples := TRangeCollection.Create;
FLineBreakRanges := TRangeCollection.Create;
inherited Create(False);
end; |
i.e. all initializing of the thread object before calling inherited constructor. |
|
Back to top |
|
|
|