[squeak-dev] Changeset: copyHtml.1.cs

Christoph Thiede christoph.thiede at student.hpi.uni-potsdam.de
Mon Jan 20 20:08:25 UTC 2020

This one is very small - the proposal is to delegate the #copyHtml
responsibility to TextEditor, and to copy the selection only but not the
whole text. 
Quite useful for quickly sharing some formatted text from the image:
    self handleEdit: [textMorph editor copyHtml]
    "put the html representation of the receiver's
text into the clipboard"
    Clipboard clipboardText: self text printHtmlString

Sent from: http://forum.world.st/Squeak-Dev-f45488.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200120/238d1098/attachment.html>

More information about the Squeak-dev mailing list