EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fixes in v2.24

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Tue Jul 18, 2006 8:20 am    Post subject: Fixes in v2.24 Reply with quote

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
View user's profile Send private message Send e-mail
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Tue Jul 18, 2006 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group