[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Rules conflict in text editor

Hi ,
Also posted in rcp forums,thought would help ,if i do it here also.


I have some rules conflicting with each other in text editor.I have a word rule in which ,i specify ,if i encounter a character 'A',i specify a token say 'chartoken' for it.Simillarly,i have another word rule which says ,if i encounter word 'ABCD'specify a token say 'wordtoken' to it.When i type 'A'or 'ABCD' individually ,they get correctly highlighted with their associated tokens,but if type 'AABCD' together i expect that 'A' and 'ABCD' should be getting highlighted with their associated tokens,but it is not happening in that way.The both 'A's are getting highlighted as a individual character and the rest 'BCD'are getting highlighted in a default color.What should i do ,to get them highlighted correctly,even though they r together?

Cheers
James