Re: Configuring KDE-KATE to use other highlighting syntaxes

Joseph Wenninger <[email protected]>
Newsgroups gmane.comp.kde.devel.kate
Message-ID <[email protected]>
Hi

>
> What would be required is access to the hl object of a document, so that
> you can dynamically create keyword lists. This is currently not possible,
> but I don't think there is a reason not to. In that case you could read in
> any file and pass it through sed or awk or whatever to create a list as
> desired.
>
> This is not entirely trivial though, as the hl objects are shared, so if
> the lists are pr document it will not work. Global keyword lists could
> possbily be made accessible though. Jowenn?
>

Makeing it possible to modify keyword lists dynamically would be no problem. 
(Creating new lists and itemdata entries/context would be more difficult.)

Post KDE 3.1 feature

For local keyword lists, we would have to introduce a connection between the 
highlighting items and the document they are used with. eg a flag in the 
highlighting item to use a local list and some accesspoint for the 
highlighting parser to a list of keywordlists within the document.

If someone has time, it's a POST KDE 3.1 feature, otherwise a POST KDE 3.2 
feature

Kind regards
Joseph Wenninger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.