Hi all,
The latest minor update seems to have introduced a strange behavior. When moving the cursor pass the end of a line, TextMate now pretends that the line is full of an infinite number of spaces, instead of moving to the next line. Same happens when clicking with the mouse. Let's just say that after spending 20 years editing texts in editors with the "good old" behavior, I'm quite annoyed that the new behavior is imposed on me and that there's no option to turn it off.
Could anybody confirm that this is an intended feature of TextMate and that there's no way to disable it?
Jasmin
On Mon, Aug 24, 2009 at 10:13 AM, Jasmin Blanchettejasmin.blanchette@gmail.com wrote:
When moving the cursor pass the end of a line, TextMate now pretends that the line is full of an infinite number of spaces, instead of moving to the next line. Same happens when clicking with the mouse.
Sounds like you've turned freehand mode on by accident. Edit -> Mode -> Freehand Editing to turn it off again.
C --- Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/
On 24.08.2009, at 11:13, Jasmin Blanchette wrote:
Could anybody confirm that this is an intended feature of TextMate and that there's no way to disable it?
It means you inadvertently enabled “Freehanded Editing”. You can find it in the menu under Edit→Mode, or hit ⌥⌘E to toggle it.
HTH, Martin
The latest minor update seems to have introduced a strange behavior. When moving the cursor pass the end of a line, TextMate now pretends that the line is full of an infinite number of spaces, instead of [..]
Could anybody confirm that this is an intended feature of TextMate and that there's no way to disable it?
Jasmin
Hi Jasmin, maybe you've accidentally activated "Freehanded Editing" (shortcut alt+apple+E) mode that you can find under the menu Edit > Mode > …
While it may seem silly it happened to me a couple of times and, as I usually don't use that feature, I was always baffled.
Hope that helps.
Edo
On Aug 24, 2009, at 2:13 AM, Jasmin Blanchette wrote:
Hi all,
The latest minor update seems to have introduced a strange behavior.
Which update? There hasn't been a stable release since r1498 in February, and the current cutting-edge build (1505) was released in June.
When moving the cursor pass the end of a line, TextMate now pretends that the line is full of an infinite number of spaces, instead of moving to the next line. Same happens when clicking with the mouse.
The behavior you're describing is an editing mode called "Freehand". It's enabled/disabled by pressing option-cmd-e or choosing it in the Edit->Mode menu.
I'm guessing you accidentally pressed option-cmd-e.
-NK
Could anybody confirm that this is an intended feature of
TextMate and
that there's no way to disable it?
It means you inadvertently enabled “Freehanded Editing”. You can find it in the menu under Edit→Mode, or hit ⌥⌘E to
toggle
it.
Indeed! Thank you! You saved my day. (Incidentally, it's easy to forget that TextMate has more options than those available in the "Settings...") Jasmin
It means you inadvertently enabled “Freehanded Editing”. You can find it in the menu under Edit→Mode, or hit ⌥⌘E to
toggle
it.
This happens a lot to me because Command-Option-E is the keyboard shortcut to clear Safari's cache. As a web developer who codes in TextMate and checks work in Safari (primarily), I'm always hitting Command-Option-E to clear the cache, and sometimes I _think_ I'm in Safari but really I'm in TextMate (really...just because my eyes are looking at Safari, doesn't that mean that it has focus?), and so while I've entered Freehand mode a fair number of times, never once has it been intentional.
I tried to address this by going to the Keyboard System Preference pane, and adjusting the keyboard shortcuts for TextMate...but it looks like it only works for adding new ones or changing existing ones...I don't readily see how one could completely remove a standard shortcut. I did the next best thing and changed it to a really really really obscure shortcut, one I'm not likely to ever press accidentally, but I'd be interested in knowing how to remove pre-existing shortcuts, if anyone knows...
Thanks, Dru
On 8/24/09 8:39 AM, in article A480C19504D59D4883ADF406BD893D0449BE847F49@pegasus.summitprojects.com, "Dru Kepple" dru@summitprojects.com wrote:
I did the next best thing and changed it to a really really really obscure shortcut, one I'm not likely to ever press accidentally, but I'd be interested in knowing how to remove pre-existing shortcuts, if anyone knows...
You can't; what you're doing is exactly the standard approach. You could probably set up an event tap to block that menu item entirely, but that seems hardly worth the trouble. m.
On 24.08.2009, at 22:15, Matt Neuburg wrote:
I did the next best thing and changed it to a really really really obscure shortcut, one I'm not likely to ever press accidentally, but I'd be interested in knowing how to remove pre-existing shortcuts, if anyone knows...
You can't; what you're doing is exactly the standard approach. You could probably set up an event tap to block that menu item entirely, but that seems hardly worth the trouble. m.
There's a way to disable the shortcut ⌥⌘E: [a tiny hack if you have the Interface Builder (part of the DeveloperKit)]
- quit TextMate - go to Application/TextMate.app - right-click to open "Show Package Contents" - go to folder "Resources/English.lproj" - look for MainMenu.nib - DO A BACKIUP OF THAT FILE !! (⌘D eg) - double-click at MainMenu.nib to open it in the Interface Builder - look for the MainMenu bar - click on "Edit" > "Mode" > "Free-hand Editing" - press ⌘1 to come up with the Inspector panel "Menu Attributes" - last row of that Inspector "Key Equiv." - either you click at "Clear" to remove that short-cut or click at the grey square left from the "Clear" button and press an other unused key combination to change the short-cut - Interface Builder "File" > "Save" - start TextMate and look at the main menu bar "Edit" > "Mode"
Cheers,
--Hans
A maybe simpler hack is this: - In TextMate, open the bundle editor ^⌥⌘B - Create a new command from popup at the bottom - Set Input to 'None' and Output to 'Discard' and remove text from the Command(s) textfield - Set Activation to Key Equivalent, and set it to ⌥⌘E - Close Bundle Editor
Björn
There's a way to disable the shortcut â¥âE: [a tiny hack if you have the Interface Builder (part of the DeveloperKit)]
- quit TextMate
- go to Application/TextMate.app
- right-click to open "Show Package Contents"
- go to folder "Resources/English.lproj"
- look for MainMenu.nib
- DO A BACKIUP OF THAT FILE !! (âD eg)
- double-click at MainMenu.nib to open it in the Interface Builder
- look for the MainMenu bar
- click on "Edit" > "Mode" > "Free-hand Editing"
- press â1 to come up with the Inspector panel "Menu Attributes"
- last row of that Inspector "Key Equiv."
- either you click at "Clear" to remove that short-cut or click at the
grey square left from the "Clear" button and press an other unused key combination to change the short-cut
- Interface Builder "File" > "Save"
- start TextMate and look at the main menu bar "Edit" > "Mode"
Cheers,
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
(Sent again with new Subject and right encoding:)
A maybe simpler hack is this: - In TextMate, open the bundle editor ^⌥⌘B - Create a new command from popup at the bottom - Set Input to 'None' and Output to 'Discard' and remove text from the Command(s) textfield - Set Activation to Key Equivalent, and set it to ⌥⌘E - Close Bundle Editor
Björn
24/8 2009 kl. 22.49 skrev Hans-Jörg Bibiko:
There's a way to disable the shortcut ⌥⌘E: [a tiny hack if you have the Interface Builder (part of the DeveloperKit)]
- quit TextMate
- go to Application/TextMate.app
- right-click to open "Show Package Contents"
- go to folder "Resources/English.lproj"
- look for MainMenu.nib
- DO A BACKIUP OF THAT FILE !! (⌘D eg)
- double-click at MainMenu.nib to open it in the Interface Builder
- look for the MainMenu bar
- click on "Edit" > "Mode" > "Free-hand Editing"
- press ⌘1 to come up with the Inspector panel "Menu Attributes"
- last row of that Inspector "Key Equiv."
- either you click at "Clear" to remove that short-cut or click at the
grey square left from the "Clear" button and press an other unused key combination to change the short-cut
- Interface Builder "File" > "Save"
- start TextMate and look at the main menu bar "Edit" > "Mode"
Cheers,
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 25.08.2009, at 09:56, Björn Jadelius wrote:
A maybe simpler hack is this:
- In TextMate, open the bundle editor ^⌥⌘B
- Create a new command from popup at the bottom
- Set Input to 'None' and Output to 'Discard' and remove text from the
Command(s) textfield
- Set Activation to Key Equivalent, and set it to ⌥⌘E
- Close Bundle Editor
Yeah, sometimes the obvious way is hidden ;)
With that approach one can disable that short-cut only for chosen scopes.
--Hans
Those are both great ideas! Thanks!
From: Hans-Jörg Bibiko bibiko@eva.mpg.de
On 25.08.2009, at 09:56, Björn Jadelius wrote:
A maybe simpler hack is this:
- In TextMate, open the bundle editor ^⌥⌘B
- Create a new command from popup at the bottom
- Set Input to 'None' and Output to 'Discard' and remove text from the
Command(s) textfield
- Set Activation to Key Equivalent, and set it to ⌥⌘E
- Close Bundle Editor
Yeah, sometimes the obvious way is hidden ;)
With that approach one can disable that short-cut only for chosen scopes.
--Hans