MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / showRefactorWidget

Method showRefactorWidget

widgets/RefactorWidgetHandler.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void 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
35void RefactorWidgetHandler::showRefactorWidget(
36 TextEditor::TextEditorWidget *editor,

Callers 1

Calls 7

setDiffContentMethod · 0.80
setApplyTextMethod · 0.80
setEditorWidthMethod · 0.80
setRangeMethod · 0.45
setApplyCallbackMethod · 0.45
setDeclineCallbackMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected