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 

Using '=' in auto replace item

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



Joined: 21 Jul 2006
Posts: 67
Location: North Carolina, USA

PostPosted: Mon Jul 23, 2007 3:06 pm    Post subject: Using '=' in auto replace item Reply with quote

We have a user who is trying to setup an auto replace item that replaces == with :=

She reported access violations in our product and we found that the issue was an auto replace item that she had that had the search for text set to ==:= and the replace with text set to blank string. After removing that item there were no more AVs. Is there a way to setup an auto replace like the one mentioned above?

Thanks.
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Tue Jul 24, 2007 4:50 am    Post subject: Reply with quote

By default '=' is used as separator between key and replace parts of the item.

To allow using '=' in key you need set Separator to, for example, tab character #9. Also you need to define '=' as "word" character in OnCheckChar event.
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