From kwrite-devel Mon Dec 31 09:56:56 2007 From: Anders Lund Date: Mon, 31 Dec 2007 09:56:56 +0000 To: kwrite-devel Subject: Re: [Bug 154810] word completion: detect filetype and populate word Message-Id: <200712311056.56964.anders () alweb ! dk> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=119909506403402 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