Hi,
Here's another feature request: Could you make selecting newline characters a bit easier?
At the moment it is virtually impossible drag-select some text and the newline character of a line that is followed by a non-empty line. For an example of how it could be done better is TextEdit. If you select a text there and drag a distance past the newline character, the newline character is also included.
Thanks, Jeroen.
On Dec 20, 2004, at 11:46, Jeroen van der Ham wrote:
At the moment it is virtually impossible drag-select some text and the newline character of a line that is followed by a non-empty line.
Drag the cursor one line down and to the left (before the next line starts), this should then include the newline w/o selecting anything from the next line).
For an example of how it could be done better is TextEdit. If you select a text there and drag a distance past the newline character, the newline character is also included.
I'll check it out.
On 20-12-2004 16:56, Allan Odgaard wrote:
On Dec 20, 2004, at 11:46, Jeroen van der Ham wrote:
At the moment it is virtually impossible drag-select some text and the newline character of a line that is followed by a non-empty line.
Drag the cursor one line down and to the left (before the next line starts), this should then include the newline w/o selecting anything from the next line).
This is not really an intuitive solution: I expect the newline character to be at the end of a line, not before column 0 of the next line.
Jeroen.
On 22.12.2004, at 11:40, Jeroen van der Ham wrote:
On 20-12-2004 16:56, Allan Odgaard wrote:
On Dec 20, 2004, at 11:46, Jeroen van der Ham wrote:
At the moment it is virtually impossible drag-select some text and the newline character of a line that is followed by a non-empty line.
Drag the cursor one line down and to the left (before the next line starts), this should then include the newline w/o selecting anything from the next line).
This is not really an intuitive solution: I expect the newline character to be at the end of a line, not before column 0 of the next line.
Jeroen,
I think your expectations don't match Macintosh tradition. All Mac apps (with AFAIK the sole except of Microsoft Word) work the way Allan describes. I've used Macs for 14 years; TextMate works the way I expect it to in this regard.
Some suggestions I can offer you:
If you want to select a whole line, including the newline at the end, do not drag from the start of the line to the end of that line. Drag instead from the start of the line to the start of the next line. This is a much shorter mouse movement anyway.
If you want to start selecting in the middle of the line and would like to move the mouse to the end of the line to accomplish this, instead of moving to the beginning of the next line, you can do so, and the newline will not be selected. Then, to select the newline as well, you can press Shift-Right Arrow.
On 22-12-2004 13:19, Ryan Schmidt wrote:
I think your expectations don't match Macintosh tradition. All Mac apps (with AFAIK the sole except of Microsoft Word) work the way Allan describes. I've used Macs for 14 years; TextMate works the way I expect it to in this regard.
I don't know why you say that what I propose is not Macintosh tradition. I just tried it with Terminal, Console, Mail and it all works the same as in TextEdit. Which is that if you some amount beyond the end of the line, the newline character is also included. This is signaled by selecting the blank part after the end of the line.
Some suggestions I can offer you:
If you want to select a whole line, including the newline at the end, do not drag from the start of the line to the end of that line. Drag instead from the start of the line to the start of the next line. This is a much shorter mouse movement anyway.
I have an even shorter solution for you: triple-click the line :)
Jeroen.
On 22.12.2004, at 14:18, Jeroen van der Ham wrote:
On 22-12-2004 13:19, Ryan Schmidt wrote:
I think your expectations don't match Macintosh tradition. All Mac apps (with AFAIK the sole except of Microsoft Word) work the way Allan describes. I've used Macs for 14 years; TextMate works the way I expect it to in this regard.
I don't know why you say that what I propose is not Macintosh tradition. I just tried it with Terminal, Console, Mail and it all works the same as in TextEdit. Which is that if you some amount beyond the end of the line, the newline character is also included. This is signaled by selecting the blank part after the end of the line.
Well blow me down. Looks like you're right. I apologize about that; thank you for pointing it out to me. If you drag-select more than about 1.5cm past the end of the line in a Cocoa text editing program (TextEdit, Mail, Console, Script Editor, Adium), it does select the newline. Looks like that's an OS Xism I've never noticed before. Unless I'm totally blind, it didn't used to be like that in OS 9 and before, and it's not like that in BBEdit 7 or other Carbon apps I tested (like /Developer/Applications/Utilities/Built Examples/SimpleText). The way Terminal does it is also different in that it selects the newline immediately, without waiting for you to get 1.5cm away from the last character. I initially thought you were referring to the way Word does it, which selects the newline as soon as you get 2mm past the end of the line, which I've always found nonstandard (although not necessarily inconvenient).