Suppose the code that I have in C# (C++ same behavior)
public enum SearchFieldMode
{
Input = 1,
Output = 2,
};
void Foo()
{
bool bInput = false;
....
Now I want to change the bool bInput to be an enumeration. I jump at the bool and select up to the next word just by pressing Shift+Ctrl+Right.
"bool " is now selected. The caret is in front of the bInput. The blank is selected too.
Now I type "Search" and the corresponding suggestion "SearchFieldMode" is shown. I press Tab!
Now the already typed word Search AND the following word "bInput" is completely replaced by SearchFieldMode.
Idea:
If the previous selection contains a space at the end, the replacement should only be performed on the selected text and not be extended to the text that follows with no space.
With this idea in VAX it is more productive, because the name and following parts are not replaced and I just type a space and have bInput still in my code.
I hope I explained my problem in a understandable way.
If I miss a setting that will already provide this behavior I am sorry, that I didn't found it. So show me how I can achieve this in any way.
Yes I know that I can get this behavior in not selecting the space, but pressing Shift+Ctrl+Right is easy and common.