When double-clicking strings with Underscore or Underbar, it does not highlight the whole string. How to not include or exclude Underscore as part of string when highlighting words with Underscore?
How to enable underscore as word character and be highlighted as part of the string:
Toad for Oracle 10.1 and lower:
1. Go to View | TOAD Options.
2. On the left panel, click on Editor | Behavior.
3. On the right panel, check "Treat underscore as a word character."
4. Click on "Apply" and "OK."
5. This will now highlight the whole string with underscores after being double-clicked.
Toad for Oracle 10.5 and higher:
1. Go to View | TOAD Options.
2. On the left panel, click on Editor | Behavior.
3. On the right panel, under "Additional word characters:" ensure that you have "_" in the box.
4. Click on "Apply" and "OK."
5. This will now highlight the whole string with underscores after being double-clicked.
To NOT include underscores or underbars as part of the word string when highlighting / double-clicking words, please do the reverse or opposite of the above steps.