The default unfocused selection style is part of
[Scintilla](https://www.scintilla.org/), that is another project, its not Geany
code. Geany uploads Scintilla code unmodified, we do not have the resources to
maintain patches for it.
You may try to have Scintilla change that default, but sinc
Yes, someone has to do it.
Yet, in my opinion, there is a simple workaround that will work in majority of
cases. Change the hardcoded grey color with light blue color (0xADD8E6). This
can be easily done and the light blue color will work in majority of cases. I
think grey color doesn't work in
> I click next on the find box and the text is highlighted in grey.
The found text is not simply highlighted, it is selected, so what is shown is
the unfocused selection style, which as above is hard coded to `#xc0c0c0`.
> In notepad, the matched text is highlighted in blue
So Notepad either s
Hi,
In my issue there is no case of dimming.
I open the Find box. There is no selection right now. I click next on the
find box and the text is highlighted in grey.
I haven't observed this behaviour in MS Word, Notepad, Netbeans, etc.
In notepad, the matched text is highlighted in blue while th
> > The socket file message probably means either Geany crashed
> Does it lead to this? I don't think so
Crashed ... as another user, eg database_admin ...
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3871#issuecomment-2119456562
You are receiving
> Just thinking, in #3859 I mapped matlab variables to `tm_tag_variable_t` so
> they are displayed in the sidebar but maybe the result is a little too
> verbose. Especially since it generates a tag for every variable assignment -
> I just tried it with some random code from github and it display
@b4n commented on this pull request.
Wanna laugh? https://github.com/universal-ctags/ctags/pull/4008 :smile:
> @@ -951,6 +951,7 @@ static TMParserMapEntry map_POWERSHELL[] = {
{'c', tm_tag_class_t}, // class
{'i', tm_tag_function_t}, // filter
{'g', tm_tag_enum_t},
>I don't think this would be better.
>Then every time a new instance would be started which works indepedent of the
>existing one. This is especially unconvenient when opening files via the
>.desktop items (task bar, app menus, file managers, ...).
Agreed, we ain't gonna do that.
> The socket f
There is no background that is always right, thats why Scintilla has made it
settable I guess. But the grey has sufficient contrast with black on white
text and white on black text (on my monitor with my eyes, YMMV).
Dimming the selection when not focused is a common idiom on Windows, and (IIUC
So, it looks like I will have to live with this.
I have worked other editors also (vim, netbeans, etc.) and other software
also but I never noticed this kind of thing - greying out selection if the
edit pane is not in focus.
May be some other editors also do it but it looks like they don't make i
@eht16 has pointed out the reason you don't see the selection colour, you still
have the focus on the find dialog, so the edit pane does not have focus, and
Scintilla makes the selection grey when the edit pane is not focused.
There is a fairly new API that allows [changing the unfocused
stylin
My main issue is this: I keep the Find dialog box open to search for the
text. I don't want to close the Find box. So, when I click Next on the Find
box, it moves to the next matched item but it is not highlighting the
matched text in the color that I gave in the selection variable settings.
It is
> it doesn't know whether it's inside a function so it shows all assignments
> and the result is a little too noisy.
Yeah, if they are not scoped then its not very useful.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3877#issuecomment-2119241869
You
> Python does this too, every assignment is a new declaration and shows in the
> sidebar
Yes, but this happens only for the global variables, not variables inside
functions. Since the matlab parser is just a dumb regex parser, it doesn't know
whether it's inside a function so it shows all assig
Python does this too, every assignment is a new declaration and shows in the
sidebar, on the other hand Julia (where assignment is also declaration) has
chosen not to show any assignments in the sidebar, YMMV.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/
The socket file message probably means either Geany crashed (or was crashed by
logging out or shutting down with it still running) or Geany was run as root or
`sudo` and that still owns the socket link in your config directory. You can
look there and the link will be obvious, so you should be a
Just thinking, in https://github.com/geany/geany/pull/3859 I mapped matlab
variables to `tm_tag_variable_t` so they are displayed in the sidebar but maybe
the result is a little too verbose. Especially since it generates a tag for
every variable assignment - I just tried it with some random code
Merged #1339 into master.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1339#event-12858384938
You are receiving this because you are subscribed to this thread.
Message ID:
Tested and works. Thank you!
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1339#issuecomment-2119229141
You are receiving this because you are subscribed to this thread.
Message ID:
Could it be that the selection color just changes when the find dialog is open
because the focus is set from the Geany main window to the find dialog?
At least, I see similar behaviour on Linux as well.
If so, this is not a problem at all but rather normal behavior and not related
to the find di
To add to @eht16 comment, search replace does not understand the context of
what it is editing, it does not see a programming language string in which `\n`
means newline, it just sees text characters `\` and `n`.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/gea
This PR contains some ctags updates which were made upstream as discussed in
https://github.com/geany/geany/pull/3859.
Apart from that I noticed that the `update-ctags.py` script didn't copy the
updated libreadtags library so I modified it to do so and as a result this PR
also contains updated
I don't think this would be better.
Then every time a new instance would be started which works indepedent of the
existing one. This is especially unconvenient when opening files via the
.desktop items (task bar, app menus, file managers, ...).
To me it sounds rather like this would only fix the
I wonder if this could be too specific? Maybe there are cases where it is
legitimite to treat the 'n' in '\n' as whole word if the context does not know
about escape sequences.
The behavior can be changed by adding '\\' to the `wordchars` settings in
`filetypes.common` and the filetype definiti
Closed #3875 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3875#event-12858279682
You are receiving this because you are subscribed to this thread.
Message ID:
Merged #1348 into master.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1348#event-12858259774
You are receiving this because you are subscribed to this thread.
Message ID:
26 matches
Mail list logo