public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27040] New: Colors for class/keyword not settable
@ 2020-12-09 14:59 jengelh at inai dot de
2020-12-11 14:20 ` [Bug gdb/27040] " tromey at sourceware dot org
2023-07-17 20:56 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: jengelh at inai dot de @ 2020-12-09 14:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27040
Bug ID: 27040
Summary: Colors for class/keyword not settable
Product: gdb
Version: 10.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: jengelh at inai dot de
Target Milestone: ---
Created attachment 13028
--> https://sourceware.org/bugzilla/attachment.cgi?id=13028&action=edit
screenshot
gdb 10.1 is colorizing C++ keywords and so on, but I do not see a way to
override these colors.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/27040] Colors for class/keyword not settable
2020-12-09 14:59 [Bug gdb/27040] New: Colors for class/keyword not settable jengelh at inai dot de
@ 2020-12-11 14:20 ` tromey at sourceware dot org
2023-07-17 20:56 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2020-12-11 14:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27040
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2020-12-11
CC| |tromey at sourceware dot org
Status|UNCONFIRMED |NEW
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Source code colors come either from GNU Source Highlight,
or from Pygments, depending on which one your gdb is using.
It probably makes sense to make it simpler for users to tweak
these. I'm not sure how difficult that might be.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/27040] Colors for class/keyword not settable
2020-12-09 14:59 [Bug gdb/27040] New: Colors for class/keyword not settable jengelh at inai dot de
2020-12-11 14:20 ` [Bug gdb/27040] " tromey at sourceware dot org
@ 2023-07-17 20:56 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-07-17 20:56 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27040
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I looked into this for Source Highlight at one point, and I
think it would require gdb to make a style file and then
point the formatter at it. It would be nicer if we could just
use some API for this, but I couldn't find one.
For Pygments we could probably write a Python class that did this.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-17 20:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09 14:59 [Bug gdb/27040] New: Colors for class/keyword not settable jengelh at inai dot de
2020-12-11 14:20 ` [Bug gdb/27040] " tromey at sourceware dot org
2023-07-17 20:56 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).