• Thorbjørn Lindeijer's avatar
    Fixed handling of text wrapping and a text layout corner case · a6e52985
    Thorbjørn Lindeijer authored
    Due to using QTextCursor::columnNumber() instead of
    QTextCursor::positionInBlock(), a lot of code would not work correctly
    when used with wrapped lines.
    In addition, there was an issue with columnNumber() returning 0 right
    after inserting a character before the last character of a line.
    Reviewed-by: mae
cppquickfix.cpp 40.7 KB