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.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1351
-- Commit Summary --
* IncDec is a plugin for Geany that provides shortcuts to increment and decrement
-- File Changes --
M Makefile.am (4)
M README (1)
M build/geany-plugins.nsi (1)
A build/incdec.m4 (11)
M configure.ac (1)
A incdec/AUTHORS (1)
A incdec/COPYING (674)
A incdec/ChangeLog (0)
A incdec/Makefile.am (4)
A incdec/NEWS (0)
A incdec/README (50)
A incdec/src/Makefile.am (16)
A incdec/src/incdec-plugin.c (592)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1351.patchhttps://github.com/geany/geany-plugins/pull/1351.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1351
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1351(a)github.com>
always occurs when typing in the search field on the toolbar
(geany:7948): Gdk-WARNING **: 11:39:56.739: The program 'geany' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 5385 error_code 10 request_code 104 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4160
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4160(a)github.com>
I installed both Geany Nightly and Geany Plugins Nightly.
geany-2.1_git_20241127021509_22a8a1f55_setup.exe
geany-plugins-2.1_git_20241127022112_8d924fd1_setup.exe
Geany will fail to run because missing of these dlls: `libjpeg-8.dll`, `libtiff-6.dll`, `libdeflate.dll`, `libjbig-0.dll`, `libLerc.dll`, `libwebp-7.dll`, and `libsharpyuv-0.dll`.
My educated guess: new dependencies being introduced but the old packaging script is not updated to copy them.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4084
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4084(a)github.com>
In https://github.com/geany/geany/pull/4013 I forgot to add a unit test for meson.
However, when I tried to add it now (naming the test file `meson.build`), I got the following in `meson.build.log`:
```
Unknown filetype extension for "/tmp/tmp.XJrc9S8Suo/test.build.tags".
```
The reason is that unlike other filetypes, the Meson configuration in `filetype_extensions.conf` doesn't start with `*.` but instead the whole filename is used:
```
Meson=meson.build;meson.options;meson_options.txt;
```
The unit test runner creates test files starting with `test`, followed by the filetype extension and this doesn't match what's in `filetype_extensions.conf`.
What should we do about it?
A simple (but ugly) way would be to add some `*.meson_unittest` extension to `filetype_extensions.conf` which we would use for the unit test but which wouldn't be used in real life.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4074
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4074(a)github.com>
Is there any way to change how Geany highlights a misspelled word? At least make those red squiggly underlines a lot bolder? Or, better still, switch background color? Those lines are barely visible on my system.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/520
Would anyone be interested in adding a filter field in the Preferences - Keybindings section to be able find actions, you are looking to set keybindings for, more easily.
Currently there is a temporary field at the bottom but only detect letters at the beginning of each action, so user would have to know the exact name of them, so this field is not really that helpful.
What I am suggesting is the exact same filter field already included in Geany in the "Plugins Manager" dialog box.
This field detects letters/words anywhere in the items name and filters the results to only show the matched keywords, which works great. I feel this could be helpful in keybindings as well.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4049
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4049(a)github.com>
When using the Find tool dialog box, when you get to the last instance of that keyword found, another dialog box opens asking user if they want to "Wrap search and find again", if user chooses to do so by hitting the "Find" button it then wraps the search starting again from the top (first instance it found of that keyword). The problem with this is that if you hit your "Enter" key again to go to the next instance of that keyword, you will realize (hopefully) that the Find dialog no longer has focus and that that "Enter" key you have just it ended up modifying the text in the file you are in.
Would it be possible, to program Geany so that when the "Wrap search and find again" is choosen to be find again, to give the focus back to the "Find" dialog box instead of giving the focus to Geany instead?
I know that windows/dialogs in Linux can be tricky, if this is not possible, please let me know and I will close this issue post.
For now the best solution is to go into `Preferences - General - Misc - Search` and check `Always wrap search`
This does fix the issue but then you can get into one of those situations where you keep cycling through found keywords over and over to then realize you were just in a loop :)
So the notification that you have come to the last keyword instance can be helpful.
Geany does not have any indications for keywords found, no text # of # found or indicators that show up in vertical scrollbar like some programs include. I recommended some ideas in the "Ideas" section in "Discussions" about this but apparently coding wise this is not possible. So losing this dialog indicator with the solution mentioned above helps but is not desired because can cause some issues.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4021
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4021(a)github.com>
At the moment, when "Always wrap search" and "Hide the find dialog" are disabled in preferences, after performing wrap and dismissing the wrap dialog, the editor is focused instead of the search/replace dialog again. This interrupts keyboard-based user interaction with the dialog as users have to manually re-focus the search/replace dialog.
I haven't found a way to re-focus the search/replace dialog without hiding it first. But I actually think hiding the search/replace dialog when the wrap dialog is shown is a cleaner UI than having the two dialogs on top of each other.
Fixes #4021.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4096
-- Commit Summary --
* Move show_wrap_search_dialog() to search.h
* Hide find/replace dialogs when wrap dialog is shown
* Remove parent argument from document_find_text() and search_show_wrap_dialog()
-- File Changes --
M src/document.c (46)
M src/document.h (2)
M src/search.c (59)
M src/search.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/4096.patchhttps://github.com/geany/geany/pull/4096.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4096
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4096(a)github.com>
This I believe is my last Lua script request I have for the GeanyLua plugin.
This one although I do have a use for this, is more for learning purpose.
I do not think any other users will really find this one useful.
Was wondering if anyone would be willing to provide two Lua scripts that when applied, adds a specified number of blank lines to current document. Basically the equivalent of hitting the "Enter" key over and over “x” amount of times.
No dialog boxes need, would just like to be able to just change the number of lines to be added within the Lua script text file itself, if possible.
Two scripts
1.) Add 15 blank lines below line that cursor is currently in
2.) Add 25 blank lines to the bottom of the current document regardless of where cursor is.
Thank You to anyone interested.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4091
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4091(a)github.com>