I'm using QSyntaxHighlighter (surprise surprise), and i am having two problems (so far..)
1. i want to differentiate a function call from a function declaration . i used the example in the documentation and it doesn't differ the two (since it function as letter/digits followed by (). i need to set it to also require a set of letters/digits before the first set). what would be the RegExp for that?
2. i want to insert a tab character (for instance) in the beginning of the line on certain occasions from the highlightBlock. i tried to append a string to currentBlock.text but it didn't really do anything..
Bookmarks