Why PHP files doesn't have code folding available only for curly braces ? If I inherit direct C style rendering into custom/user filetypes.php, it works, but than, I need to add all the keywords manually, which is not a problem. It works. But than, again, `^$` (variables) are not painted ... unless I put that as well into `primary` keywords line ... but, then - again - I cannot change the color of the `$variable`, the same as other words/keywords and language constructs. In C style, no other keywords than `primary` is taken into account. Is there any workaround for this instead of using/importing C style filedef ?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3561
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3561(a)github.com>
Supported commands are:
za / zo / zc toggle / open / close fold on one level of folding
zA / zO / zC toggle / open / close fold on all folding levels
zR / zM open / close all folds
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1327
-- Commit Summary --
* Implement fold in vimode plugin
-- File Changes --
M vimode/src/cmd-runner.c (9)
M vimode/src/cmds/edit.c (45)
M vimode/src/cmds/edit.h (12)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1327.patchhttps://github.com/geany/geany-plugins/pull/1327.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1327
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1327(a)github.com>
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/1337
-- Commit Summary --
* IncDec is a plugin for Geany that provides shortcuts to increment and decrement
-- File Changes --
M Makefile.am (4)
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 (504)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1337.patchhttps://github.com/geany/geany-plugins/pull/1337.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1337
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1337(a)github.com>
Fix cursor hang when we want to move cursor on top line and this line is folded
To reproduce the problem, when vimode plugin is enabled:
Fold a few lines by clicking the "minus" icon.
Move the cursor to the bottom of these lines and try to move back to the top.
The cursor doesn't go back and seem to hang.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1326
-- Commit Summary --
* Fix cursor hang when we want to move cursor on top line and this line is folded
-- File Changes --
M vimode/src/cmds/motion.c (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1326.patchhttps://github.com/geany/geany-plugins/pull/1326.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1326
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1326(a)github.com>
This PR addresses some issues of the plugin with folded lines - see the individual commits.
I'd also like to automatically set the cursor position when a block gets folded to be set on the visible line (and not hidden somewhere inside the fold) but right now I don't know how to correctly react to the fold events - see https://sourceforge.net/p/scintilla/bugs/2438/
@scresto09 Do the changes look OK to you and does the plugin behave correctly with them?
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1338
-- Commit Summary --
* vimode: Take into account folded lines when moving cursor
* vimode: Ensure that the line with the cursor is expanded after performing a command
-- File Changes --
M vimode/src/cmd-runner.c (1)
M vimode/src/cmds/motion.c (58)
M vimode/src/excmd-runner.c (2)
M vimode/src/utils.c (9)
M vimode/src/utils.h (1)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1338.patchhttps://github.com/geany/geany-plugins/pull/1338.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1338
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1338(a)github.com>
After using Geany for almost a day using the Solarized Dark theme, I felt that the text in Geany was slightly harder to read than in Notepad++, an editor I've been using for the past couple years. At first I thought I was imagining things, but after taking screenshots from each editor and comparing them side-by-side with a magnifying glass, I finally figured out why: the font rendering in Geany is ever so slightly darker (or thinner?) than the font rendering in other code editors like Notepad++. Here is the comparison:
![image](https://cloud.githubusercontent.com/assets/4110567/15953393/0537111c-2efd-11e6-93d5-92b7fdc33853.png)
Notepad++ is on top and Geany is on the bottom. It is barely noticeable in the image above, but if you zoom in and use the eyedropper tool you will find that the colors in Geany are darker than the ones in Notepad++:
![image](https://cloud.githubusercontent.com/assets/4110567/15953590/2826f2a8-2eff-11e6-9d51-5e6f1e852653.png)
Maybe I'm just more sensitive to this than others, but after spending a day editing code containing lots of strings using the Solarized Dark theme, I find that the code in Geany is slightly harder to read.
I'm not sure how to categorize this because I suspect it is related to the native font rendering engine that is used in Geany.
---
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/issues/1066
Running on fresh install of ubuntu/mate 22.04. Crash is consistent, any time I try to select some text using either keyboard or mouse
thread 1 "geany" received signal SIGSEGV, Segmentation fault.
0x00007ffff6603104 in XVisualIDFromVisual () from /lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0 0x00007ffff6603104 in XVisualIDFromVisual ()
at /lib/x86_64-linux-gnu/libX11.so.6
#1 0x00007ffff7b79a2e in gdk_x11_window_foreign_new_for_display ()
at /lib/x86_64-linux-gnu/libgdk-3.so.0
#2 0x00007ffff7b649f8 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#3 0x00007ffff7b66191 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#4 0x00007ffff7b69d28 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#5 0x00007ffff7b2fa99 in gdk_display_get_event ()
at /lib/x86_64-linux-gnu/libgdk-3.so.0
#6 0x00007ffff7b69f46 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#7 0x00007ffff6b42d3b in g_main_context_dispatch ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007ffff6b98258 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff6b422b3 in g_main_loop_run ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff7048cfd in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff7c8fd1a in main_lib () at /lib/x86_64-linux-gnu/libgeany.so.0
#12 0x00007ffff7829d90 in __libc_start_call_main
(main=main@entry=0x555555555060, argc=argc@entry=2, argv=argv@entry=0x7fffffffdbb8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007ffff7829e40 in __libc_start_main_impl
(main=0x555555555060, argc=2, argv=0x7fffffffdbb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdba8)
--Type <RET> for more, q to quit, c to continue without paging--
-start.c:392
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3843
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3843(a)github.com>
I just made the background color for selections a little darker so that it is different from the foreground color.
Closes #70.
![Screenshot](https://github.com/geany/geany-themes/assets/617017/472e0715-c1c1-4166-926e-b2260d160687)
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-themes/pull/71
-- Commit Summary --
* Metallic Bottle: use a slightly darker background color for selections
-- File Changes --
M colorschemes/metallic-bottle.conf (2)
-- Patch Links --
https://github.com/geany/geany-themes/pull/71.patchhttps://github.com/geany/geany-themes/pull/71.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-themes/pull/71
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-themes/pull/71(a)github.com>
Allow brave users to disable the confirmation dialog when replacing text in the whole session.
While modifying the docs, I noticed a missing various pref in the table and added it.
Because of the long names of the other and the new setting, the table grew and needed reformatting. I put this into a separate commit for easier review but we can probably squash them together afterwards.
Closes #3702.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3851
-- Commit Summary --
* Add a various pref to skip 'replace in session' confirmation dialog
* Add missing various pref docs
* Reformat various prefs table in docs
-- File Changes --
M doc/geany.txt (264)
M src/keyfile.c (2)
M src/plugindata.h (2)
M src/search.c (3)
M src/search.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/3851.patchhttps://github.com/geany/geany/pull/3851.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3851
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3851(a)github.com>