There are a couple of discrepancies between keywords handling in Sub Styles API and in regular API:
SCI_SETIDENTIFIERS only accepts space separated list of keywords, while SCI_SETKEYWORDS accepts keywords separated by spaces, tabs and new line characters ('\n', '\r').
SCI_SETIDENTIFIERS does not support specifying prefix keywords (i.e. '^SCI_'), while SCI_SETKEYWORDS supports them.
These issues are actually a limitation of underlying support classes from SubStyles.h file, which should be fixed so that they provide the same level of features like the WordList class.
Log in to post a comment.