• David Schulz's avatar
    Editor: Fix crash in the generic highighlighter. · 46ed54bc
    David Schulz authored
    Remove the TextBlockUserData base class BlockData and store the data of
    this class inside a CodeFormatter base class. This class can be added to the
    TextBlockUserData via setCodeFormatterData. Now we don't have to assume
    that the user data is a specific base class of TextBlockUserData.
    
    This removes a crash where the TextBlockUserData was created before the
    highlighter could create and set his base class.
    
    Task-number: QTCREATORBUG-10871
    
    Change-Id: I167bdb68b9b1fecc64e4906bdad60bfbecb3bf47
    Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
    46ed54bc
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
HACKING Loading commit data...
LGPL_EXCEPTION.TXT Loading commit data...
LICENSE.LGPL Loading commit data...
README Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...