[Github-comments] Re: [geany/geany] How to force Geany to open unknown files as plain text/ASCII? (Discussion #3687)

2023-11-18 Thread Enrico Tröger via Github-comments
One more addition: Geany could be changed to be able to handle any files (including NULL bytes, without a recognised encoding) but it would require a lot of efforts and it needs at someone who is willing and able to do this and also resources for for reviewing and testing. As said earlier, it

[Github-comments] Re: [geany/geany-plugins] Markdown Plugin Preview not working after starting geany with a file that was already opened the other day (#1062)

2023-11-18 Thread kevjonesin via Github-comments
FYI, FWIW, the plugin is still being offered in the Debian 12.2 repository on my MX Linux distro. Here's the repo listing as shown in aptitude: > i--\ geany-plugin-markdown > Description: markdown

[Github-comments] [geany/geany] How is implemented disabling GIO unsafe file saving in Geany? (Discussion #3697)

2023-11-18 Thread torontal7 via Github-comments
There is a pref in Geany: "use_gio_unsafe_file_saving". "Whether to use GIO as the unsafe file saving backend." If it is set to false, the creation of '.goutputstream-' files will be disabled. More info about the issue here:

[Github-comments] [geany/geany] Support GtkSourceView (Discussion #3695)

2023-11-18 Thread 3oheicrw via Github-comments
Let the users choose to use the syntax highlighting engine they prefer in `Preferences`. Scintilla is still the default syntax highlighting engine. The advantage of GtkSourceView is it's much easier to add support for new languages compared to Scintilla. -- Reply to this email directly or

[Github-comments] [geany/geany-plugins] geany-plugin-addons systray icon feature request: alternate collapse window to icon options (Issue #1293)

2023-11-18 Thread kevjonesin via Github-comments
At present I'm able to collapse the Geany window to the systray icon via a left mouse click upon the systray icon itself. Which on my system is located at the bottom of the screen in a tint2 panel running within MX Linux 23 FluxBox edition, a Debian based system. I'd like to be able to

[Github-comments] Re: [geany/geany] [RFC] API for LSP plugins (PR #3571)

2023-11-18 Thread Jiří Techet via Github-comments
@b4n Thanks for having a look at it! > I'm not fond of the implementation, but it might be a good first step. I'll > have to check the plugin to get a better grasp on some design decisions > maybe, but basically I think it'd be better to unify the current code instead > of having some if (lsp)

[Github-comments] [geany/geany] Update Pascal filedef and extension mappings (PR #3694)

2023-11-18 Thread rdipardo via Github-comments
filetypes.pascal - add line comments - pair the fpc compile command with another common Free Pascal utility [^1], instantfpc, to build and run the current file in a single step filetype_extensions.conf - add Lazarus project files (*.lpr) [^1]:

[Github-comments] [geany/geany] Support writing plugins in Vala (Discussion #3696)

2023-11-18 Thread 3oheicrw via Github-comments
Currently, Geany plugins can only be written in C, Python, and Lua. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3696 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Other warnings hidden inside all the ELEMENT ones. (Issue #3689)

2023-11-18 Thread elextr via Github-comments
> IIUC > [C23](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf#subsection.6.9.1) > [does](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2510.pdf) have that > C++ feature (thanks > [Wikipedia](https://en.wikipedia.org/wiki/C23_(C_standard_revision)#Syntax) > for the links) Ok,

[Github-comments] Re: [geany/geany] [RFC] API for LSP plugins (PR #3571)

2023-11-18 Thread Jiří Techet via Github-comments
> Yes its expected, LSPs are compilers (or interpreters in Pythons case, bless > its little cotton socks), they need the compiler info, for C/C++ particularly > the -I options. But thats a problem with the language and implementations, > not the tool. Just a small note - we are all, me

[Github-comments] Re: [geany/geany] [RFC] API for LSP plugins (PR #3571)

2023-11-18 Thread elextr via Github-comments
> My biggest disappointment was the lack of good servers or at least servers > not being worked on by a single guy. I expected to be able to use some vscode > servers but this isn't possible. Servers are going to be best when they are supported by the language community like gopls. AFAIK

[Github-comments] Re: [geany/geany-plugins] Error: Most Plugins not binary compatible with this release of geany. Therefore not available in Plugin Manager Dialog (Issue #1292)

2023-11-18 Thread Enrico Tröger via Github-comments
On Windows, having multiple installations of Geany is not really supported. If I remember correctly, the Geany installer writes the installation directory (and so the path to the plugins location) into the registry. The Geany-Plugins installer reads this registry key to set the installation

[Github-comments] Re: [geany/geany] Portable mode without passing a cmdline param (Discussion #3672)

2023-11-18 Thread Enrico Tröger via Github-comments
Actually on Windows, Geany is binary relocatable. So what the OP requests should be possible in theory. But I don't think it's necessary to add anything to Geany itself. @eadmaster I suggest to test just putting the Geany installation directory to an USB drive or whatever medium you prefer and

[Github-comments] Re: [geany/geany] How it is implemented disabling GIO unsafe file saving in Geany? (Discussion #3697)

2023-11-18 Thread elextr via Github-comments
Geany does not disable the GIO behaviour, it simply does not use GIO code to save if the setting is false. Geany has three ways of saving files. For details see my PHD thesis (well its nearly as long) on the subject

[Github-comments] Re: [geany/geany] How it is implemented disabling GIO unsafe file saving in Geany? (Discussion #3697)

2023-11-18 Thread elextr via Github-comments
Closed #3697 as resolved. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3697 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Portable mode without passing a cmdline param (Discussion #3672)

2023-11-18 Thread elextr via Github-comments
> Actually on Windows, Geany is binary relocatable. @eht16 Is windows build with a relative PREFIX? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3672#discussioncomment-7609482 You are receiving this because you are subscribed to this thread.

[Github-comments] Re: [geany/geany-plugins] geany-plugin-addons systray icon feature request: alternate collapse window to icon options (Issue #1293)

2023-11-18 Thread elextr via Github-comments
1. the gtk status icon is a notification, it doesn't control anything, and it was deprecated back in 3.14 and Geany needs 3.24 2. the panel/systray icons are part of the window manager functionality, not under the control of the application, and controls like "iconify" are usually added to the

[Github-comments] Re: [geany/geany] Portable mode without passing a cmdline param (Discussion #3672)

2023-11-18 Thread eadmaster via Github-comments
> a little batch file in the directory to execute "bin/geany.exe > --config=portable_config" or something like this. the idea was to avoid using a launcher to have the editor in portable mode, i know currently this is the only option. > Actually on Windows, Geany is binary relocatable. For

[Github-comments] Re: [geany/geany] Support GtkSourceView (Discussion #3695)

2023-11-18 Thread elextr via Github-comments
Closed #3695 as resolved. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3695 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Support GtkSourceView (Discussion #3695)

2023-11-18 Thread elextr via Github-comments
GtkSourceView and Scintilla are two different libraries addressing the same use-case but with totally different ways of doing it, different APIs and different highlighting approaches (as you observed). They are not drop in replacements. Geany and plugins are entirely written around the

[Github-comments] Re: [geany/geany] Update Pascal filedef and extension mappings (PR #3694)

2023-11-18 Thread elextr via Github-comments
If the compile command is generating an executable there is no way of running it, instead of removing the run command add a second one. See [this](https://wiki.geany.org/howtos/configurebuildmenu). -- Reply to this email directly or view it on GitHub:

[Github-comments] Re: [geany/geany-plugins] geany-plugin-addons systray icon feature request: alternate collapse window to icon options (Issue #1293)

2023-11-18 Thread elextr via Github-comments
> I'm referring to the Geany icon to the lower right beside the volume icon in > the systray/notification area. The one enabled in the pictured Geany plugin > settings. Not to the other Geany icon further left along the bottom panel > amongst other running window icons. Ok, thats clearer.

[Github-comments] Re: [geany/geany-plugins] geany-plugin-addons systray icon feature request: alternate collapse window to icon options (Issue #1293)

2023-11-18 Thread kevjonesin via Github-comments
![image](https://github.com/geany/geany-plugins/assets/12547757/adf06794-8bb7-4a7c-82d6-77f9d702827e) I'm referring to the Geany icon to the lower right beside the volume icon in the systray/notification area. The one enabled in the pictured Geany plugin settings. Not to the other Geany icon

[Github-comments] Re: [geany/geany] Support writing plugins in Vala (Discussion #3696)

2023-11-18 Thread elextr via Github-comments
Plugins can be written in Vala, see https://github.com/geany/geany-plugins/tree/1.38.0/multiterm/src for example. That plugin was removed because it was never updated from GTK2, not because of anything Vala related AFAIK. -- Reply to this email directly or view it on GitHub: