Skip to content

Commit

Permalink
enable LineNumber for SEM syntax editor (#259)
Browse files Browse the repository at this point in the history
* enable LineNumber for SEM syntax editor

* also for PLSSEM
  • Loading branch information
shun2wang authored Oct 21, 2024
1 parent c568241 commit 65a656c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inst/qml/PLSSEM.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions inst/qml/SEM.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -447,4 +447,4 @@ Form
SetSeed{}
}
}
}
}

0 comments on commit 65a656c

Please sign in to comment.