The behavior of double-click and option-arrow have recently changed for me (only in TextMate), and I'm finding the new behavior really annoying. For example, if I have the following Python code:
def my_function(parameter_name, defaults=None): #This is a test + another test ...
...then, 1) if I double-click on the "my" part of the function name, it select the string "def my"; 2) if I double-click on the word "test", it selects "This is a test ". Previously, #1 would have selected either "my" or "my_function" (I forget which) and, #2 would have selected only the word "test".
The option-left-arrow and option-right_arrow keys use similar "word" breaks when moving the cursor: if the cursor is in the word "test", for instance, option-left-arrow moves it to the beginning of the word "This".
It's not just a Python change, either. If I have the following text:
ALTER TABLE `my_table_name` MODIFY COLUMN `column_name` FLOAT NOT NULL;
...then double-clicking on the word "MODIFY" selects " MODIFY COLUMN ", for instance.
What might have changed to cause this annoying behavior, and how do I fix it?
I'd appreciate any suggestions,
Mike
At 13:02 Uhr -0400 14.05.2008, Michael Glassford wrote:
The behavior of double-click and option-arrow have recently changed for me (only in TextMate), and I'm finding the new behavior really annoying.
Did you maybe accidently add a space character to Preferences -> Text Editing -> Word Characters? Maybe at the end of the line so you'll only see it when you place the cursor into the input field...
Kind regards, Tobias Jung
Tobias Jung wrote:
At 13:02 Uhr -0400 14.05.2008, Michael Glassford wrote:
The behavior of double-click and option-arrow have recently changed for me (only in TextMate), and I'm finding the new behavior really annoying.
Did you maybe accidently add a space character to Preferences -> Text Editing -> Word Characters? Maybe at the end of the line so you'll only see it when you place the cursor into the input field...
Kind regards, Tobias Jung
It appears that I did; removing the space fixes the problem. Thanks! I wasn't even aware of that setting (I'm sure I've seen it before, but I never used it and so forgot about it).
What is it normally? Mine contained only a space, so apparently I accidentally replaced the original setting completely.
Mike