mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Get rid of malloc: keep a buffer in Code::App to be used as python heap
This commit is contained in:
@@ -8,10 +8,10 @@ namespace Code {
|
||||
|
||||
constexpr KDText::FontSize editorFontSize = KDText::FontSize::Large;
|
||||
|
||||
EditorView::EditorView(Responder * parentResponder) :
|
||||
EditorView::EditorView(Responder * parentResponder, App * pythonDelegate) :
|
||||
Responder(parentResponder),
|
||||
View(),
|
||||
m_textArea(parentResponder, editorFontSize),
|
||||
m_textArea(parentResponder, pythonDelegate, editorFontSize),
|
||||
m_gutterView(editorFontSize)
|
||||
{
|
||||
m_textArea.setScrollViewDelegate(this);
|
||||
|
||||
Reference in New Issue
Block a user