[squeak-dev] Re: Please don't kill the in-place find feature of the former CTRL-J

marcel.taeumel Marcel.Taeumel at hpi.de
Mon Dec 21 14:08:33 UTC 2015


Hi,

here is a change set that should make in-place-find work:
undo-inplace-find-fix.cs
<http://forum.world.st/file/n4868139/undo-inplace-find-fix.cs>  

Please test it, then I can commit it into trunk. Here is how it works:

- You just moved your cursor to some place without selecting something.
- You type something.
- You hit *CMD+G* to "find again"
- The previous input will be removed and taken as search text.
- The next match will be selected.
- (If you err here, you can *undo* with CMD+Z and insert the input again.) 

If you hit CMD+J, nothing will happen because there was no replace operation
detected. If you, however, hit CMD+G to find the next match and then
continue wit a CMD+J, it will find/replace the next match (with nothing)
because your insertion was removed automatically.

Does this make sense?

Best,
Marcel



--
View this message in context: http://forum.world.st/Please-don-t-kill-the-in-place-find-feature-of-the-former-CTRL-J-tp4868119p4868139.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list