geany-plugins icon indicating copy to clipboard operation
geany-plugins copied to clipboard

New IncDec plugin for Geany

Open scresto09 opened this issue 1 year ago • 5 comments

IncDec is a plugin for Geany that provides shortcuts to increment an decrement number at the cursor, or to the right of the cursor (on the same line).

By default, typing Shift-+ will increment the next number, and typing Shift-- will decrement the next number. You can also increment and decrement number many times by typing Shift-*. The number can be at the cursor, or to the right of the cursor (on the same line). Numbers can be negative and positive, and can be in decimal or hexadecimal format (hexadecimal number start with 0x). You can customize those defaults keys on the preferences, under the Keybindings tab by setting the IncDec keybinding. An item Increment or Decrement number is also added in the Editor Popup Menu, it can be hidden by changing the Plugins Preferences.

scresto09 avatar May 24 '24 13:05 scresto09

This pull request replace previous #1337

scresto09 avatar May 24 '24 13:05 scresto09

Thanks. I think it's ok to merge.

@scresto09 if you change the code the next time, I suggest to remove the mixed indentation (spaces and tabs). It's not utterly important but makes the code a bit nicer and easier to read.

eht16 avatar Feb 01 '25 16:02 eht16

OK, thanks !

scresto09 avatar Feb 04 '25 08:02 scresto09

Hi, any update on merging this plugin? Thanks

scresto31 avatar Jul 07 '25 10:07 scresto31

Ok, thanks! I’ve applied your suggestions

scresto09 avatar Nov 20 '25 17:11 scresto09