I believe they're legacy classes, and should be removed also. Given that they are not really used at all in TextMorphs nor the text editors. Fernando On Thu, Dec 1, 2011 at 5:10 AM, Sean P. DeNigris <sean@clipperadams.com> wrote:
This is a subclass of TextAction which is a subclass of TextAttribute
Hierarchy: TextAttribute  TextAction   PluggableTextAttribute   TextDoIt    TextPrintIt   TextLink   TextURL
Is anyone using any of this? I've never heard it mentioned and vote to remove TextAction and all of its subclasses from the image unless someone speaks up for them.
Additional info: They are referenced by TextEditor comments; and RemoteString, PseudoClass, and RunArray, which all seems to be about filing them in and out.
They appear to be the beginnings of a markup syntax.
The comment from TextAttribute is:
Tells a piece of text to be a certain way.
Select text, press Command-6, choose a attribute.  If selected text is of the form    Hi There<Smalltalk beep> the part in angle brackets is saved for action, and the Hi There appears in the paragraph.  If selection has no angle brackets, use the whole thing as both the text and the action.
TextDoIt  --  eval as a Smalltalk expression (the part in angle brackets)
TextLink -- Show a method, class comment, class hierarchy, or class defintion. Â Â Â <Point extent:>, <Point Comment>, <Point Hierarchy>, or <Point Defintion> are what you type.
TextURL -- Show the web page. <www.disney.com>
These attributes of text need to be stored on the disk in a regular file-out.  It is done in this form:  Hi There    in the text, and a Run containing  dSmalltalk beep;;    Click here to see the extent:    in the text, and a Run containing  method LPoint extent:; See RunArray class scanFrom: where decoding is done.
-- View this message in context: http://forum.world.st/COTDC-86-TextURL-tp4119838p4126875.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.