Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Problem With Editor Keybindings

Hi,

Have you tried using a regular handler for this command, implement enableWhen/setEnabled() so it's only enabled on the desired editor and see whether the command then handled on Shift+S? If this works fine, then instead of defining the Action in the editor, you can keep the handler and use a "CommandAction" in the editor to just reference the command and the handler. This pattern usually works well and has a few benefits over implementing Actions directly in editors IMO.

HTH

Back to the top