So today I was informed as I was working in National Insturments Lab Windows, that there was this nifty little button at the bottom of each editing window. It kinda looks like a calendar, turns out however that it is designed to change your highlighting mode.
What does that mean, you ask???
Well, what it does is change how highlighting/selecting of text behaves in the editor. One option is your standard highlighting, word wrap around the lines. Another option allows you to highlight entire rows based on your vertical drag, useful for deleting whole lines of code quickly or for grabbing text lines to tab when formatting code.
The final, and I think is the coolest, is the box selection. This allows you to grab any box of code, no line wrapping, and do as you will with it, copy, paste, even pressing tab has the effect you think it would, tabbing the highlighted code over 4 spaces! Its genius, very useful for lining up comment blocks on the right side of code, moving comment blocks without having to disturb your code.
Microsoft "borrows" most of their ideas, I think they should borrow this one.
No comments:
Post a Comment