From 65a656cd3c5c4e693bb00fd30e2876581d7ff03f Mon Sep 17 00:00:00 2001 From: Shun Wang Date: Mon, 21 Oct 2024 15:47:59 +0800 Subject: [PATCH] enable LineNumber for SEM syntax editor (#259) * enable LineNumber for SEM syntax editor * also for PLSSEM --- inst/qml/PLSSEM.qml | 2 +- inst/qml/SEM.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/qml/PLSSEM.qml b/inst/qml/PLSSEM.qml index 003b180..d094478 100644 --- a/inst/qml/PLSSEM.qml +++ b/inst/qml/PLSSEM.qml @@ -35,7 +35,7 @@ Form newItemName: qsTr("Model 1") optionKey: "name" - content: TextArea { name: "syntax"; width: models.width; textType: JASP.TextTypeCSem } + content: TextArea { name: "syntax"; width: models.width; textType: JASP.TextTypeCSem; showLineNumber: true } } Section diff --git a/inst/qml/SEM.qml b/inst/qml/SEM.qml index b7d8a90..58050b1 100644 --- a/inst/qml/SEM.qml +++ b/inst/qml/SEM.qml @@ -57,7 +57,7 @@ Form newItemName: qsTr("Model 1") optionKey: "name" - content: TextArea { name: "syntax"; width: models.width; textType: JASP.TextTypeLavaan } + content: TextArea { name: "syntax"; width: models.width; textType: JASP.TextTypeLavaan; showLineNumber: true } } RadioButtonGroup @@ -447,4 +447,4 @@ Form SetSeed{} } } -} \ No newline at end of file +}