Replacing obsolete method with newer version
Fixes an error from settings/tools/editor/code edit2
--- a/AbstractSettingsApplication.st Wed Oct 05 11:34:56 2022 +0100
+++ b/AbstractSettingsApplication.st Thu Jun 09 08:59:11 2022 +0200
@@ -2,6 +2,7 @@
COPYRIGHT (c) 2002 by eXept Software AG
COPYRIGHT (c) 2015 Jan Vrany
COPYRIGHT (c) 2017 Jan Vrany
+ COPYRIGHT (c) 2022 Patrik Svestka
All Rights Reserved
This software is furnished under a license and may be used
@@ -438,6 +439,7 @@
COPYRIGHT (c) 2002 by eXept Software AG
COPYRIGHT (c) 2015 Jan Vrany
COPYRIGHT (c) 2017 Jan Vrany
+ COPYRIGHT (c) 2022 Patrik Svestka
All Rights Reserved
This software is furnished under a license and may be used
@@ -18448,7 +18450,7 @@
inEnvironment:nil
].
text := SyntaxHighlighter
- formatMethod:self class exampleText
+ formatMethodSource:self class exampleText
in:dummyClass
using:currentUserPrefs.
] ifFalse:[
@@ -18457,6 +18459,7 @@
self coloredText value:text
"Modified: / 14-02-2012 / 10:13:56 / cg"
+ "Modified: / 09-06-2022 / 08:49:56 / Patrik Svestka <patrik.svestka@gmail.com>"
!
resetToColorScheme