quaizywabbit Posted August 14, 2005 Share Posted August 14, 2005 (edited) @JDEBCould you list the steps necessary to create new keyword that has syntax coloring.For the time being I'd like these keywords to be treated as Block commentslike #cs and #ce ,or as a regular comment ';', but with a different color (to distinguish different types of information in a script.)this idea would be equivalent to adding syntax categories:White spaceComment lineComment blockNumberFunctionKeywordMacroStringOperatorVariableSent KeysPre-ProcessorSpecialAbbrev-ExpandUser-defined1 [Comment line functionality-different color]User-defined2 [Comment block functionality-different color]etc... Edited August 15, 2005 by quaizywabbit [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
therks Posted August 14, 2005 Share Posted August 14, 2005 (edited) Ever heard of Private Message? Or PM? It's right over there. I only point this out considering with the "@JDEB" it looks like you're specifically trying to address him.Not totally sure what you're looking for, but have a look at the "au3.keywords.properties", and some of the other .properties files as well, in your Scite folder (open it in notepad). Edited August 14, 2005 by Saunders My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 14, 2005 Author Share Posted August 14, 2005 I have been trying to do this via properties and api files..but havent had any luck getting the keyword to colorize.and I'd rather have the solution (if there is one forthcoming) be posted for all to see. [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Developers Jos Posted August 15, 2005 Developers Share Posted August 15, 2005 (edited) @JDEBCould you list the steps necessary to create new keyword that has syntax coloring.For the time being I'd like these keywords to be treated as Block commentslike #cs and #ce ,or as a regular comment ';', but with a different color (to distinguish different types of information in a script.)this idea would be equivalent to adding syntax categories:White spaceComment lineComment blockNumberFunctionKeywordMacroStringOperatorVariableSent KeysPre-ProcessorSpecialAbbrev-ExpandUser-defined1 [Comment line functionality-different color]User-defined2 [Comment block functionality-different color]etc...<{POST_SNAPBACK}>Each new Category will require an update of the LEXAU3.CPP i wrote and is included in SciLexer.Dll supplied in the installer. Not totally sure what you're looking for, but have a look at the "au3.keywords.properties", and some of the other .properties files as well, in your Scite folder (open it in notepad).<{POST_SNAPBACK}>Correct, but it wouldn't be smart to update that because it is refreshed with each update i post .... Open in Notepad ???????????????? I have been trying to do this via properties and api files..but havent had any luck getting the keyword to colorize.and I'd rather have the solution (if there is one forthcoming) be posted for all to see.<{POST_SNAPBACK}>API files are used for the AutoComplete dropdown and Calltips, not for syntax coloring. Edited August 15, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 15, 2005 Author Share Posted August 15, 2005 Thanks for the explanation Jdeb...I didn't realize that's how it worked.. [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now