[Github-comments] Re: [geany/geany] Update Scintilla to version 5.3.6 (PR #3551)

2023-09-23 Thread elextr via Github-comments
You should be able to set options in the `[lexer_proterties]` section of the filetype file, so you can try all those out and see what they do. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3551#issuecomment-1732500449 You are receiving this because you

[Github-comments] Re: [geany/geany] Update Scintilla to version 5.3.6 (PR #3551)

2023-09-23 Thread rdipardo via Github-comments
Speaking of filedefs, has anyone had a chance to look at the suite of new properties the shell lexer acquired in recent versions? Most of them are for embedded variables, for example [inside here docs][1]: https://github.com/geany/geany/assets/59004801/045a6d60-ba67-4875-9948-c1d62ddfeac7"; />

[Github-comments] Re: [geany/geany] Update Scintilla to version 5.3.6 (PR #3551)

2023-09-23 Thread rdipardo via Github-comments
@elextr, yes, I see now the commit only touched filedefs (after expanding the diffs that GitHub's device fingerprinting scripts decided to collapse for my diminutive screen). At least the Prolog enthusiasts now have a mentioned thread to follow, in case they want to know what's blocking #3171.

[Github-comments] Re: [geany/geany] Feature proposal: Improved ("tabular") overwrite mode (Issue #3559)

2023-09-23 Thread elextr via Github-comments
> I mean what happens when you press the "Insert" key and the status bar > changes from "INS" to "OVR" and the cursor changes to an underscore > (apparently this is documented as "overtype" and not "overwrite"). Ahh, ok, overtype is entirely within Scintilla, the only thing Geany does with it i

[Github-comments] Re: [geany/geany] Feature proposal: Improved ("tabular") overwrite mode (Issue #3559)

2023-09-23 Thread cousteau via Github-comments
> What do you mean by "overwrite mode"? I mean what happens when you press the "Insert" key and the status bar changes from "INS" to "OVR" and the cursor changes to an underscore (apparently this is documented as "overtype" and not "overwrite"). > Something like this could possibly be implemen

[Github-comments] Re: [geany/geany] SystemVerilog filetype syntax highlighting (Issue #3511)

2023-09-23 Thread elextr via Github-comments
> I don't know what's the policy on file extensions in this project; is it OK > to add file extensions even if they're not exactly the same file type? To emphasise, adding an extension tells Geany to treat `*.sv` files as Verilog, not that Geany supports SystemVerilog. Probably better would be

[Github-comments] Re: [geany/geany] SystemVerilog filetype syntax highlighting (Issue #3511)

2023-09-23 Thread cousteau via Github-comments
You can add the `*.sv` extension for Verilog in Tools > Configuration Files > file_extensions.conf, so that whenever you open a .sv file in Geany it gets detected and highlighted as a Verilog file. But I'm not sure having Geany include that extension association by default would be a good idea.

[Github-comments] Re: [geany/geany] Feature proposal: Improved ("tabular") overwrite mode (Issue #3559)

2023-09-23 Thread elextr via Github-comments
What do you mean by "overwrite mode"? AFAICT Geany does not have a deliberate overwrite mode, so if something does overwrite it is without Geany's knowledge, which is why many features ignore it, it does not exist. Something like this could possibly be implemented as a plugin. -- Reply to t

[Github-comments] Re: [geany/geany] Update Scintilla to version 5.3.6 (PR #3551)

2023-09-23 Thread elextr via Github-comments
@rdipardo I don't understand, the commit by @kugel- is the mapping of lexer entities to styles within Geany, the patch by @zufuliu is to Scintilla, they are totally different and not interchangable? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3551#i

[Github-comments] [geany/geany] Feature proposal: Improved ("tabular") overwrite mode (Issue #3559)

2023-09-23 Thread cousteau via Github-comments
When in overwrite mode, some actions still behave as in insert mode (will cause text to the right of the cursor to move right instead of staying in place and having part of it overwritten). Furthermore, other actions that are "complementary" in insert mode are not in overwrite mode. For example

[Github-comments] Re: [geany/geany] Unified colour scheme (#2196)

2023-09-23 Thread elextr via Github-comments
> All apps I'm using adjust colors automatically - except the Geany editor > widget. Most websites I visit regularly adjust automatically, too. I would expect your browser does not turn pages dark when the desktop theme changes to a dark theme, it doesn't here. AFAICT many people want to keep t

[Github-comments] Re: [geany/geany] Update Scintilla to version 5.3.6 (PR #3551)

2023-09-23 Thread rdipardo via Github-comments
> [Handle new styles for strings in R (rawstrings, backticks, > espaces](https://github.com/geany/geany/pull/3551/commits/37b15b0cf9739c04ff50f53944e2874b095e52b6) I would defer to [@zufuliu's patch][0] as being simpler and slightly optimizing the iteration count. IIUC, [it's Geany's policy][1]

[Github-comments] Re: [geany/geany] Unified colour scheme (#2196)

2023-09-23 Thread snm247 via Github-comments
> how often do you switch from dark to light? Usually multiple times a day, depending on my needs :) I defined a keyboard shortcut for this to make it easy to toggle between light and dark mode. All apps I'm using adjust colors automatically - except the Geany editor widget. Most websites I vis