From c82abd66866eafb742cc45b55db94c5d54ca10a6 Mon Sep 17 00:00:00 2001 From: bsorrentino Date: Thu, 17 Oct 2024 15:35:09 +0200 Subject: [PATCH] refactor: update to last AceEditor version --- PlantUML/PlantUMLDocumentView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlantUML/PlantUMLDocumentView.swift b/PlantUML/PlantUMLDocumentView.swift index 55f2b53..782fbfc 100644 --- a/PlantUML/PlantUMLDocumentView.swift +++ b/PlantUML/PlantUMLDocumentView.swift @@ -51,13 +51,13 @@ struct PlantUMLDocumentView: View { VStack { AceEditorView( content: $document.text, + options: AceEditorView.Options( mode: .plantuml, darkTheme: AceEditorWebView.Theme(rawValue: darkTheme)!, lightTheme: AceEditorWebView.Theme(rawValue: lightTheme)!, isReadOnly: false, fontSize: CGFloat(fontSize), - showGutter: showLine - ) + showGutter: showLine)) .id( editorViewId ) .if( isRunningTests ) { /// this need for catching current editor data from UI test $0.overlay(alignment: .bottom) {