diff --git a/qml/pages/EditPage.qml b/qml/pages/EditPage.qml index 06a9d86..ed57c34 100644 --- a/qml/pages/EditPage.qml +++ b/qml/pages/EditPage.qml @@ -45,6 +45,13 @@ Dialog { width: parent.width focus: true text: account.model.get(noteIndex).content + onTextChanged: { + // TODO Autocomplete list symbols + /*var preText = text.substring(0, cursorPosition) + preText = preText.substring(preText.lastIndexOf('\n')) + console.log(preText) + console.log(text.substring(cursorPosition))*/ + } } Row { diff --git a/qml/pages/NotePage.qml b/qml/pages/NotePage.qml index 341b5bc..44701a8 100644 --- a/qml/pages/NotePage.qml +++ b/qml/pages/NotePage.qml @@ -16,7 +16,7 @@ Dialog { return '