I was recently working with folding and noticed a dangerous behavior that I would like see changed if possible. I was working on an html document with the setup something like:
<div id="section_1">... (dangerous place to backspace) <div id="section_2">... (dangerous place to backspace) <div id="section_3">... (dangerous place to backspace)
What I noticed was if your cursor was on one of the lines that I labeled (dangerous place to backspace) above and you backspaced it would delete the entire folded content. What is especially troublesome is that the only indication that it happened is the little ... graphic disappears.
The behavior I would like to suggest is that if you backspace in one of the above situations the fold opens automatically and one character is deleted. This way if I really did want to delete it all I can select it and do so otherwise I am given a clear indication of what happened.
Sincerely,
Eric Curtis
The behavior I would like to suggest is that if you backspace in one of the above situations the fold opens automatically and one character is deleted. This way if I really did want to delete it all I can select it and do so otherwise I am given a clear indication of what happened.
+ 1 (+ 15 actually)
I've been bitten more than a couple times by this.
Jonathan Raphaelson University of Colorado at Boulder --
Home: 303-469-3442 Cell: 720-937-4372
jonathan.raphaelson@colorado.edu jonraphaelson@gmail.com
Thirded.
Jon's suggestion is actually the expected behavior, since folded content should not be viewed as "one character".
Chris
Jon Raphaelson wrote:
The behavior I would like to suggest is that if you backspace in one of the above situations the fold opens automatically and one character is deleted. This way if I really did want to delete it all I can select it and do so otherwise I am given a clear indication of what happened.
- 1 (+ 15 actually)
I've been bitten more than a couple times by this.
Jonathan Raphaelson University of Colorado at Boulder --
Home: 303-469-3442 Cell: 720-937-4372
jonathan.raphaelson@colorado.edu jonraphaelson@gmail.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
This is just a bump on this thread because I think it is very important and would like to see the powers that be discuss it for a few moments.
Sincerely,
Eric C
On 29 Jan 2005, at 18:00, Eric Curtis wrote:
The behavior I would like to suggest is that if you backspace in one of the above situations the fold opens automatically and one character is deleted. This way if I really did want to delete it all I can select it and do so otherwise I am given a clear indication of what happened.
Me too
Kind regards,
Mats
---- "TextMate, coding with an incredible sense of joy and ease" - www.macromates.com -