| 22 | } |
| 23 | |
| 24 | void RefactorWidgetHandler::showRefactorWidget( |
| 25 | TextEditor::TextEditorWidget *editor, |
| 26 | const QString &originalText, |
| 27 | const QString &refactoredText, |
| 28 | const Utils::Text::Range &range) |
| 29 | { |
| 30 | QString contextBefore = ContextExtractor::extractBefore(editor, range, 3); |
| 31 | QString contextAfter = ContextExtractor::extractAfter(editor, range, 3); |
| 32 | showRefactorWidget(editor, originalText, refactoredText, range, contextBefore, contextAfter); |
| 33 | } |
| 34 | |
| 35 | void RefactorWidgetHandler::showRefactorWidget( |
| 36 | TextEditor::TextEditorWidget *editor, |
no test coverage detected