no highlighting in Unicode version |
Post Reply |
Author | |
Algae
Senior Member Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
Post Options
Thanks(0)
Posted: 22 December 2015 at 6:29pm |
This is a pretty old post, but there are a couple of things that CJ should know about.
I get the same results. Fails to highlight with the sample project "MDITextEditor". The control is embedded in a view. With the control in a dialog such as the "SyntaxEditOnDialog" project found in this forum, it does work. If you do either of these things: 1. Load a file. Syntax will highlight. The reason loading a file works is that RefreshColors() is called. 2. Add <YourSyntaxCtrlName>.RefreshColors(); OR ".Invalidate()" to the dialog init method. You can then type and syntax will highlight when a coded word is completed. Unfortunately, the same "RefreshColors()" fix does not seem to work in a view. Version 16.26 |
|
dehilster
Groupie Joined: 16 October 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
wow, no answers.
|
|
David de Hilster
|
|
dehilster
Groupie Joined: 16 October 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
I have gotten the syntax highlighting working but it is not working for the unicode version. it is all in black and white. Any suggestions?
|
|
David de Hilster
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |