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

List:       kwrite-devel
Subject:    Re: KatePart and Kile (part 3 - code completion)
From:       Anders Lund <anders () alweb ! dk>
Date:       2005-04-12 10:41:05
Message-ID: 200504121241.07513.anders () alweb ! dk
[Download RAW message or body]

Monday 11 April 2005 15:35 skrev Holger Danielsson:
> Hi,
>
> Code completion is a very important feature of Kile, because LaTeX
> uses some hundred commands with difficult syntax. To simplify the
> work, Kile has its own autocompletion modes.
>
> You can imagine that working with two different auto completion modes
> is schizophrenic and must result in really crazy results. We have
> seen this with 'KTextEditor-WordCompletion-Plugin', which causes us
> to make some really ugly hacks to catch the installation of this
> plugin and uninstall it with its menu entries.
>
> A better solution for KatePart would be to ask programs like Kile and
> other, if they agree to install the plugin or not. So Kile would have
> a chance to act. We think that there will be a lot a hard problems in
> the future, if this won't be done.

Just to let you know, I have been doing some research. Since using the XML 
tools in kate does not create problems apart from the word completion 
autopopup beeing lost, I checked why that would be, and found that the xml 
plugin disconnects the documents charactersInteractivelyInserted() signal 
from any other object.

Looking in the codecompletion code, it appears that it does not care to check 
if it is allready in use. So I'll try during the next days to see if simply 
ignoring requests for showing a completion list if allready in use will work 
in the case of the word completion plugin and the xml tools plugin. If so, 
I'll commit and we can see how well it will work.

-anders

-- 
www: http://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