From 6df4806b82a45cb570e949020d3ff575960d1714 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 8 May 2025 17:56:43 +0200 Subject: [PATCH] ai chat: fix code block line numbers --- .../quickshell/modules/sidebarLeft/aiChat/MessageCodeBlock.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/quickshell/modules/sidebarLeft/aiChat/MessageCodeBlock.qml b/.config/quickshell/modules/sidebarLeft/aiChat/MessageCodeBlock.qml index a0b2928b..96213e25 100644 --- a/.config/quickshell/modules/sidebarLeft/aiChat/MessageCodeBlock.qml +++ b/.config/quickshell/modules/sidebarLeft/aiChat/MessageCodeBlock.qml @@ -99,6 +99,7 @@ ColumnLayout { Repeater { model: codeTextArea.text.split("\n").length Text { + required property int index Layout.fillWidth: true Layout.alignment: Qt.AlignRight font.family: Appearance.font.family.monospace