[Github-comments] Re: [geany/geany] Fix read past end of string in utils_get_initials() (PR #3844)

2024-04-17 Thread elextr via Github-comments
> this is (for better or for worse) a util function Well only within Geany, its not available to plugins. Its just located in a file called `utils.c` but its not really a util, it seems unlikely that any other part of Geany will need a function that returns the _byte_ (not character) after ASCI

[Github-comments] Re: [geany/geany] Fix read past end of string in utils_get_initials() (PR #3844)

2024-04-16 Thread elextr via Github-comments
This is a function that has only a single user but has been pulled out and put in another file to make life more complicated instead of doing it locally where the conditions of the parameters are visible [end rant]. The overflow is when name is `\0` and the use probably thinks it is never `\0`

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread elextr via Github-comments
There are some reports of weirdnesses with XWayland and GTK, which have been fixed by running Geany as Wayland as I mentioned. But havn't had any reports that can be traced to real xorg and GTK (that my quick search on Geany issues found anyway), and it is just fine on my Linux Mint (which is b

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread elextr via Github-comments
Sounds like something is wrong with your brand new Ubuntu. Are you running Wayland? If so try `GDK_BACKEND=wayland geany`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3843#issuecomment-2058899522 You are receiving this because you are subscribed

[Github-comments] Re: [geany/geany] geany crashes on ubuntu/mate 22.04 when attempting to select text (Issue #3843)

2024-04-16 Thread elextr via Github-comments
Its hard to say anything except that the problem occurs inside the X11 library called from GDK called from GTK during the initialisation of the displays called from Geany at line `#11`. We don't even know the version of Geany. -- Reply to this email directly or view it on GitHub: https://githu

[Github-comments] Re: [geany/geany] How to sync geany setting of Windows to Linux one (Discussion #3842)

2024-04-15 Thread elextr via Github-comments
You can copy the whole configuration directory back and forwards but the experience might not be totally acceptable since: 1. session files, recent files, and other paths are likely to be in different locations 2. tools settings may not be the same between Windows and Linux 3. some settings may

[Github-comments] Re: [geany/geany] color scheme: function color (Discussion #3840)

2024-04-15 Thread elextr via Github-comments
The Php lexer (part of the HTML lexer) sets the styling, but only has one word list (see [here](https://github.com/geany/geany/blob/32bbe106195f953e980bfa756b5a7ccad1ee209d/scintilla/lexilla/lexers/LexHTML.cxx#L724)) which is used as you noticed for the Php words. The lexer is purely syntactic

[Github-comments] Re: [geany/geany] color scheme: function color (Discussion #3840)

2024-04-15 Thread elextr via Github-comments
Not knowing what language you are using its hard to help, does the lexer recognise style something as "function" ? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3840#discussioncomment-9117972 You are receiving this because you are subscribed to

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-14 Thread elextr via Github-comments
@ntrel You seem to have misunderstood the point of my objection. The problem was the process, merging a change before others had the chance to assess it, not that there was a technical problem with the PR. Since as I noted I had not had time to see its contents I could not be commenting on the

[Github-comments] Re: [geany/geany-plugins] Devhelp: Google Code Search removal (#93)

2024-04-14 Thread elextr via Github-comments
@frlan as devhelp has been removed just close it. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/93#issuecomment-2054307272 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] reload dialog doesn't show up anymore (Issue #3839)

2024-04-14 Thread elextr via Github-comments
Does Filezilla set the file modified date/time of the file to the remote file date/time each upload? If so it won't change if the file on disk has not changed since the last upload (the scenario you describe above "... but haven't saved it"). As Geany uses the modified date/time of the file t

[Github-comments] Re: [geany/geany] [build] Improve custom command dialog (PR #3833)

2024-04-14 Thread elextr via Github-comments
LGBI. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3833#issuecomment-2054035862 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] [plugins/filebrowser] Change external open default to `xdg-open` (PR #3815)

2024-04-14 Thread elextr via Github-comments
> (I did the cinnamon install and I don't have nautilus). Welcome to the light ;-) As the default `xdg-open %d` opens a file manager then thats safe, it won't open some random software on the users system. If they change the setting they are responsible for the consequences. So my opinion is

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-14 Thread elextr via Github-comments
> It was open for a week Availability of our contributors is limited, a week is nowhere near time that guarantees people have time to notice, and review it. Most only have weekends, but if they are busy one weekend they have missed your PR. > you didn't object to the change after seeing it

[Github-comments] Re: [geany/geany] Add options to control scrollwheel behavior (zoom and scroll lines) (PR #3835)

2024-04-14 Thread elextr via Github-comments
@elextr commented on this pull request. > +void sci_scroll_lines(ScintillaObject *sci, gint lines) +{ + SSM(sci, SCI_LINESCROLL, 0, (uptr_t) lines); +} + + @b4n I am normally the one complaining about single use functions where a lump of functionality is broken out for no good rea

[Github-comments] Re: [geany/geany] Add options to control scrollwheel behavior (zoom and scroll lines) (PR #3835)

2024-04-14 Thread elextr via Github-comments
> hum… sounds hacky, but might happen to work, I don't know. Totally hacky :-). But if it works it keeps the scrolling under Scintilla's control and IIUC Scintilla makes attempts to match the environment scrolling speed. -- Reply to this email directly or view it on GitHub: https://github.com/

[Github-comments] Re: [geany/geany] Add options to control scrollwheel behavior (zoom and scroll lines) (PR #3835)

2024-04-13 Thread elextr via Github-comments
> The mouse wheel would look broken if scrolling stopped when control is > accidentally pressed. Hmm, ok, in that case is it safe for us to simply edit the event to remove the control mask then let it go to Scintilla, maybe @b4n knows, or you could try it. -- Reply to this email directly or vi

[Github-comments] Re: [geany/geany] Wrapping Compiler and Messages lines (Issue #3834)

2024-04-13 Thread elextr via Github-comments
I had a short time to try things. Based on your status window code, set `wrap-mode` and `wrap-width` (which is pixels not characters). Testing with status window on the right so the width can be changed with the pane separator sees wrapping happen fine at the set `wrap-width` or the window wid

[Github-comments] Re: [geany/geany] Add options to control scrollwheel behavior (zoom and scroll lines) (PR #3835)

2024-04-13 Thread elextr via Github-comments
@elextr commented on this pull request. > +void sci_scroll_lines(ScintillaObject *sci, gint lines) +{ + SSM(sci, SCI_LINESCROLL, 0, (uptr_t) lines); +} + + Disagree with @b4n, all Scintilla interfacing should go through wrappers so that changes Scintilla makes can be abstracted a

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-13 Thread elextr via Github-comments
@ntrel, where does anybody say they have tested or reviewed this? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3816#issuecomment-2053823635 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Add options to control scrollwheel behavior (zoom and scroll lines) (PR #3835)

2024-04-13 Thread elextr via Github-comments
Why is it transforming ctrl+scroll to scroll differently (as @b4n pointed out on the code) instead of doing nothing when `scrollwheel_zoom_disable` is set? On #2954 you say: > I have the editor font sent to a comfortable size. Many shortcuts consist of > combining the Control key with others.

[Github-comments] Re: [geany/geany] Wrapping Compiler and Messages lines (Issue #3834)

2024-04-13 Thread elextr via Github-comments
According to the GTK wrap-mode link in your OP the `wrap-width` property also needs to be set as well, its not in your WIP commit so unless its already set somewhere else in Geany it needs to be added. Note the Python code sets `wrap-width`. -- Reply to this email directly or view it on GitHub

[Github-comments] Re: [geany/geany] Backgroud color for selection (Discussion #3836)

2024-04-13 Thread elextr via Github-comments
The Scintilla editing widget Geany uses only recently added the capability with the new [element API](https://www.scintilla.org/ScintillaDoc.html#ElementColours), but Geany does not expose it, well written PRs that integrate it into colour schemes are welcome. -- Reply to this email directly

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-12 Thread elextr via Github-comments
> all I was saying was that wrapping is not always an improvement. Ok, true, which suggests having a menu item to turn it on and off quickly and easily, not a preference. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3816#issuecomment-2052987288 You a

[Github-comments] Re: [geany/geany] Add option to disable zooming (via the scroll wheel) (PR #2954)

2024-04-11 Thread elextr via Github-comments
Probably cleaner to make a new one -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/2954#issuecomment-2050941280 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Add option to disable zooming (via the scroll wheel) (PR #2954)

2024-04-11 Thread elextr via Github-comments
Just thinking about it again, rather than waiting for Scintilla to get the ctrl+scroll and then resetting it, a better way would be to intercept the event in Geany [here](https://github.com/geany/geany/blob/dbaf99e3528a2f9007c4ab0ced416bdd87c22574/src/editor.c#L4778) and not propagate it to Sci

[Github-comments] Re: [geany/geany] Can't define keyword who start with @ for syntax coloration (Issue #3830)

2024-04-11 Thread elextr via Github-comments
> who start by @, but I can't color them. The Rust lexer does not detect them as identifiers, its identifier code is: ```c++ static bool IsIdentifierStart(int ch) { return (IsASCII(ch) && (isalpha(ch) || ch == '_')) || !IsASCII(ch); } /* This isn't quite right for Unicode identifiers */

[Github-comments] Re: [geany/geany] Distinctness of white_space markers (Issue #3829)

2024-04-11 Thread elextr via Github-comments
The visible whitespace artefacts are drawn by Scintilla which only allows one foreground and one background setting to cover both spaces and tabs and it has no way of controlling the dot size. There is a setting to remove the head of the tab (so its just the horizontal line) which has not been

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-08 Thread elextr via Github-comments
> Often when doing Find in Files I'm not interested in any matches on long > lines (e.g. text files), I'm only interested in matches in code which are > almost always short lines. Wrapping would just add more vertical noise (in > this case). See your use-case and raise you a different use-case.

[Github-comments] Re: [geany/geany] Add 'Open Terminal' and 'Open Directory' to right click menu (PR #3813)

2024-04-08 Thread elextr via Github-comments
> The difference with opening a terminal or file manager from the desktop, is > that this opens it inside the same directory as the file, saving a whole lot > of time compared to manually navigating to the same directory. I knew that the file manager opened in the current file directory, but I d

[Github-comments] Re: [geany/geany] Fix Find in Files invalid directory error (PR #3818)

2024-04-08 Thread elextr via Github-comments
Agree, improving input validation is a better solution since the command return error does not actually identify the error. LGBI -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3818#issuecomment-2043949401 You are receiving this because you are subscrib

[Github-comments] Re: [geany/geany] [RFC] Enable keyboard searching for Compiler and Messages tree views (PR #3823)

2024-04-08 Thread elextr via Github-comments
Don't know why its disabled, perhaps there were problems on GTK2. But if it works ok why not, finding "required from here" in 3000 lines of C++ errors from one misplaced character could be very useful :grin:. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/

[Github-comments] Re: [geany/geany] Windows: Geany does not update the UI text to be white on dark background/dark gtk-theme (Issue #3827)

2024-04-08 Thread elextr via Github-comments
There is probably something wrong with the theme, note the text in the document tree is white. Customisations can be put in `Tools->Configuration Files->geany.css` but as this project isn't responsible for the theme we can't advise what you need to change, you will need to look at the theme and

[Github-comments] Re: [geany/geany] Change bar all green after reload (Issue #3824)

2024-04-08 Thread elextr via Github-comments
If I read the linked notepad issue correctly notepad can't undo the reload, so truncating there makes sense, but Geany can undo the reload (depending on the option but its default is true IIRC) like Scite. So as Neil says on the Scintilla issue, (thanks for finding, I thought I had seen it some

[Github-comments] Re: [geany/geany] [Input Dialog refactor] Replace 5 function parameters with 2 (PR #3826)

2024-04-08 Thread elextr via Github-comments
@elextr approved this pull request. Agree its a better idea to put the common parts in the shared function and the different parts in the callers. Not tested but LGBI. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3826#pullrequestreview-1987842008

[Github-comments] Re: [geany/geany] [Make Custom Target] Always put a space between command and argument (PR #3825)

2024-04-08 Thread elextr via Github-comments
@elextr requested changes on this pull request. The space is currently only added to pre-0.19 formats, so adding it to all formats is an incompatible change. It assumes that the user is typing a full argument as they are required to do pre-0.19 but post 0.19 formats allow them to only have to

[Github-comments] Re: [geany/geany] Change bar all green after reload (Issue #3824)

2024-04-08 Thread elextr via Github-comments
What should happen on undo of the reload? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3824#issuecomment-2043777058 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany-plugins] Line Operations plugin outputs "Value: 0" to terminal when Geany launches (Issue #1322)

2024-04-07 Thread elextr via Github-comments
Looks like a debug print was left in [here](https://github.com/geany/geany-plugins/blob/a8f26ab20668206588aac8ffd3f56045575bebd6/lineoperations/src/lo_prefs.c#L120) -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1322#issuecomment-2041817054 Yo

[Github-comments] Re: [geany/geany] Meaning of "Value: 0" in terminal seems to be undocumented (Issue #3822)

2024-04-07 Thread elextr via Github-comments
It not going to be harmful, just you will miss any other messages that come from libraries like GTK, although most of them should be stderr not stdout. And after all when Geany is run from the desktop menu stdout/stderr messages are usually lost, so its no worse. -- Reply to this email direct

[Github-comments] Re: [geany/geany] Meaning of "Value: 0" in terminal seems to be undocumented (Issue #3822)

2024-04-07 Thread elextr via Github-comments
Doesn't happen here. Try `geany -p` to see if its a plugin. If it is start with only one at a time enabled until you find which one then report on the geany-plugins repo. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3822#issuecomment-2041753901 Y

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-05 Thread elextr via Github-comments
I'm not so sure there is a "reason not to use wrap", you have made a speculation, but have you tried it? In Vscode wrapped error messages (G++) are still the crap the compiler gives, but at least there is no need to scroll side to side to try to figure out what its whinging about, its possible

[Github-comments] Re: [geany/geany] Document *Go to line* offsets (PR #3817)

2024-04-05 Thread elextr via Github-comments
@elextr approved this pull request. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3817#pullrequestreview-1982761782 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] [msgwin] Reset compiler/messages treeview width at start of build/search (PR #3816)

2024-04-05 Thread elextr via Github-comments
Or maybe [wrap](https://docs.gtk.org/gtk3/property.CellRendererText.wrap-mode.html) could be turned on. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3816#issuecomment-2039491302 You are receiving this because you are subscribed to this thread. Messa

[Github-comments] Re: [geany/geany] [plugins/filebrowser] Change external open default to `xdg-open` (PR #3815)

2024-04-05 Thread elextr via Github-comments
The existing command "nautilus" is a Gnome file manager, so its not likely to be available on non-gnome distros, so "xdg-open" is likely to be more portable, but is it doing the same thing? The (expletive deleted useless) nautilus [man page](https://linux.die.net/man/1/nautilus) doesn't say w

[Github-comments] Re: [geany/geany] Add 'Open Terminal' and 'Open Directory' to right click menu (PR #3813)

2024-04-05 Thread elextr via Github-comments
> shall I place the entries in say the 'Tools' menu? Well thats a short menu so a good candidate, although plugins add stuff to it too. Which raises the question, did you check that none of the plugins already does either of these? Especially Add Ons which has become a bit of a catch all :-)

[Github-comments] Re: [geany/geany] meson: correctly set WIN32 in config.h (PR #3660)

2024-04-04 Thread elextr via Github-comments
> This underlying issue has been fixed in upstream ctags repository. Ok, will get included when the ctags is next updated from upstream. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3660#issuecomment-2038623056 You are receiving this because you are s

[Github-comments] Re: [geany/geany] visual design (Issue #3810)

2024-04-04 Thread elextr via Github-comments
[brace_good, brace_bad](https://github.com/geany/geany/blob/1735daeb2cff6022cf9f5da6b13d6f2340cca6e1/data/filedefs/filetypes.common#L112) -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3810#issuecomment-2038619245 You are receiving this because you ar

[Github-comments] Re: [geany/geany] Add 'Open Terminal' and 'Open Directory' to right click menu (PR #3813)

2024-04-04 Thread elextr via Github-comments
@elextr requested changes on this pull request. In principle the right click menu should be context related, like the `Open Selected File` entry[^1]. So it might be better to add these new items to a normal menu, and then they can be given a keyboard accelerator and even a shortcut as well

[Github-comments] Re: [geany/geany] meson: Prevent showing console after running geany in Windows (PR #3811)

2024-04-03 Thread elextr via Github-comments
> I would suggest to provide Windows installer. Most of the users will still > use official installer who are not familiar with msys2 and its packaging > system. But as I said above, none of the major contributors use Geany on Windows, even the nice guy who makes the build (and yes with install

[Github-comments] Re: [geany/geany] meson: Prevent showing console after running geany in Windows (PR #3811)

2024-04-03 Thread elextr via Github-comments
> geany 2.0 is built with meson in msys2 project Maybe we can stop making a build for Windows (hopeful). -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3811#issuecomment-2036200273 You are receiving this because you are subscribed to this thread. Messa

[Github-comments] Re: [geany/geany] meson: Prevent showing console after running geany in Windows (PR #3811)

2024-04-03 Thread elextr via Github-comments
Is that harmless on Linux builds? If not it needs to be conditioned appropriately the same as `win_src` and `vte_src` are, probably best if its done anyway, even if harmless at this point, since Meson has a habit of increasing strictness and creating errors of previously acceptable things. I

[Github-comments] Re: [geany/geany-plugins] RFE: markdown plugin - option to synchronize views (Issue #1267)

2024-04-03 Thread elextr via Github-comments
Plugins are submitted by and maintained by individuals named in the Maintainers file. Although Markdown is listed as "maintained" nothing has been heard from the maintainer for years, so requests may indeed be yelling into a void. -- Reply to this email directly or view it on GitHub: https://g

[Github-comments] Re: [geany/geany] meson: correctly set WIN32 in config.h (PR #3660)

2024-04-03 Thread elextr via Github-comments
Is `_WIN32` set for cross builds? For Geany Windows builds are usually cross built on Linux. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3660#issuecomment-2035767733 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Unable to load right_ptr from the cursor theme (Issue #3809)

2024-04-01 Thread elextr via Github-comments
> I really never knew how many folks were so passionate about cursors! I'm not sure its so much about cursors as it is G* folks going back on their word and breaking GTK3 applications _again_, just proves that we can't trust 'em, Leopards never change their spots etc etc. Oh well, my answer is

[Github-comments] Re: [geany/geany] Unable to load right_ptr from the cursor theme (Issue #3809)

2024-04-01 Thread elextr via Github-comments
> > if it doesn't get in a release should not appear in stable distros. > No, that "compromise" > [merged](https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/merge_requests/65) > during the past dev cycle, and was included in the tagged release. All > rolling/current distros that default to Ad

[Github-comments] Re: [geany/geany] visual design (Issue #3810)

2024-04-01 Thread elextr via Github-comments
For alternative colour schemes see [geany-themes](https://github.com/geany/geany-themes) -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3810#issuecomment-2029364646 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] changing cursor blinking rate or make it invisible (Issue #3410)

2024-04-01 Thread elextr via Github-comments
As I said, turning blinking off works on LM Cinnamon, sounds like you need to raise an issue with LM and maybe upstream XFCE rather than making a way for Geany to force overriding it. Scite is C++, Geany is C, Scite properties are handled very differently to how Geany settings are handled, so n

[Github-comments] Re: [geany/geany] changing cursor blinking rate or make it invisible (Issue #3410)

2024-04-01 Thread elextr via Github-comments
Turning off cursor blinking works here with Cinnamon, are you restarting Geany each time you change it? Scintilla only loads from the settings at startup. I don't see why you are playing with the Scintilla code, the Scintilla API provides a means of controlling it from the application, just tha

[Github-comments] Re: [geany/geany] Unable to load right_ptr from the cursor theme (Issue #3809)

2024-03-31 Thread elextr via Github-comments
Yes, Scintilla can use the cursors [here](https://github.com/geany/geany/blob/3a92129d61d4d8e96136e29d4709bb638527be40/scintilla/gtk/PlatGTK.cxx#L1297) and it just asks GDK for them. It is [documented](https://www.scintilla.org/ScintillaDoc.html#SCI_SETMARGINCURSORN) that a right cursor is sho

[Github-comments] Re: [geany/geany] changing cursor blinking rate or make it invisible (Issue #3410)

2024-03-31 Thread elextr via Github-comments
Hmmm, Scintilla GTK has an undocumented feature[^1] where its initial blink and blink rate are set from GTK settings if available [here](https://github.com/geany/geany/blob/3a92129d61d4d8e96136e29d4709bb638527be40/scintilla/gtk/ScintillaGTK.cxx#L693) So that would work if you can set `gtk-cursor

[Github-comments] Re: [geany/geany] Unable to load right_ptr from the cursor theme (Issue #3809)

2024-03-30 Thread elextr via Github-comments
Well don't use dead tortoise as your theme is likely the only answer Geany can give, we don't don't ship or set icon themes. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3809#issuecomment-2028508721 You are receiving this because you are subscribed

[Github-comments] Re: [geany/geany] Geany v2 file open dialog (Windows) (Discussion #3808)

2024-03-30 Thread elextr via Github-comments
Its probable that other users of file servers have them mounted (or whatever the Windows word is) so they access by something like `//server/foo/file.blah`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3808#discussioncomment-8962208 You are rec

[Github-comments] Re: [geany/geany] contents within () {} [] jump a little bit following non-ascii characters (Issue #3803)

2024-03-29 Thread elextr via Github-comments
Closed #3803 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3803#event-12299174547 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Remove all items of the tab-switcher except the tab-titles (Issue #3806)

2024-03-28 Thread elextr via Github-comments
We don't delete issues, and we try to encourage people to search open _and_ closed issues before posting, so all issues are kept because even this one answers a question. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3806#issuecomment-2026482175 Y

[Github-comments] Re: [geany/geany] contents within () {} [] jump a little bit following non-ascii characters (Issue #3803)

2024-03-28 Thread elextr via Github-comments
> I don't think these fonts include Chinese characters so a substitute font > will be used for those characters Yes, fc-match says `NotoSansCJK-Regular.ttc: "Noto Sans CJK JP" "Regular"` for the first character in the original text (U+7F16). PS as its an olde LM its Linux+X11 not Wayland :grin:

[Github-comments] Re: [geany/geany] Yes and no questions about what is possible in Geany 2.0 (Discussion #3807)

2024-03-28 Thread elextr via Github-comments
> Geany is my only text editor in Linux Mint Cinnamon 21.3. I havn't upgraded to 21.3 yet, but ... Are you sure? Normally Xed is provided as the default text editor under the menu item "Accessories->Text Editor" and of course you can install others from the software centre. I'm not encouraging

[Github-comments] Re: [geany/geany] Yes and no questions about what is possible in Geany 2.0 (Discussion #3807)

2024-03-28 Thread elextr via Github-comments
> Can I search and replace in all open documents? Yes, choose "In Session" on the replace dialog. > Can I add the color picker to the context menu? No[^2] > Can I pin a list of files to the menu bar for direct access? This is not > related to the recently accessed list, nor can be directly acc

[Github-comments] Re: [geany/geany] contents within () {} [] jump a little bit following non-ascii characters (Issue #3803)

2024-03-28 Thread elextr via Github-comments
So its a vertical shift in the position of the characters inside the parens. @nyamatongwe you were thinking of a horizontal movement I suspect. Not observed here with the original text, either with "geany" inside the parens, or with the asian characters inside the parens. Which font are you u

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-28 Thread elextr via Github-comments
@ralf3u did it work using "menu" as the selector in the CSS? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3797#issuecomment-2024823504 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Geany buffer strangeness: is the buffer shared between tabs? (Issue #3805)

2024-03-27 Thread elextr via Github-comments
For some of the other project related functions you speculated about, try the various project plugins to see if one suits you (there are various ones and they remain plugins because there is no agreement on how it should function, so it can't be built-in ;-) -- Reply to this email directly or

[Github-comments] Re: [geany/geany] Geany buffer strangeness: is the buffer shared between tabs? (Issue #3805)

2024-03-27 Thread elextr via Github-comments
You might have the `Preferences->Editor->Completions->Autocomplete all words` option on. Note that the `internal_hash` you claim is code exists in the md file at line 34, no need for Ruby. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3805#issuecom

[Github-comments] Re: [geany/geany] Geany buffer strangeness: is the buffer shared between tabs? (Issue #3805)

2024-03-27 Thread elextr via Github-comments
On all new issues or discussions always put at least version of Geany and platform, but preferably the first few lines of `Help->Debug Messages` down to OS line if it exists else GTK line. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3805#issuecomm

[Github-comments] Re: [geany/geany] This custom filetype syntax highlighting is not working (Discussion #3804)

2024-03-26 Thread elextr via Github-comments
Well, no lexer to define the syntax is set, so no wonder its not working ;-) https://www.geany.org/manual/current/index.html#custom-filetypes -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3804#discussioncomment-8924149 You are receiving this bec

[Github-comments] Re: [geany/geany] Remove "Use Windows native dialogs" GUI setting (PR #3791)

2024-03-26 Thread elextr via Github-comments
LGTM -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3791#issuecomment-2021728342 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] contents within () {} [] jump a little bit following non-ascii characters (Issue #3803)

2024-03-26 Thread elextr via Github-comments
Do not see "jump", needs more information to reproduce, Version of Geany, Version of GTK and Glib, platform. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3803#issuecomment-2019843066 You are receiving this because you are subscribed to this thread.

[Github-comments] Re: [geany/geany] [Feature requestion] Add an option to toggle, in the editor, at the tab-bar of opened files, whether only the opened files are shown, or whether the additional four

2024-03-25 Thread elextr via Github-comments
Well if "somebody"[^1] made a well implemented PR it might be accepted. [^1]: "somebody" is a meme started by a Geany creator and means "doesn't have to be you, but almost certainly won't be me, and I am not aware of anybody else who may be interested enough" -- Reply to this email directly or

[Github-comments] Re: [geany/geany-plugins] A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus (Issue #1320)

2024-03-25 Thread elextr via Github-comments
> Does something exist like "focus-content"? In GTK (and most other GUI systems) the concept of "focus" is the widget that is going to get keyboard input, the mouse can move around and point to things before a button click, but there is not a similar capability for the keyboard, a widget has "f

[Github-comments] Re: [geany/geany-plugins] A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus (Issue #1320)

2024-03-25 Thread elextr via Github-comments
To be clear, Geany does not know anything about the existence of any plugin or the contents of any tabs it adds to Geany notebooks, even plugins included in the Geany project itself. Therefore plugins are entirely responsible for the behaviour of their UI. Plugins should connect to the relevan

[Github-comments] Re: [geany/geany-plugins] A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus (Issue #1320)

2024-03-25 Thread elextr via Github-comments
This report should be to https://github.com/xiota/geany-preview, it is not part of the Geany project. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1320#issuecomment-2018907908 You are receiving this because you are subscribed to this thread.

[Github-comments] Re: [geany/geany-plugins] A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus (Issue #1320)

2024-03-25 Thread elextr via Github-comments
Closed #1320 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1320#event-12240754080 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread elextr via Github-comments
@xiota h, we seem to be talking about different things. Here (Geany 1.38 and 2.0) shift+f10 does not create a dialog, it creates a popup menu, which isn't named. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3797#issuecomment-2016996898 You a

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread elextr via Github-comments
@StrayFeral adding extra build menu entries is possible but is not dynamic, look at the Geany wiki, there is a small thesis on configuring the build menu, it even explains the file format so after studying that you are qualified to edit it if you _really_ need to ;-). Note that due to limitatio

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread elextr via Github-comments
@xiota does that change the tab switcher popup, AFAICT (from the code) it has no name? @ralf3u thats why I suggested using "menu" as the selector. AFAICT GeanyDialog is only used for dialogs, except for GeanyDialogSearch and GeanyDialogProject which for some reason have their own names. But as

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread elextr via Github-comments
@ralf3u > > You could try applying it to all menus [...] > How? menu?? Most GTK classes have the CSS nodes specified in the docs, like [menu](https://docs.gtk.org/gtk3/class.Menu.html#css-nodes) @eht16 The popup is a dynamically created menu, can you invoke the inspector while it remains vis

[Github-comments] Re: [geany/geany] [Small bug] (I think): geany appends a newline upon saving a file (Issue #3801)

2024-03-24 Thread elextr via Github-comments
I see you found #2560, see there. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3801#issuecomment-2016947893 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] [Small bug] (I think): geany appends a newline upon saving a file (Issue #3801)

2024-03-24 Thread elextr via Github-comments
Closed #3801 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3801#event-12227609276 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Why is an extra line added to the end of lua files? (#2560)

2024-03-24 Thread elextr via Github-comments
@rubyFeedback Does not happen here if the pref is off. Do you have a project open? Remember that it overrides the prefs setting as noted in the reply above. The reply above notes that the line end at eof is required by POSIX and is complained about by git if missing, thats why its default, b

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread elextr via Github-comments
Would be better if you didn't play with files you don't understand, just use the GUI "set build commands" menu items. See "Edit->preferences->keybindings" for setting keybindings. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1319#issuecomme

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-23 Thread elextr via Github-comments
Only the listed selectors exist, the popup isn't named. You could try applying it to all menus and see if it ruins the normal menus, or maybe even makes them clearer as well. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3797#issuecomment-201666896

[Github-comments] Re: [geany/geany] Python print() doesn't work well. (Issue #3798)

2024-03-23 Thread elextr via Github-comments
Geany just starts the program, it actually runs as a separate process entirely under windows so this has nothing to do with Geany and there is nothing we can do to change the behaviour. Perhaps look on Windows forums I think I have seen reference to something similar elsewhere. -- Reply to th

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-23 Thread elextr via Github-comments
A well written pull request might be accepted by the Save actions maintainer. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016665255 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Plugin request: Run several linters (Issue #3799)

2024-03-23 Thread elextr via Github-comments
You havn't provided your platform, but on Linux multiple commands can be run from the build menu by separating them with semicolons, but I don't think Windows can do that and Macos I don't know. But on all platforms and the recommended method is to put the multiple commands in a script and run

[Github-comments] Re: [geany/geany] When opening a document from a file manager, then the tab of the editor is not in focus (Issue #3796)

2024-03-23 Thread elextr via Github-comments
Well, as I said, your expectations are met if the sidebar _contents_ or one of the editors was what was focussed before you switched to the file manager. But for the reasons I explained above the focus is deliberately not moved from any other widget so its not really a bug or feature, and "inva

[Github-comments] Re: [geany/geany] When opening a document from a file manager, then the tab of the editor is not in focus (Issue #3796)

2024-03-23 Thread elextr via Github-comments
Closed #3796 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3796#event-12224636671 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-23 Thread elextr via Github-comments
Things like this are not controlled by Geany, they are controlled by the GTK theme. You can make tweaks using geany.ccs, (I don't remember if 1.38 has `Tools->Configuration Files->geany.css` to handle all the copying and stuff) but having no experience with ePaper displays and their interaction

[Github-comments] Re: [geany/geany] When opening a document from a file manager, then the tab of the editor is not in focus (Issue #3796)

2024-03-22 Thread elextr via Github-comments
Just a clarification first, in a notebook focus of the _tab_ is different to focus of the _contents_, and is different to the _current_ tab which is the one displayed, whichever has focus (tab or contents). IIUC not all themes distinguish focussed tabs from current tabs so the difference might

[Github-comments] Re: [geany/geany] Initial support for Scintilla sub-styles (PR #3794)

2024-03-22 Thread elextr via Github-comments
@elextr commented on this pull request. > g_string_append_c(stats_str, ' '); - g_string_append_printf(stats_str, "%d", - sci_get_style_at

[Github-comments] Re: [geany/geany] Initial support for Scintilla sub-styles (PR #3794)

2024-03-22 Thread elextr via Github-comments
@elextr commented on this pull request. > + /* FIXME: this is sub-stylable, but we can't > figure out the base +* style without the Scintilla instance -- and we can't simply +* assume t

[Github-comments] Re: [geany/geany-plugins] BUG during tab-browsing with the keyboard in the sidebar when a new tab is in the sidebar (Issue #1318)

2024-03-21 Thread elextr via Github-comments
BTW well done with the detailed report (except one omission ;-), I don't remember any changes in that area for 2.0, but maybe there were. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1318#issuecomment-2011893677 You are receiving this becaus

[Github-comments] Re: [geany/geany-plugins] BUG during tab-browsing with the keyboard in the sidebar when a new tab is in the sidebar (Issue #1318)

2024-03-20 Thread elextr via Github-comments
> 6. tab-browse with the keyboard three times to the left side Is "tab-browse" a key on your keyboard? If not what key(s) are you pressing, ctrl+pg up/down? If so works here (Geany 2.0, GTK 3.24.20, GLib 2.64.6). -- Reply to this email directly or view it on GitHub: https://github.com/geany/

<    1   2   3   4   5   6   7   8   9   10   >