TUI #1
@ -109,10 +109,7 @@ SplitView {
|
|||||||
selectedTextColor: RustColors.editor_highlighted_text
|
selectedTextColor: RustColors.editor_highlighted_text
|
||||||
textFormat: Qt.AutoText
|
textFormat: Qt.AutoText
|
||||||
wrapMode: TextArea.Wrap
|
wrapMode: TextArea.Wrap
|
||||||
|
text: FileSystem.readFile(root.filePath)
|
||||||
Component.onCompleted: {
|
|
||||||
textArea.text = FileSystem.readFile(FileSystem.filePath)
|
|
||||||
}
|
|
||||||
|
|
||||||
onLinkActivated: function (link) {
|
onLinkActivated: function (link) {
|
||||||
Qt.openUrlExternally(link);
|
Qt.openUrlExternally(link);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user