#36 closed enhancement (fixed)
Split stream for console into input/output and give input a different colour.
Reported by: | Owned by: | David Aspinall | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | 1:pg-eclipse | Keywords: | |
Cc: |
Description
A minor improvement for the PGIP console is to display input/output in different colours or fonts.
This should be easy: message streams can have colour/fonts attached, so we just need to split PGIP stream into two.
Change History (3)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Above comment seems inaccurate: org.eclipse.ui.console.IOConsole
offers setFont
and setColor
methods (inherited from TextConsole
).
Now fixed to make use of these, using colours from theme (fixed 16.2.07).
Note: See
TracTickets for help on using
tickets.
Comment on implementation.
Currently, consoles are implemented as (eventual) subclasses of
org.eclipse.ui.console
family of consoles. This gives good flexibility and straightforward implementation and appears to be a good choice for efficient consoles.However, the only straightforward way to colour a console is to subclass the {{org.eclipse.debug.ui.console}} family of consoles, using
IConsoleColorProvider
interfaces.Implementation of this feature would require either to convert the consoles to use the debug console API, or perhaps to write some sort of wrapper for our consoles to allow them to take the place of debug consoles.