[Cuis-dev] Missing method SHTextStylerST80>>convertedAndStyledText
Bernhard Pieber
bernhard at pieber.com
Tue Sep 22 14:07:08 PDT 2026
Hi,
StyledTextEditor calls the method convertedAndStyledText on SHTextStylerST80 which does not exist in the latest image anymore.
It was easy to find out it was removed in 7721-Cleanup-JuanVuletich-2025Nov28-07h39m-jmv.001.cs.st:
grep convertedAndStyledText CoreUpdates/*
However, neither the changes nor the sources file contain the original method:
Cuis-Smalltalk-Dev % grep convertedAndStyledText CuisImage/Cuis7.9-8206.changes
Cuis-Smalltalk-Dev % grep convertedAndStyledText CuisImage/Cuis7.8.sources
Cuis-Smalltalk-Dev %
With the following git command I was able to find the source code of the original method:
git log -G"convertedAndStyledText" -p -- CuisImage/Cuis*.sources | grep -B 1 -A 15 "^\+\s*convertedAndStyledText"
!SHTextStyler methodsFor: 'accessing' stamp: 'jmv 4/3/2023 15:43:28'!
convertedAndStyledText
^ formattedText! !
It just returns the instance variable formattedText.
Should we reintroduce the method convertedAndStyledText or add the accessor formattedText and change the call in StyledTextEditor to use the latter instead of convertedAndStyledText?
If the former should we use the original stamp 'jmv 4/3/2023 15:43:28' or a new one?
Opinions?
Cheers,
Bernhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260922/bdde95a8/attachment.htm>
More information about the Cuis-dev
mailing list