| You need to recompile TED. I used QT 4.8.5 with it on Mac OS X. 
 For a quick fix, I just hardcoded the colors. Better you add new color preferences.
 
 mainwindow.cpp changes:
 
 //***** MainWindow *****
//
MainWindow::MainWindow(QWidget *parent) : QMainWindow( parent ),_ui( new Ui::MainWindow ){
    ...
    statusBar()->showMessage( "Ready." );
    //
    // changed by Danilo
    //
    // _projectTreeWidget -> change background and foreground colors
    //
    QPalette pal = _projectTreeWidget->palette();
    pal.setColor(QPalette::Base, QColor(0,0,0) );
    pal.setColor(QPalette::Text, QColor(0,255,0) );
    _projectTreeWidget->setPalette(pal);
    //
    // changed by Danilo
    //
    pal = _consoleTextWidget->palette();
    pal.setColor(QPalette::Base, QColor(0,0,0) );
    pal.setColor(QPalette::Text, QColor(0,255,0) );
    _consoleTextWidget->setPalette(pal);
}codeeditor.cpp:
 
 CodeEditor::CodeEditor( QWidget *parent ):QPlainTextEdit( parent ),_modified( 0 ){
    _highlighter=new Highlighter( this );
    _codeTreeModel=new QStandardItemModel( 0 );//this );
    _codeTreeView=new QTreeView( 0 );
    _codeTreeView->setHeaderHidden( true );
    _codeTreeView->setModel( _codeTreeModel );
    //
    // by Danilo
    //
    QPalette pal = _codeTreeView->palette();
    pal.setColor(QPalette::Base, QColor(0,0,0) );
    pal.setColor(QPalette::Text, QColor(0,255,0) );
    _codeTreeView->setPalette(pal);
    connect( _codeTreeView,SIGNAL(clicked(QModelIndex)),SLOT(onCodeTreeViewClicked(QModelIndex)) );
    connect( this,SIGNAL(textChanged()),SLOT(onTextChanged()) );
    connect( this,SIGNAL(cursorPositionChanged()),SLOT(onCursorPositionChanged()) );
    connect( Prefs::prefs(),SIGNAL(prefsChanged(const QString&)),SLOT(onPrefsChanged(const QString&)) );
    setLineWrapMode( QPlainTextEdit::NoWrap );
    onPrefsChanged( "" );
    flushExtraSels();
}It is just a start and quick fix. Foreground color of console output was unreadable
 after this changes. I don't use TED anymore, but maybe it helps as a start for your
 own changes. ;)
 
 
 |