From 6363844dc69fa263aa6b2d6ce8b4b4feb1d21a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 9 Aug 2020 11:45:41 +0200 Subject: [PATCH 1/3] FAQ: Minor formatting and rewording --- page_content/documentation/faq.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/page_content/documentation/faq.md b/page_content/documentation/faq.md index 6278a5c..2fcb6a8 100644 --- a/page_content/documentation/faq.md +++ b/page_content/documentation/faq.md @@ -27,7 +27,7 @@ For reverse incremental search, start a forward search then use your key for `Fi ## Can I add custom filetypes by creating a filetypes.foo configuration file? -You can add a filetypes.Name.conf file with Geany 0.19 and use an existing +You can add a `filetypes.Name.conf` file and use an existing filetype's syntax highlighting and tag parsing. See https://www.geany.org/manual/index.html#custom-filetypes. @@ -39,8 +39,10 @@ Please see the [HACKING][1] document. ## Can I extend Geany myself? -Yes! You can write your own plugins in C. You can also write Lua scripts -for Geany using the Lua plugin. See the [Plugins][2] page. +Yes! You can write your own plugins in C, in Lua (using the [GeanyLua][10] plugin) +or in Python (using the [GeanyPy][11] plugin). +For more information about plugins, see the [Plugins][2] page. + Also note the `Format->Send Selection` to command is useful for piping text through a script/external program. @@ -74,8 +76,9 @@ This is even better because the remote filesystem will become available for all your applications transparently. If you have GVfs (Gnome >= 2.22) you may already have a Fuse mountpoint -in `~/.gvfs/` which you can tell Geany to open remote files from, after -mounting the connection from a Gnome program such as nautilus. +in `~/.gvfs/` (or `/run/user//gvfs`) which you can tell Geany to +open remote files from, after mounting the connection from a Gnome program +such as Nautilus. To avoid slow responsiveness, it is recommended to disable checking files for changes to not query the file's modification time. To do so, open the @@ -101,9 +104,7 @@ shortcut for the desired UI language. To force English (`en`) UI language, for example, right-click on Geany shortcut to open the Shortcut Properties dialog and in the `Target` field put: -``` - cmd.exe /c "set ^"LANG=en^" & start /D ^"C:\installed-path\Geany\bin\^" geany.exe" -``` + cmd.exe /c "set ^"LANG=en^" & start /D ^"C:\installed-path\Geany\bin\^" geany.exe" Adjust the `C:\installed-path\Geany` according to your Geany installation. Take care to put the `^"` (carrot-quote) as shown. This is the way to escape @@ -144,10 +145,8 @@ the `Exec` line. It's possible it's a bug, but first try this: -``` make distclean ./autogen.sh -``` If there are still errors, contact the mailing list. @@ -161,7 +160,7 @@ For details about this change and download information, see [GTK symbol completion data removed from Geany 0.16][7]. -## How can I use urxvt or konsole as terminal application when executing files? +## How can I use `urxvt` or `konsole` as terminal application when executing files? Open the preferences tab, Tools tab and enter the following command in the field Terminal: @@ -198,7 +197,7 @@ Please first have a look at our [comprehensive manual][3]. If that doesn't answer your question, the quickest and best way is to ask on the [mailing list][9]. -[1]: /documentation/hacking/ +[1]: https://geany.org/manual/hacking.html#adding-a-filetype [2]: /support/plugins/ [3]: /documentation/manual/ [4]: https://wiki.geany.org/ @@ -207,4 +206,5 @@ If that doesn't answer your question, the quickest and best way is to ask on the [7]: /news/gtk-symbol-completion-data-removed-from-geany-016/ [8]: https://www.geany.org/manual/index.html#indentation [9]: /support/mailing-lists/ - +[10]: https://plugins.geany.org/geanylua/geanylua-index.html +[11]: https://plugins.geany.org/geanypy.html From 495aa1c2ca878463cfc0eaedef39d5554423f63c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 9 Aug 2020 11:47:23 +0200 Subject: [PATCH 2/3] FAQ: Remove old items about outdated Geany versions --- page_content/documentation/faq.md | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/page_content/documentation/faq.md b/page_content/documentation/faq.md index 2fcb6a8..4ee4f64 100644 --- a/page_content/documentation/faq.md +++ b/page_content/documentation/faq.md @@ -56,13 +56,6 @@ There is a tool for configuring color schemes, and a set of dark color schemes available can be found in the [Wiki][4]. -## The vertical scrollbar scrolls over the document and doesn't stop at the last line. What's wrong? - -For Geany 0.13 and 0.14, this is enabled by default and allows appending text with the -last lines drawn at the top of the view. -Since Geany 0.15, it is off by default and you can configure it in Geany's preferences dialog. - - ## How can I contribute to Geany? See [Contribute to Development][5]. @@ -83,8 +76,7 @@ such as Nautilus. To avoid slow responsiveness, it is recommended to disable checking files for changes to not query the file's modification time. To do so, open the preferences dialog and set `Disk check timeout` in the Files tab to 0 which -will disable it at all. Since Geany 0.16 disk file changes are always disabled -for remote files, so there is no need to disable this setting with Geany 0.16. +will disable it at all. ## How can I change the language of the user interface? @@ -151,15 +143,6 @@ It's possible it's a bug, but first try this: If there are still errors, contact the mailing list. -## Since Geany 0.16, GTK/GLib symbol completion is broken, why? - -The symbol completion data for GTK/GLib symbols are just not in the default distribution anymore. -Instead they can be downloaded separately besides other tag files. - -For details about this change and download information, see -[GTK symbol completion data removed from Geany 0.16][7]. - - ## How can I use `urxvt` or `konsole` as terminal application when executing files? Open the preferences tab, Tools tab and enter the following From 317ca2c543390694e9fbab71bbd659bedf4d95c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 9 Aug 2020 12:00:51 +0200 Subject: [PATCH 3/3] FAQ: Add new item about invisible underscore in Geany This makes the issue in https://github.com/geany/geany/issues/2502 more transparent and offers workarounds. --- page_content/documentation/faq.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/page_content/documentation/faq.md b/page_content/documentation/faq.md index 4ee4f64..506a0cb 100644 --- a/page_content/documentation/faq.md +++ b/page_content/documentation/faq.md @@ -11,6 +11,29 @@ of the core project developers to make it do so. And if really necessary, there is a Vim-mode plugin: https://plugins.geany.org/vimode.html +## Geany does not display underscores anymore + +On some systems in combination with some fonts (e.g. "DejaVu Sans Mono" on Ubuntu but +also others), Geany does not properly display underscore (`_`) as well as other +characters which are drawn at the very top or the very bottom of the line. + +There are a couple of ways to work around the issue: + + - try to choose another font + - change the line height via: `Tools` -> `Configuration Files` -> `filetypes.common` + and add or update the following section: + + [styling] + line_height=1;1; + + This will add a little extra space at the top (first value) and bottom (second value) + on each line (see https://www.geany.org/manual/dev/index.html for more details). + + +Future versions of Geany (probably Geany 1.37) will fix the issue permanently. +More details and current progress can be tracked in https://github.com/geany/geany/issues/2502. + + ## Can Geany show me multiple files at the same time? Geany provides a tabbed main editor window, but does not support @@ -76,7 +99,7 @@ such as Nautilus. To avoid slow responsiveness, it is recommended to disable checking files for changes to not query the file's modification time. To do so, open the preferences dialog and set `Disk check timeout` in the Files tab to 0 which -will disable it at all. +will disable it. ## How can I change the language of the user interface?