| 1308 | } |
| 1309 | |
| 1310 | void Editor::insertLabelRef(const QString& label) |
| 1311 | { |
| 1312 | QTextCursor cursor = textCursor(); |
| 1313 | QString expression = d_codeModel->getLabelRefExpression(label, cursor.position()); |
| 1314 | |
| 1315 | cursor.insertText(expression); |
| 1316 | setTextCursor(cursor); |
| 1317 | } |
| 1318 | |
| 1319 | bool Editor::canInsertFromMimeData(const QMimeData* source) const |
| 1320 | { |
nothing calls this directly
no test coverage detected