If the long line marker is disabled in *Preferences* → *Editor* → *Display*, the keybinding for *Format* → *Join lines* doesn’t work.
Unlike *Reflow lines/block*, the *Join lines* operation does not need to know anything about long lines, so shouldn’t require the marker.
--
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/1591
### Suggestion
The debug information at `Help > Debug Messages` should report the Scintilla version Geany was linked against.
Lexilla should have its own entry as well, given its [divergent release cadence].
### Example
![geany_enhanced_debug_msgs](https://user-images.githubusercontent.com/59004801/150536019-eb8a50ea-7eea-46ee-9ecc-f6c77c618633.png)
### Motivation
Issues could be more easily traced to a precise library version.
Users could locate this otherwise obscure information without leaving the app.
### Implementation
The main problem is how to expose the libraries' versions at compile time. I've had some luck with the following approach:
1. write a script to parse the content of `scintilla[/lexilla]/version.txt` and return the appropriate version (based on input) in semver format
2. call the script in `configure.ac` via the [`m4_esyscmd`] macro, assigning the script output to preprocessor definitions for each version
3. use the definitions in `src/libmain.c` to extend Geany's debug output
### Questions
My concern is that step _2_ may be disruptive to the build workflow. Some potential issues that come to mind:
- builds targeting Windows would need access to a POSIX shell (if they don't already . . . I've never tried to package Geany 😊)
- calling `m4_esyscmd` on a failing script does not crash `autoreconf` [^1]. But aborting in that case might be better than generating an incomplete `config.h` header
This thread is here to gather input, especially with regard to the acceptability of using `m4_esyscmd` in the build.
A search for similar topics found only an open RFC about [documenting lexer properties].
[^1]: "The error output of _shell-command_ is not a part of the expansion: it will appear along with the error output of m4." <https://www.gnu.org/software/m4/manual/html_node/Esyscmd.html#index-esyscmd>
[divergent release cadence]: https://groups.google.com/g/scintilla-interest/c/1VWWqoJ_kmA/m/mfqpF1tjAgAJ
[`m4_esyscmd`]: https://www.gnu.org/software/m4/manual/html_node/Esyscmd.html#index-esyscmd
[documenting lexer properties]: https://github.com/geany/geany/issues/2517
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3108
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3108(a)github.com>
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3173
-- Commit Summary --
* Add batch file ctags parser
-- File Changes --
M ctags/Makefile.am (1)
A ctags/parsers/dosbatch.c (44)
M meson.build (1)
M src/filetypes.c (2)
M src/tagmanager/tm_parser.c (10)
M src/tagmanager/tm_parser.h (1)
M src/tagmanager/tm_parsers.h (3)
M tests/ctags/Makefile.am (1)
A tests/ctags/simple.bat (30)
A tests/ctags/simple.bat.tags (5)
M tests/meson.build (1)
-- Patch Links --
https://github.com/geany/geany/pull/3173.patchhttps://github.com/geany/geany/pull/3173.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3173
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3173(a)github.com>
Please consider adding an <b>Unflow paragraph</b> command - the opposite of
<b>Reflow Lines/Block</b> The use case for this is to make it easy to type in
<b>Geany</b> and then paste the results into the Gmail or Github editor
Incidentally, <b>Reflow Lines/Block</b> indicates that the conception of a
block of line is already endogenous to <b>Geany</b> and thus I believe that the
concept of extending the highlighting of lines to the line numbers columns
should be considered an extension of an existing capability
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/802
Hi,
I changed the shortcut of join lines to `Ctrl + J`, then tried to join lines.
Seems following behavior exists:
- It will join all following lines, till a line start with blank char (while space / new line).
- If the current line start with blank char, it won't join.
Is it possible to customize to following behavior:
- Only join current line and the next line, despite the content of this or next line.
This seems to be the behavior of vim with `Shift` + `J`.
--
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/2031
This will add some internal linking (Terminal/browser) ... we got an open PR waiting to add Genea to Haiku: https://github.com/haikuports/haikuports/pull/7078
I still haven't figured out an issue on the icons, but I'm sure someone in our team will get around to that.
I also added gtkspell to our ports and seems to be working OK in Geany
![Geany6](https://user-images.githubusercontent.com/16057090/182012321-99b79f8c-2228-40c7-ab07-7937cb586574.png)
A PR for the plugins is atm still in progress but should be ready soon.
![Geany7](https://user-images.githubusercontent.com/16057090/182012300-4c0f77a8-0921-4cce-ba42-c7c39e62a2af.png)
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3242
-- Commit Summary --
* Add support for Haiku
-- File Changes --
M src/keyfile.c (7)
-- Patch Links --
https://github.com/geany/geany/pull/3242.patchhttps://github.com/geany/geany/pull/3242.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3242
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3242(a)github.com>
Is there a way to enclose selected text in HTML tags with a keyboard shortcut?
For example, for selected `text`, after using a shortcut it becomes `<(cursor)>text</(cursor)>`,
and then after typing `tag` and pressing space (or using any key moving the cursor or inserting whitespace) it becomes `<tag (cursor)>text</tag>`.
--
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/1863
## Steps to reproduce:
1. Open a document
1. File->Save As
1. Notice an interesting file in the list of files in the dialog
1. Open interesting file from the command-line (in another program) with `geany interesting-file`. The file opens in the background underneath the Save As dialog.
1. Type a new filename and click save
The `interesting-file` document will have been saved with the new filename. The original document will still be open, unsaved.
## Cause
`handle_save_as` is dialogs.c uses `document_get_current`.
--
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/2599
In the Build Commands dialog there are additional commands under `Conf commands`, `Independent commands` and `Execute commands` that are not available to setup in Preferences|Keybindings. It would be very useful to be able to set keybindings for these. Further to this the command names in Build commands can be modified but this is not reflected in Keybindings preferences.
Just a quick thought too; a button linking to the keybindings prefecences would be a helpful addition to the Build commands dialog.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/705
Please tell me how to set a short cut key for the highlighted menu item? Thanks!
![image](https://user-images.githubusercontent.com/7548378/121030052-09064500-c7a1-11eb-870d-661e9f72ee7d.png)
--
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/2821