Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Selection text



  • I have a QTextEdit block. I've inserted some characters with some properties (color, font..)
    The problem is that when I select the word by using the mouse, all the colors deseapper and the characters became black. I can't understand why.
    Cna you help me to solve the problem?


  • Lifetime Qt Champion

    Hi,

    Can you explain exactly when and how that happens ?
    Upon selection ?
    What happens if you clear it ?
    What version of Qt ?
    What OS ?


Log in to reply