mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-25 05:52:50 -05:00
feat: DMS Core Chroma Syntax Highlighter
- Thanks alecthomas for the project
This commit is contained in:
@@ -23,6 +23,7 @@ Item {
|
||||
property string pendingSaveContent: ""
|
||||
|
||||
signal hideRequested
|
||||
signal previewRequested(string content)
|
||||
|
||||
Ref {
|
||||
service: NotepadStorageService
|
||||
@@ -198,6 +199,10 @@ Item {
|
||||
createNewTab();
|
||||
}
|
||||
|
||||
onPreviewRequested: {
|
||||
textEditor.togglePreview()
|
||||
}
|
||||
|
||||
onEscapePressed: {
|
||||
root.hideRequested();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user