[kupu-dev] tool actions

yuppie y.2007- at wcm-solutions.de
Tue Jan 23 09:36:05 CET 2007


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?


Cheers,

	Yuppie




More information about the kupu-dev mailing list