From a30ea2b457e445f98862ff13c32b5e11b7e8f2e7 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 8 Feb 2026 15:37:24 -0500 Subject: [PATCH] Remove TODOs. --- qml/Components/ClideEditor.qml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/qml/Components/ClideEditor.qml b/qml/Components/ClideEditor.qml index 32951eb..a443b64 100644 --- a/qml/Components/ClideEditor.qml +++ b/qml/Components/ClideEditor.qml @@ -104,28 +104,6 @@ Rectangle { onLinkActivated: function (link) { Qt.openUrlExternally(link); } - - // TODO: Handle saving - // Component.onCompleted: { - // if (Qt.application.arguments.length === 2) - // textDocument.source = "file:" + Qt.application.arguments[1] - // else - // textDocument.source = "qrc:/texteditor.html" - // } - // textDocument.onStatusChanged: { - // // a message lookup table using computed properties: - // // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer - // const statusMessages = { - // [ TextDocument.ReadError ]: qsTr("Failed to load “%1”"), - // [ TextDocument.WriteError ]: qsTr("Failed to save “%1”"), - // [ TextDocument.NonLocalFileError ]: qsTr("Not a local file: “%1”"), - // } - // const err = statusMessages[textDocument.status] - // if (err) { - // errorDialog.text = err.arg(textDocument.source) - // errorDialog.open() - // } - // } } FontMetrics {