Instead of hardcoding the count of previously defined keybindings in the Addons plugin, use the already available enum counter.
While testing #1182, I noticed that there is a mismatch between the pressed keybinding with the configured replacement. The Wordwrap plugin had the keybinding count of all keybindings of the Addons plugin hardcoded and of course it changed since then but the hardcoded magic number was not updated.
Instead of hardcoding, use the enum counter constant.
https://github.com/geany/geany-plugins/pull/1212
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.