Watts Martin <[email protected]> squaked out on Wed 03-Aug-2011 19:31
> Steve Kalkwarf wrote:
>> What do you mean by "command"? Many (most?) of BBEdit's actions require user 
>> input before they can be completed.
> 
> One possible answer is: what happens when you type "." in Vim, which I 
> believe really does mean "repeat last command," so you can play around with 
> it for a minute or two to see the effects. If the last thing was to delete 
> the word the cursor is on, it does that. If it was to delete a line, it does 
> that. If it was to insert the phrase "lorem ipsum blah blah blah," it does 
> that. If it was to append the phrase "lorem ipsum blah blah blah" to the end 
> of the current line, it does that.

This makes sense in vi where it has two different modes.

What’s the last thing I did? Type this word? This line? This paragraph? This 
entire reply? where is the break between the current thing I did and the last 
thing I did? In an editor without a specific insert state and a specific 
command state it is impossible to delineate what the ‘last’ thing was and the 
programmers would have to make some capricious decisions as to where to stop 
one ‘thing’ and start the next ‘thing’.

Maybe when I stop typing for more than 5 seconds, that’s the ‘end’ of 
something. Maybe it’s when I move the insertion point. How about if I type 
something and then backspace and type over it. Is that a new command to repeat, 
or not?

Or is it just a “whatever I last did from the menu, do that exact thing again”? 
While that might be useful in some limited cases, I bet what each person means 
by ‘do the last command again’ is pretty different form the next person.

-- 
"I used to hate the sun, because it'd shone on everything I'd done. Made
me feel that all that I had done was overfill the ashtray of my life."


-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to