Hello. I used the Kate text editor by many years and in the last days I wanted to get rid of the last KDE dependencies on my system looking for a GTK alternative.
Geany is a good text editor, some features are still missing compared to Kate, but I'm going to use it anyway. Unfortunately I'm getting some issues with the style configuration. I'm used to the Kate caret which is not a block by default. As I'm seeing in the documentation, it can be changed in Geany to look as a vertical line, but it's not working.
As stated [here](https://www.geany.org/manual/current/index.html#special-file-filetype…, I have to modify the `filetypes.common`.
> the file can be created manually, adding only the settings you want to change
Looking [here](https://www.geany.org/manual/current/index.html#id4)
```
caret
The style for coloring the caret(the blinking cursor).
Only first and third argument is interpreted.
Set the third argument to true to change the caret into a block caret.
Example: caret=0x000000;0x0;false;false
```
But when I decomment the line and set `caret=0x000000;0x0;false;false`, nothing changes. Even if I change the caret width to 0, trying to make it invisible, the settings are not applied. Of course I loaded the new saved configuration, also tried to close and reopen the application, but it's the same.
It's very difficult to understand how to change this settings. Unfortunately also on this point Kate is better, even if having too many graphical preferences can lead to confusion.
--
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/2744
Hi,
I'm getting this error from the compilation of PrettyPrinter
```
CC pretty_printer_la-PluginEntry.lo
In file included from /usr/include/unicode/umachine.h:52,
from /usr/include/unicode/utypes.h:38,
from /usr/include/unicode/ucnv_err.h:88,
from /usr/include/unicode/ucnv.h:52,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from PluginEntry.h:32,
from PluginEntry.c:28:
PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers
55 | typedef unsigned int bool;
| ^~~~
In file included from PluginEntry.h:34,
from PluginEntry.c:28:
PrettyPrinter.h:55:1: warning: useless type name in empty declaration
55 | typedef unsigned int bool;
| ^~~~~~~
make[3]: *** [Makefile:664: pretty_printer_la-PluginEntry.lo] Error 1
```
I guess that this may be because the bool type is defined somewhere else?
Removing the typedef and including stdbool.h fixed it for me, but AFAIK it requires C99.
--
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/1059
features:
set page num position (e.g. center) for printing,
and do not print line wrapping char
margin et paragraph spacing 's setting for printing etc.
so that, i don't need libreoffice to get a formated pdf.
thanks.
--
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/2743
Thanks once more for such a great editor!
_**Intro**_
Working in dark mode in the MacOs system (and probably other systems too) it is annoying with a single application that does not adhere, and that does not have an obvious way of changing to dark mode. It is possible that I have missed how to do this
Changing color theme works. BUT, it is only the text area that changes (all the rest of the GUI is light).
_**Digging around, I found that dark mode is in principle implemented, and that there are indeed two different css:**_
/Applications/Geany.app/Contents/Resources/share/themes/Mojave-light-solid/gtk-3.0/gtk.css
/Applications/Geany.app/Contents/Resources/share/themes/Mojave-light-solid/gtk-3.0/gtk-dark.css
but I am not aware of a way to tell Geany which one should be active (gtk.css is on by default)
_**What works:**_ It is possible to rename gtk-dark.css to gtk.css, and then Geany looks beatiful in Dark mode.
_**Request:**_ Listen to the system setting, with option to override to dark/light mode from the settings menu. As a last resource (not as good) allow and document a "less hacky" way to change to dark mode, such as a setting in geany.conf
(Tested on Geany 1.36 with GTK+ v3.24.10 and Glib v2.60.6 runtime libraries)
--
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/2742
Hi,
Arch linux,
```
geany --version
geany 1.37.1 (built on 2021-01-05 with GTK 3.24.24, GLib 2.66.4)
```
with all plugins disabled,
If i edit file /usr/share/geany/filedefs/filetypes.go and add :
```
NF_02_LB=Install 3
NF_02_CM=go install
NF_02_WD=
```
geany correctly display this item in build menu,
but if i made these edits in ~/.config/geany/filedefs/filetypes.go,
these changes are not in build menu,
but changes for FT_xx_xx and EX_xx_xx are there, only NF are missing.
Regards
--
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/2740
Geany needs me to press the same key twice to register it once. Note that this only happens on certain keys, like comma or a period.
--
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/2739