now it's no problem with chinese
character and alphabet.
it's the problem with tab and spaces.
someone could try with indentation with 3 spaces, 4 spaces, 6 spaces, 7 spaces, 8 spaces.
at first, i think it's because to show a space between tabs, it's why it seems that it's ok with 3 spaces.
buy if your try tab's width is 8 spaces (less or more one space), you'll find it's cannot get well indentation.
test strings:
`測試測試測試測試測試測試測試測試測試測試測試測試
testtesttesttesttesttesttesttesttesttesttesttest
1122334455667788990011223344556677889900
abcdefghijklmnopqrstuvwxyz
ABCEEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz`



--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3710
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3710(a)github.com>
The `.mjs` extension is used by Node.js and others to denote JavaScript module files, unlike normal `.js` files these files are treated like ES6 modules by default.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3698
-- Commit Summary --
* Add `.mjs` extension for JavaScript
-- File Changes --
M data/filetype_extensions.conf (2)
-- Patch Links --
https://github.com/geany/geany/pull/3698.patchhttps://github.com/geany/geany/pull/3698.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3698
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3698(a)github.com>
If I open geany, it opens perfectly fine. With a warning, but it opens well.
```sh
(geany:28934): Gtk-WARNING **: 20:21:18.442: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
```
But if I open it with an argument, which is a text file, it doesn't open. And the warning doesn't appear either.
```sh
geany /usr/share/doc/geany/README
```
Why can this be?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3709
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3709(a)github.com>
Geany asks me for version 3.20, but it says I have 2.24... Gtk3 is installed and Gtk4 too.
How do I know which system file version 2.24 comes from so I can change it?
```sh
(geany:23563): Geany-ERROR **: 19:46:30.998: Cannot create user-interface: /usr/share/geany/geany.glade: required gtk+ version 3.20, current version is 2.24
`trap' para punto de parada/seguimiento
```
And a window appears:
```sh
Geany no puede iniciarse.
/usr/share/geany/geany.glade: required gtk+ version 3.20, current version is 2.24
```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3708
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3708(a)github.com>
When session opening starts, this signal is emitted with parameter TRUE, when it stops, with FALSE.
This gives plugins information e.g. whether document opening happens as a result of user action or whether it's part of initial session opening.
For the LSP plugin this is used to detect the finally displayed document for which the server is started, otherwise if "document-open" is used, it would start servers for all open document filetypes immediately on Geany start which is unnecessary and could slow start time.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3707
-- Commit Summary --
* Add "session-opening" signal emitted when session opening starts/stops
-- File Changes --
M doc/pluginsignals.c (12)
M src/geanyobject.c (7)
M src/geanyobject.h (1)
M src/keyfile.c (4)
M src/libmain.c (16)
M src/main.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/3707.patchhttps://github.com/geany/geany/pull/3707.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3707
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3707(a)github.com>
This patch adds a simple API allowing LSP plugins to take control of certain Geany built-in features and disabling their implementation in Geany. Currently, autocompletion, calltips, and going to definition/declaration is supported.
Plugins should define the Lsp struct, fill the pointers to the functions implementing the features they override, and register themselves using the lsp_register() call. Similarly, they should unregister themselves using lsp_unregister() when they don't want to provide the Lsp features any more, or, latest, when the plugin gets unloaded.
Each of the currently supported features is implemented using two functions - one checking whether Lsp plugin will override Geany's behavior of this feature, and the other function implementing the feature. For instance for autocompletion:
- autocomplete_available(doc) should return TRUE if the plugin performs autocompletion for the doc's filetype. This function is used to deactivate Geany's autocompletion when the Lsp plugin supports it.
- autocomplete_perform(doc) calls the corresponding interface of the LSP server (which responds asynchronously so when autocomplete_perform() is executed, the results won't be available yet)
The Lsp struct is padded with an array large enough to allow additions of many more functions to the struct and allowing binary compatibility with older LSP plugin versions not implementing all the functions. It's just mandatory that all plugins zero-initialize the allocated Lsp struct (either by creating it on the heap or by allocating it using g_new0() or similar function). NULL pointers in this struct are handled gracefully.
The current implementation supports only a single LSP plugin. However, if in the future arises the need for more LSP plugins running in parallel (e.g. a specialized LSP plugin for certain language together with the current "generic" LSP plugin), the implementation could be extended to support a list of Lsp structs and trying to call the functions defined by them one by one. The current interface should already be sufficient to support such an implementation.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3571
-- Commit Summary --
* Add API for LSP plugins
-- File Changes --
M meson.build (3)
M src/Makefile.am (2)
M src/editor.c (32)
M src/keybindings.c (11)
A src/lsp.c (107)
A src/lsp.h (59)
M src/symbols.c (9)
-- Patch Links --
https://github.com/geany/geany/pull/3571.patchhttps://github.com/geany/geany/pull/3571.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3571
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3571(a)github.com>
I tried to code a plugin for copilot but soon realized that your api doesn't allow low level control of scintilla or I'm too noob to realize how. Copilot only needs to grab context from current cursor position (say 200 chars before and after), then it will suggest autocompletion options. Btw, Copilot is not the only tool for the task, I plan to add and OpenAI backend that can be gracefully replaced by LocalAI for 100% private and off-line coding (so no IP issues). Devs can choose to train/finetune their own LLM if they wish, plug it into LocalAI and let the geany plugin take care of the rest.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3543
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3543(a)github.com>
After successful installation of geany-plugins-2.0_setup.exe with standard settings only a few plugins are available in Geany.
Error message says plugins are not binary compatible with this release of geany and needs to be recompiled.
In previous version 1.38 already some plugins were missing like git-changebar but now lot more.
Both Geany and Geany-Plugins are installed in Windows user directory.

--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1292
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1292(a)github.com>
It would be so perfect to have those elements in the Customize Toolbar, so one could place them in the toolbar for a fast access:
- Show Line Endings
- Show White Space
- Line Wrapping
- Show Line numbers
- Hide/show menu bar (or even more perfect: menu-symbol, like in Firefox)
Or, is there a tutorial how to add elements in the Customize Toolbar?
By the way, the White Spaces are too small and nearly invisible.
--
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/2690