mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Python toolbox.
Change-Id: I4028b05c662cae04a5ac3af5021f3438bb22dcd0
This commit is contained in:
@@ -112,6 +112,12 @@ bool EditorController::textAreaDidReceiveEvent(TextArea * textArea, Ion::Events:
|
||||
return false;
|
||||
}
|
||||
|
||||
::Toolbox * EditorController::toolboxForTextArea(TextArea * textArea) {
|
||||
Code::App * codeApp = static_cast<Code::App *>(app());
|
||||
codeApp->pythonToolbox()->setAction(codeApp->toolboxActionForTextArea());
|
||||
return codeApp->pythonToolbox();
|
||||
}
|
||||
|
||||
StackViewController * EditorController::stackController() {
|
||||
return static_cast<StackViewController *>(parentResponder());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user