Am 25.03.2014 23:33, schrieb Shankhoneer Chakrovarty:
I was planning to change the default shortcut key for the aforementioned
behavior of the plugin to Primary8 which AFAIK doesnt conflict with
anything.
Plugins shouldn't have a default in about 99% of cases as it will always
conflict with
Am 26.03.2014 00:19, schrieb Shankhoneer Chakrovarty:
I understand, I would remove the default keybindings. The problem is this
plugin doesnt have its own preference page in the Plugin Manager window.
Activating this plugin will mean the user has to go to Edit-Preference
(not the Plugin
Am 26.03.2014 00:32, schrieb Steven Blatnick:
Actually, you could just add a button to the plugin preferences that
points directly to the Edit - Prefernces - Keybindings by calling:
keybindings_dialog_show_prefs_scroll(Plugin Section);
Please don't do that.
This is adding another way
Sorry, I didn't realize the feature was being added anyway.
On 03/26/2014 04:13 AM, Frank Lanitz wrote:
Am 26.03.2014 00:32, schrieb Steven Blatnick:
Actually, you could just add a button to the plugin preferences that
points directly to the Edit - Prefernces - Keybindings by calling:
Hi,
'shiftcolumn' is one of the orphaned plugin which I have decided to work
on. shiftcolumn's default shortcut key to move the selected text to right
is Primary0 which conflicts with Zoom reset, making the plugin useless
to move the text right unless for every move the user clicks Tools-Shift
Thanks Lex.
It is actually preferable that plugins do not have default keybindings.
It is not known what combination plugins will be loaded and so it is
not known what combination of keybindings might clash, and it is not
known what keybindings a user might define themselves that can clash.
The shortcut code would look something like this:
enum
{
KB_PLUGIN,
KB_GROUP
};
...
key_group = plugin_set_key_group(geany_plugin,
plugin_name_keyboard_shortcut, KB_GROUP, NULL);
keybindings_set_item(key_group, KB_PLUGIN,
On 14-03-25 04:19 PM, Shankhoneer Chakrovarty wrote:
Thanks Lex.
It is actually preferable that plugins do not have default keybindings.
It is not known what combination plugins will be loaded and so it is
not known what combination of keybindings might clash, and it is not
known what