[Bug tui/23604] New: colorize source code

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Mon Sep 3 23:26:00 GMT 2018


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.


More information about the Gdb-prs mailing list