#958: Context menu - supporting parameters
--------------------------------+-------------------------------------------
  Reporter:  Batalf             |       Owner:  alfonsoml
      Type:  New Feature        |      Status:  new      
  Priority:  Normal             |   Milestone:           
 Component:  UI : Context Menu  |     Version:           
Resolution:                     |    Keywords:  Review?  
--------------------------------+-------------------------------------------
Changes (by alfonsoml):

  * keywords:  => Review?

Comment:

 When I coded the integration of the spellchecker for WriteArea I did in
 fact create a repeated number of commands, but it would have been easier
 and better fix it in the core, so here's the patch.

 It does allow to add a parameter that will be sent to the Execute method
 of the related command, quite easy but powerful.

 What's new entry:

 The AddItem method now has an additional fifth parameter "tag" that will
 be send to the Execute method of the command for that menu item, allowing
 a single command to be used for different menu items.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/958#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to