Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Rename UI enhancement
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

foxmuldr
Tomato Guru

USA
416 Posts

Posted - Jun 13 2012 :  4:09:08 PM  Show Profile  Reply with Quote
When right-clicking on a symbol and choosing "Refactor VAX -> Rename", or pressing Shift+Alt+R on a symbol, have the popup UI's input box caret located at the same spot from where the event was triggered.

Example:
int foo(int bad|name);

The caret is there between "d" and "n" in badname. When triggered, the UI should pop up with the caret also there. In addition, if a portion of the symbol had been selected (such as highlighting "n" in "badname" (to change it to "N"), then also select the same range in the UI popup.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 14 2012 :  5:47:25 PM  Show Profile  Reply with Quote
Interesting idea. Currently rename selects the whole word, so you can easily type a new one, which is usually convenient: just type the new name without caring about the current one, it just gets replaced. Editboxes tend to select the whole word when they get the focus so it's also consistent with this practice.

Others opinion on this?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000