Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 62120
Collapse All | Expand All

(-)kdesdk-3.3.0/kbabel/kbabel/kbhighlighting.cpp (+3 lines)
Lines 67-72 Link Here
67
67
68
void KBabelHighlighter::highlight( )
68
void KBabelHighlighter::highlight( )
69
{
69
{
70
  kdDebug(KBABEL) << this << ": Highlight started" << endl;
70
  // no updates while we're highlighting
71
  // no updates while we're highlighting
71
  _edit->blockSignals( true );
72
  _edit->blockSignals( true );
72
  _edit->setUpdatesEnabled( false );
73
  _edit->setUpdatesEnabled( false );
Lines 140-145 Link Here
140
  _edit->blockSignals( false );
141
  _edit->blockSignals( false );
141
  _edit->updateContents( );
142
  _edit->updateContents( );
142
  _edit->ensureCursorVisible();
143
  _edit->ensureCursorVisible();
144
145
  kdDebug(KBABEL) << this << ": Highlight finished" << endl;
143
}
146
}
144
147
145
void KBabelHighlighter::doHighlighting( HighlightType type, int pos, int length )
148
void KBabelHighlighter::doHighlighting( HighlightType type, int pos, int length )
(-)kdesdk-3.3.0/kbabel/kbabel/mymultilineedit.cpp (+7 lines)
Lines 561-566 Link Here
561
                _diffAddColor(Qt::darkGreen),
561
                _diffAddColor(Qt::darkGreen),
562
                _diffDelColor(Qt::darkRed),
562
                _diffDelColor(Qt::darkRed),
563
		_currentUnicodeNumber(0),
563
		_currentUnicodeNumber(0),
564
		highlighter(0),
564
		_tagStartPara(0), _tagStartIndex(0), _tagEndPara(0), _tagEndIndex(0)
565
		_tagStartPara(0), _tagStartIndex(0), _tagEndPara(0), _tagEndIndex(0)
565
{
566
{
566
   diffPos.setAutoDelete(true);
567
   diffPos.setAutoDelete(true);
Lines 594-599 Link Here
594
   connect( this, SIGNAL( textChanged() ), this, SLOT( emittedTextChanged() ) );
595
   connect( this, SIGNAL( textChanged() ), this, SLOT( emittedTextChanged() ) );
595
}
596
}
596
597
598
MsgMultiLineEdit::~MsgMultiLineEdit ()
599
{
600
	if(highlighter)
601
		delete highlighter;
602
}
603
597
void MsgMultiLineEdit::setText(const QString& s)
604
void MsgMultiLineEdit::setText(const QString& s)
598
{
605
{
599
    QString str = s;
606
    QString str = s;
(-)kdesdk-3.3.0/kbabel/kbabel/mymultilineedit.h (+1 lines)
Lines 144-149 Link Here
144
   enum TextColor { NormalColor, ErrorColor };
144
   enum TextColor { NormalColor, ErrorColor };
145
145
146
   MsgMultiLineEdit(int ID, KSpell* spell=0, QWidget* parent=0,const char* name=0);
146
   MsgMultiLineEdit(int ID, KSpell* spell=0, QWidget* parent=0,const char* name=0);
147
   virtual ~MsgMultiLineEdit();
147
148
148
   /** is displaying surrounding quotes enabled? */
149
   /** is displaying surrounding quotes enabled? */
149
   bool quotes() const { return _quotes;}
150
   bool quotes() const { return _quotes;}

Return to bug 62120