summaryrefslogtreecommitdiff
path: root/kodereviewer/qml/Editor.qml
diff options
context:
space:
mode:
Diffstat (limited to 'kodereviewer/qml/Editor.qml')
-rw-r--r--kodereviewer/qml/Editor.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kodereviewer/qml/Editor.qml b/kodereviewer/qml/Editor.qml
index 9cc6cbf..052933d 100644
--- a/kodereviewer/qml/Editor.qml
+++ b/kodereviewer/qml/Editor.qml
@@ -35,6 +35,7 @@ TextEdit {
LineModel {
id: lineModel
document: root.textDocument
+ onDocumentChanged: print('Document changed!')
}
onWidthChanged: lineModel.resetModel()
@@ -82,7 +83,7 @@ TextEdit {
}
}
- onTextChanged: print(root.textDocument)
+ // onTextChanged: lineModel.document = root.textDocument
onFileChanged: {
repeater.model.resetModel()