Multiple Code Types |
Post Reply |
Author | |
bryanu
Groupie Joined: 19 February 2007 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 29 October 2009 at 11:47am |
I am using SyntaxEditor ver 13.0.0.
How do I change the Syntax colorization when a user loads a file. For example, if I want to allow the user to load HTML, VB, C++, PHP and so on, but change the colorization schema based off the file type loaded. Do I need to create a new .INI file for each type and reload that file for each file type? Or, is there an easier way to do so with the default .INI file with all the schema's listed? Thanks for you help... |
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
I think it's the FileExt property that tells the control what schema to use.
|
|
ExtremeSuitePro 12.1.1
WinXP SP3 |
|
bryanu
Groupie Joined: 19 February 2007 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
BUMP!
I found that when I have multiple windows on in an MDI interface and I change the INI file for the control, all instances of the control change to that syntax type. What I want to be able to do is offer the customer the ability to open multiple windows (MDI style) and have each window with SyntaxEditor show colorization for correct file type (BAS, HTML, C++) etc.... Regards, |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
You need to use each SyntaxEdit settings - e.g. SyntaxEdit1.DataManager.FileExt = ".vbs" instead of using INI-file
|
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
ExtremeSuitePro 12.1.1
WinXP SP3 |
|
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 |