Print Page | Close Window

Help extending schemas

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=15553
Printed Date: 23 November 2024 at 9:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Help extending schemas
Posted By: nsharp
Subject: Help extending schemas
Date Posted: 05 November 2009 at 9:48am
I want to rely as much as possible on the pre-built schemas, but to add my own keywords to be highlighted in a new color dynamically at runtime.  Currently the only way I can figure out how to do this is to create a whole new schema and pass it to SetSyntaxAndColorScheme().  Is there any way to add a new sub-lex class without having to start at the beginning?  A secondary idea would be if I could ask CodeJock what file is the one being used currently, then I could load it and add my own stuff at the end (though I'd still have troubles knowing what lex class to make my parent). 

  Thanks,
   Nathan



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