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

List:       kwrite-devel
Subject:    Re: Session name in plugins & action shortcuts
From:       Kåre_Särs <kare.sars () iki ! fi>
Date:       2010-08-26 19:46:24
Message-ID: 201008262246.25188.kare.sars () iki ! fi
[Download RAW message or body]

On Thursday 26 August 2010 10:38:37 Christoph Cullmann wrote:
> On Thursday, August 26, 2010 09:27:49 am Kåre Särs wrote:
> > Hi,
> > 
> > I need some hints :)
> > 
> > Session name:
> > I have searched for a way to find the name of the current session from a
> > plugin, but I have not been able to find it. Is it possible? If yes, how?
> > 
> > I'm planning to change the ctags plugin to store the ctags database in
> > the config directory and only ask for the directories/files to index in
> > stead of asking for the location of ctags database file. For this I need
> > to have separate ctags files for different sessions. It would be
> > possible to auto- generate a name, but I would rather have the session
> > name in it...
> 
> I guess we would need to expose that in the plugin api.
> Perhaps we even should provide such a "local session dir" for plugins,
> which will be deleted if the session is deleted to avoid polluting the
> users home.
> 
> You could take a look at the interfaces and session implementation and
> provide some design ideas ;)

I'll have a look, but I do not promise anything :)

> 
> > Action shortcut problem:
> > 
> > If I have a shortcut set to Meta+Q that sequence will go to the action
> > when it is active, but when the action is disabled the sequence will
> > insert "q" into the active document. Is there a simple way to prevent
> > that?
> > 
> > The same happens if the shortcut is with Alt+...
> 
> Don't think so.
OK

> 
> > Thanks,
> > Kåre

-- 
Kåre
_______________________________________________
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