[apps/code] Load builtins according to autocompleted text

This commit is contained in:
Léa Saviot
2020-03-26 15:04:38 +01:00
committed by Émilie Feral
parent 1599b16e03
commit f412d95584
8 changed files with 186 additions and 131 deletions

View File

@@ -16,8 +16,8 @@ EditorView::EditorView(Responder * parentResponder, App * pythonDelegate) :
m_textArea.setScrollViewDelegate(this);
}
const char * EditorView::textToAutocomplete() const {
return m_textArea.textToAutocomplete();
const char * EditorView::textToAutocomplete(int * length) const {
return m_textArea.textToAutocomplete(length);
}
void EditorView::resetSelection() {