Forum > Editor
Possible color selection bug
Martin_fr:
It could probably (not sure) be improved (you can report it as a bug).
The problem here is that "IDE directive" is not a "base color" but on overlay. (you can see that it has alpha channels).
So if you set it to "off" for all/any of its colors, then it will show as comment. If you use Alpha then it mixes to the comment color.
I don't recall how those clicks are detected. There are some overlays that work on click. But I don't know if that can easily be extended.
The same issue exists for
- case labels
- proc headers
- proc modifiers like virtual (not present in sample text)
- pas doc (not present in sample text)
- current line gutter color
....
paweld:
--- Quote from: n7800 on November 02, 2024, 01:27:09 pm ---The IDE allows you to specify a separate color for IDE directives, so it makes sense that when you click on it, the color of the IDE directive should be highlighted, not just the comment.
--- End quote ---
I've looked through this list so many times and only when you wrote did I notice this item.
@440bx: I admit you are right, it looks like a bug
440bx:
Issue created,
Link: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41222
issue: 41222
@paweld, no sweat, every now and then I manage to be right ;)
Navigation
[0] Message Index
[*] Previous page