Text editor for a mac4/11/2023 ![]() HighlightRule( pattern: boldItalics, formattingRules: [ Struct ContentView: View private var text : String = "here is _bold emphasis text_ " private let rules : = [ ![]() Import HighlightedTextEditor // highlights text between underscores let boldItalics = try ! NSRegularExpression( pattern: "_+_ ", options: ) ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |