forked from qt-creator/qt-creator
TextEditor: Move base of operation from Editor to *Widget
One less level of indirection Change-Id: I4777bd7d54e572f36a490aeb747a8e0f89599049 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -899,7 +899,7 @@ public:
|
||||
return text() == m_provider->needle();
|
||||
}
|
||||
|
||||
void applyContextualContent(BaseTextEditor *, int) const QTC_OVERRIDE
|
||||
void applyContextualContent(BaseTextEditorWidget *, int) const QTC_OVERRIDE
|
||||
{
|
||||
QTC_ASSERT(m_provider->handler(), return);
|
||||
m_provider->handler()->handleReplay(text().mid(m_provider->needle().size()));
|
||||
|
||||
Reference in New Issue
Block a user