dhaumann added a comment.

  > e.g. for the customization of coloring you want to present the list of all 
formats a highlighting has, including the included ones. (even if later the 
color of the included ones is not stored per including highlighting)
  
  The included ones behave differently in KSyntaxHighlighting and KTE: In KTE, 
the colors of included definitions can be different when included in multiple 
highlighitng files. In KSyntaxHighlighting, this is by design not possible: If 
you change "Alert" in C++, you also change Alert in Python etc... So this is 
always shared.
  
  And getting a list of all included Definitions sounds doable as well ;) That 
is probably still missing in the API. So we'd need a 
Definition::includedDefinitions (that recursively returns all Definitions it 
uses).
  
  Anything else?

REPOSITORY
  R216 Syntax Highlighting

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

To: dhaumann, cullmann, vkrause
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, 
demsking, cullmann, sars, dhaumann

Reply via email to