You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"This message serves for the string modification for the purpose of a given Spec presenter. It may, for example, convert it to a presenter's locale. The implementation here (in the String) serves as fallback for regular strings."
^ self
]
{ #category : #'*Spec2-Core' }
String >> withAccentuatedCharacter: aCharacter [
| text index |
text := self asText.
aCharacter ifNil: [ ^ text ].
index := self asLowercase indexOf: aCharacter asLowercase.
index isZero
ifTrue: [ ^ text ].
^ text
addAttribute: TextEmphasis underlined from: index to: index;