Select a word/statement: Nice Little Development Goody
I don’t know how they did it, but my colleague (who’s blog I can only recommend :-)) pointed me to a new tiny small possibility in the DEV environment that was added in the newest Cumulative Update. Let’s not hold it from you ..
When we want to select a word in any text editor, like Word, Notepad, .. Or even Visual Studio. What we do is: double click that word. But what happened in C/SIDE if I want to select the “OnBeforePostDocument” (to copy or whatever…) in this codeunit 80:
The entire line was selected. The only way to select the word was to manually drag your mouse and do a perfect timing of clicking and releasing.. .
In the newest build (I think from CU5, but definitely in CU6), this is what happens:
Exactly what you would expect in any kind of text editor.
“A small step for man, a giant leap for mankind”
Or let’s not exaggerate .. it’s just nice :-). It’s also where it stops being “nice”. What still doesn’t work:
- Selecting a piece of text with the ALT-key doesn’t work (did you ever try that in Word? THAT would be awesome in a DEV environment!)
- Selecting from the middle of one line to the middle of the next line just selects the two entire lines
- Select a word by double click, and try to select the entire next word.. not happening. It should select word-by-word the next ones..
- …
But still .. let’s not look a gift horse in the mouth ;-).
This was originally posted here.
*This post is locked for comments