This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tui/23604] New: colorize source code


https://sourceware.org/bugzilla/show_bug.cgi?id=23604

            Bug ID: 23604
           Summary: colorize source code
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

The TUI could colorize source code.

A relatively simple way to do this would be to outsource the
colorizing to an existing package, like pygments.
http://pygments.org/

Pygments is written in Python so we'd need to expose
TUI windows to Python somehow (perhaps in an ad hoc way).

One possible difficulty is that maybe gdb would need a notion
of source file character set encoding.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]