[QScintilla] Changing text during textChanged signal.

T. Schweitzer KellerKind018 at web.de
Wed Mar 14 12:01:38 GMT 2007


Hi there.

I have a problem with updating the text shown in QScintillas editor widget. The situation:
I catch the signal "textChanged" and read QScintillas current text with QScintillas::text(). On this I receive the text with the new typed in character and the widget itself is not yet updated, so not displaying the new character. During handling the "textChanged" signal, I want to change the text QScintalla contains and set it by calling QScintilla::setText(). But it doesn't accept the new text. Is there some read only mechanism, while still in the "textChanged" signal? How else could I realize it?

Thanks in advance,
   Thomas
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



More information about the QScintilla mailing list