[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: [Bug 154810] word completion: detect filetype and populate word
From:       Anders Lund <anders () alweb ! dk>
Date:       2007-12-31 9:56:56
Message-ID: 200712311056.56964.anders () alweb ! dk
[Download RAW message or body]

On Monday 31 December 2007, Andreas Pakulat wrote:
> I don't know how kates highlighting-stuff works, but KDevelop has its
> own datatypes for knowing which parts of a text file are what kind of
> language construct. So all I can imagine at the moment to help kate is
> by transferring that knowledge over a KTE interface, i.e. doing
> something like addFunctionDeclaration(name,begin,end), but doing all
> that and duplicating all the information seems not like a good idea. And
> I doubt that you want to port over the language support from KDevelop to
> Kate (though that would allow a ton of interesting things I guess)

All the advanced stuff is doing fine in the advanced applications. They have 
background parsers and whatnot to support their preferred languages. What 
katepart should provide imo is read access to valuable properties.

The benefit in the case of the keywords list (and possibly context 
information) is solely that it would be very easy to deliver simple forms of 
completion of ALL text formats (such as the word completion), also beoynd 
those supported by programming IDEs.

-- 
Anders

www: http://www.alweb.dk
jabber: anderslund@jabber.dk
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic