Opened 17 years ago

Closed 17 years ago

Last modified 11 years ago

#36 closed enhancement (fixed)

Split stream for console into input/output and give input a different colour.

Reported by: David Aspinall <da+pgtrac@…> 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 Graham Dutton

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.

comment:2 Changed 17 years ago by David Aspinall

Resolution: fixed
Status: newclosed

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).

comment:3 Changed 11 years ago by David Aspinall

Milestone: PG-Eclipse-1.0.6

Milestone PG-Eclipse-1.0.6 deleted

Note: See TracTickets for help on using tickets.