hpi-swa / sandblocks

A projectional editor for Squeak/Smalltalk.
MIT License
35 stars 3 forks source link

Feature request: Paste complete method string (including signature into empty sb method template #98

Open LinqLover opened 2 years ago

LinqLover commented 2 years ago

Given an empty method:

image

And the clipboard contents:

browse
    self guessedClass ifNotNil: [:class | class browse]

Pasting should work.

(Currently, you need to type the selector manually and insert the remaining source afterwards)

tom95 commented 2 years ago

This is currently possible if the actual method is selected, not just a message part.

Leaving the issue open though, this should be improved.

LinqLover commented 2 years ago

This is currently possible if the actual method is selected, not just a message part.

I rechecked and it only seems to be possible when the method block is in the sandblocks paste buffer, but not if the clipboard only contains a string representation of the method.