Print Page | Close Window

no highlighting in Unicode version

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=21907
Printed Date: 28 March 2024 at 9:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: no highlighting in Unicode version
Posted By: dehilster
Subject: no highlighting in Unicode version
Date Posted: 12 October 2013 at 11:00am
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



Replies:
Posted By: dehilster
Date Posted: 26 October 2013 at 9:50am
wow, no answers.

-------------
David de Hilster


Posted By: Algae
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net