At the moment there's a problem with keybinding creation and processing.
When a keybinding is accessed using shift such as the zoom in keybinding
`Ctrl-+` which on English keyboard requires pressing `<Ctrl><Shift>=`, the
`<Shift>` key is preserved right now. This is visible when changing
keybindings - pressing the above key combination leads to
`<Primary><Shift>+`. This is incorrect - the keybinding should either
be `<Primary><Shift>=` or `<Primary>+` but in `<Primary><Shift>+` there's
extra `<Shift>` which leads to problems.
On linux the problems aren't so much visible - the problem is visible
when changing keybindings as mentioned above. Even though this
particular keybinding isn't executed through on_key_press_event()
because the combination `<Primary><Shift>+` doesn't correspond to the
default `<Primary>+` value, it's executed by GTK as an accelerator so
the problem isn't directly visible.
This might however break when a user modifies this keybinding to the
wrong value `<Primary><Shift>+` and when the user is using multiple
keyboards such as English where + has to be accessed over shift
and German where typing + doesn't require shift. The keybinding will
stop working on the German keyboard in this case because of the
extra shift.
On MacOS the accelerator isn't executed for some reason and non-
letter keybindings don't work when shift is used.
To fix the issue we can use gdk_keymap_translate_keyboard_state()
which reports "consumed" modifiers - that is those which lead to
typing the secondary character. However, we don't want this to happen
when typing alphabetical characters because it's easier to notice
the use of shift in `<Ctrl><Shift>r` than in `<Ctrl>R`. Modifier
consumption is undone in this case.
Should also fix https://github.com/geany/geany/issues/694
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1633
-- Commit Summary --
* Normalise key events when creating/processing keybindings
* Eliminate keybindings_check_event()
-- File Changes --
M src/keybindings.c (44)
M src/keybindings.h (2)
M src/prefs.c (16)
-- Patch Links --
https://github.com/geany/geany/pull/1633.patchhttps://github.com/geany/geany/pull/1633.diff
--
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/pull/1633
According to the instructions I should be able to run either ./configure or ./autogen.sh, however, configure file is missing and autogen.sh fails because "macro AM_GLIB_GNU_GETTEXT not found in library".
Should the ./configure file exist or should the instructions be corrected? I assume autogen.sh fails because of missing dependencies? Can they be pulled in automatically?
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/379
…and fix the current documentation not to lie to the reader :)
AFAIK this still isn't configurable by color shemes (IIUC only *named styles* and *named colors* are supported), but not configurable at least from *filetypes.common*.
@codebrainz assigning to you as I would thing you are the most colorscheme-literate of us.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/917
-- Commit Summary --
* Fix documentation about translucency settings
* Make the search marker translucency configurable
-- File Changes --
M data/filetypes.common (9)
M doc/geany.txt (22)
M src/highlighting.c (6)
-- Patch Links --
https://github.com/geany/geany/pull/917.patchhttps://github.com/geany/geany/pull/917.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/917
Hello.
One the status bar where one can see the line number, column, selection, etc. there is a value called Scope. When I am within a perl subroutine the scope is the subroutine. However, if the cursor is not within a subroutine, the scope would be the whole file but not unknown in my opinion.
Thanks for reading.
LA
--
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/1484
If the preference *Ensure new line at file end* is enabled, Geany adds a newline even to a completely empty file, so it’s impossible to save a file of 0 bytes.
While strictly speaking this does just what the preference label says, in practice the point of this feature, I think, is to ensure that *every line ends* with a newline, so it shouldn’t apply when there are no lines.
That’s what the other editors (nano, vi, emacs) do — they only add a newline to a non-empty file.
--
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/1539
Hi,
in Geany 125 ("Veed") there is a typo in the LaTeX code completion
The command \Longleftrightarrow is misspelled as \Longlettrightarrow
This error actually persists since several years :-)
Interestingly enough, the same bug was found in Kile https://bugskdeorg/show_bugcgi?id=136961
Could be that they started from the same databases for code completion
Thanks for correcting that
N
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/888
Geany sometimes crashes on Windows when holding Ctrl+W to close multiple (over ~15) opened files.
How to reproduce:
1. Open Geany.
2. Open several files.
3. Hold Ctrl+W to close them all.
--
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/1341
Hi,
running Geany 1.28 on Windows 10 (latest updates applied).
When running a Python script, Geany stumbles upon the double quote character:
File "testen.py", line 1
x = ¨abc¨
^
SyntaxError: invalid character in identifier
Press any key to continue . . .
I use a US International keyboard with dead keys, so I type:
1. the double quote
2. a space to make that double quote visible
Also strange that it signals an error on the SECOND double quote ...
--
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/1290
This is the error:
(geany:17198): Geany-CRITICAL **: sci_get_contents_range: assertion 'start < end' failed
Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
__strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
31 ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: No such file or directory.
--
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/1262
Having root privileges, it's a matter of rewritting `/usr/share/geany/geany.glade`
<object class="GtkHBox" id="hbox_menubar">
<property name="visible">False</property>
but, is there a way (out of recompiling geany locally) to hide this bar from a non-root user?
--
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/1559