[kupu-dev] tool actions

Duncan Booth duncan.booth at suttoncourtenay.org.uk
Tue Jan 23 15:01:25 CET 2007


yuppie <y.2007- at wcm-solutions.de> wrote:

> Hi!
> 
> 
> Some tool methods used for context menu and button actions already have 
> these two lines:
> 
>      this.editor.focusDocument();
>      this.editor.updateState();
> 
> I was able to get rid of some strange behavior by adding focusDocument() 
> to the top and updateState() to the bottom of other tool methods.
> 
> If there is nothing wrong with this pattern I'd like to modify several 
> methods.
> 
> Any objections?
> 
None from me.



More information about the kupu-dev mailing list