diff -r f94317a94db1 -r e2a80d9b5858 texteditor.cpp --- a/texteditor.cpp Thu Jul 06 14:47:01 2006 +0000 +++ b/texteditor.cpp Thu Jul 06 15:39:54 2006 +0000 @@ -314,17 +314,21 @@ actionEditDeleteAll=a; a = new QAction(QPixmap(), tr( "&Convert Paragraphs" ),this); + /* FIXME not needed any longer? remove also from docu... a->setStatusTip(tr( "Convert paragraphs to linebreaks" )); a->setShortcut( Qt::ALT + Qt::Key_P ); connect( a, SIGNAL( activated() ), this, SLOT( textConvertPar() ) ); editMenu->addAction (a); + */ actionEditConvertPar=a; a = new QAction( QPixmap(), tr( "&Join lines" ), this); + /* FIXME not needed any longer? remove also from docu... a->setStatusTip(tr( "Join all lines of a paragraph" ) ); a->setShortcut(Qt::ALT + Qt::Key_J ); connect( a, SIGNAL( activated() ), this, SLOT( textJoinLines() ) ); editMenu->addAction (a); + */ actionEditJoinLines=a; } @@ -659,9 +663,6 @@ // which is not always wanted // This function replaces paragraphs by linebreaks. - e->setBackgroundRole (QPalette::Text); - cout << "dark\n"; - QString t; t=e->text(); QRegExp re(""); @@ -700,9 +701,6 @@ void TextEditor::textJoinLines() { - e->setBackgroundRole (QPalette::Light); - cout << "light\n"; - /* FIXME QT3 int parFrom, parTo, indFrom, indTo; e->getSelection (&parFrom,&indFrom,&parTo,&indTo);