From 292bd06fc49cb10873d314c3bbff3eb1f1ef762a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A1n=20Morales=20Durand?= Date: Wed, 14 Aug 2024 19:39:10 +0200 Subject: [PATCH] Reset textAttributes in Smalltalk text styler during initialization, so it uses the user's configured code style. --- src/Microdown-RichTextComposer/MicSmalltalkTextStyler.class.st | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microdown-RichTextComposer/MicSmalltalkTextStyler.class.st b/src/Microdown-RichTextComposer/MicSmalltalkTextStyler.class.st index d3d5e053..df220d03 100644 --- a/src/Microdown-RichTextComposer/MicSmalltalkTextStyler.class.st +++ b/src/Microdown-RichTextComposer/MicSmalltalkTextStyler.class.st @@ -17,6 +17,7 @@ MicSmalltalkTextStyler class >> initialize [ "do not super initialize, that whould interfer with settings" styleTable := SHRBTextStyler styleTable. "Not super, as that would just refer to my class-side variables" + textAttributes := nil. formatIncompleteIdentifiers := false ]