diff --git a/src/plugins/cppeditor/cppeditorwidget.cpp b/src/plugins/cppeditor/cppeditorwidget.cpp index f75d05ffa42..62da35451aa 100644 --- a/src/plugins/cppeditor/cppeditorwidget.cpp +++ b/src/plugins/cppeditor/cppeditorwidget.cpp @@ -940,7 +940,7 @@ QList sourceLocationsToExtraSelections( selection.cursor = selectAt(cppEditorWidget->textCursor(), sourceLocation.targetLine, - sourceLocation.targetColumn, + sourceLocation.targetColumn + 1, selectionLength); selection.format = textCharFormat;