From 84cbe55d3260761effe43fb056697c57b4f46d0a Mon Sep 17 00:00:00 2001 From: "Flora (opencode)" Date: Mon, 17 Aug 2026 19:39:02 +0300 Subject: [PATCH] =?UTF-8?q?Debug:=20Text+z:1000+yellow=20=D0=BF=D1=80?= =?UTF-8?q?=D1=8F=D0=BC=D0=BE=20=D0=B2=20EditorPanel=20=E2=80=94=20=D0=B2?= =?UTF-8?q?=D0=B8=D0=B4=D0=B8=D0=BC=D1=8B=D0=B9=20=D0=BF=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D1=85=20=D0=B2=D1=81=D0=B5=D0=B3=D0=BE;=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=20QML-=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=B4=D0=B5=D1=80=D0=B8=D0=BD=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/panels/EditorPanel.qml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/qml/panels/EditorPanel.qml b/qml/panels/EditorPanel.qml index 92f98c8..c6c5cde 100644 --- a/qml/panels/EditorPanel.qml +++ b/qml/panels/EditorPanel.qml @@ -163,4 +163,21 @@ Item { const n = documentManager.openTabs.length if (n > 0) documentManager.setActiveIndex((documentManager.activeIndex + 1) % n) }} + + // ОТЛАДКА: видимый текст прямо в EditorPanel (z:1000) + Text { + z: 1000 + anchors.top: editorArea.top + anchors.left: editorArea.left + anchors.right: editorArea.right + height: 200 + text: documentManager.activeIndex >= 0 + ? "DEBUG CONTENT: " + documentManager.contentAt(documentManager.activeIndex).substring(0, 500) + : "NO FILE OPENED (activeIndex=" + documentManager.activeIndex + ")" + font.pixelSize: 16 + color: "blue" + wrapMode: Text.Wrap + clip: true + Rectangle { anchors.fill: parent; color: "yellow"; z: -1 } + } } \ No newline at end of file