dhaumann added inline comments.

INLINE COMMENTS

> sirgienko wrote in definition.h:339
> I more thinking in variant, when the highlighting more dynamic, and is done 
> more, that one time. For example, in Cantor, we rehighlight whole worksheet, 
> when a new variable created in curresponding session. So, if you write 
> "my_var = 3" in Python session (and run command cell with this command), 
> "my_var" starts to highlight by Cantor as variable after that.

Fair enough :-) What you just described here is missing in the API 
documentation. Can you add this to setKeywordList()? Then it's clear to the 
user of KSyntaxHighlighting (e.g. that you have to force a rehighlight of your 
document, best even explain how).

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D23061

To: sirgienko, dhaumann, cullmann, vkrause
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, gennad, GB_2, bmortimer, 
domson, michaelh, genethomas, ngraham, bruns, demsking, cullmann, vkrause, 
sars, dhaumann

Reply via email to