Re: Configuring KDE-KATE to use other highlighting syntaxes

Anders Lund <[email protected]>
Newsgroups gmane.comp.kde.devel.kate
Organization Saguaro
Message-ID <[email protected]>
On Tuesday 23 July 2002 14:20, Katinka Mills wrote:
> Ok now for a few Q's :
>
> #1 is it possible to get KATE to read in some include files and take all
> the words in a certain position (column two ) after .def and before the =
> sign as user defined variables, also read in the uC define file and
> highlite their words as say chip defines etc.

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?

> Yes I am trying to turn KATE into an IDE (if we made it modular then we
> could have a C skin, C++ skin, AVR ASM skin .....)
>

Well, a well organized set of plugins should be able to achieve that:) We are 
working on making plugins mimetype sensitive, and there are idears of some 
sort of "workspace" that would allow you to start kate with certain files 
open, and a certain plugin configuration.

-anders

P.S. Katinka, are you subscribed to the list? in that case I don't need cc'ing 
you all the time. And don't cc me, btw:)
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.