[Pharo-dev] bug:  Typing cmd+L cancel all typing and we can't undo it [Terminated]
thekilon at yahoo.co.uk
Tue Oct 15 14:17:02 EDT 2013
tried to understand undo , the more I explored the more I don't understand
how it works. TextEditor is a big class doing many different things and the
code is not made in a way to be read easily. I have vague idea how it works
looks like HistoryIterator and EditingState do the work, but still cant
figure out exactly how.
So time to move to next bug.
Marcus Denker-4 wrote
> On Oct 15, 2013, at 3:34 PM, Igor Stasenko <
> > wrote:
>> i using cmd-l very very very often..
>> it allows me to type any random text in any random place and then all
>> this stuff is gone with single key stroke.
>> more than that, it marks text back as unmodified, so i do not need to
>> deal with browser entering the "commit or cancel" mode,
>> asking me stupid questions like "do you want to commit or cancel"
>> so , it is regression. It is regression just from a single perspective,
>> that it adds one more modal dialog which blocks your workflow.
>> A proper fix would be is to add the undo command, so if you pressed cmd-l
>> by mistake, you can undo it by pressing cmd-z
> Yes, you are welcome to submit a fix that does that. For now we have a
> backstop that makes sure people don't lose code.
> signature.asc (210 bytes)
View this message in context: http://forum.world.st/bug-4993-Typing-cmd-L-cancel-all-typing-and-we-can-t-undo-it-Terminated-tp4714154p4714607.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
More information about the Pharo-dev