mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
This commit is contained in:
@@ -14,7 +14,7 @@ EditorController::EditorController(MenuController * menuController, App * python
|
||||
m_script(Ion::Storage::Record()),
|
||||
m_menuController(menuController)
|
||||
{
|
||||
m_editorView.setTextAreaDelegate(this);
|
||||
m_editorView.setTextAreaDelegates(pythonDelegate, this);
|
||||
}
|
||||
|
||||
void EditorController::setScript(Script script) {
|
||||
@@ -127,11 +127,6 @@ bool EditorController::textAreaDidReceiveEvent(TextArea * textArea, Ion::Events:
|
||||
return false;
|
||||
}
|
||||
|
||||
Toolbox * EditorController::toolboxForInputEventHandler(InputEventHandler * textInput) {
|
||||
Code::App * codeApp = static_cast<Code::App *>(app());
|
||||
return codeApp->pythonToolbox();
|
||||
}
|
||||
|
||||
StackViewController * EditorController::stackController() {
|
||||
return static_cast<StackViewController *>(parentResponder());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user