[DevExpress Support Team: CLONED FROM T700743: CodeRush Bugs]
Now it seems like the caret will sometimes end up at a random point inside of the region, making it so that space bar adds a space instead of expanding the region.
Region Painting - The caret can be placed in the middle of the painted region after moving between code lines
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v18.2.6Download Official Update
Hi William,
We fixed the issue in the context of this ticket and received another inquiry from our user pointing that the new caret behavior for region painting is incorrect. We have decided to add an option to toggle between modes for region painting. Thus we have added it to tune the behavior via our settings. The new CodeRush update v18.2.8 will contain this functionality.
Would you please reviewthe screencast and change your CodeRush settings after updating to CodeRush v.18.2.8?
Thank you for the confirmation.
You are right the current CodeRush version is v.18.2.7, but the next version (18.2.8) will be released soon.
We only wanted to notify you about the changes in advance.
William, I cannot reproduce the problem. Could you please make a screencast with steps to reproduce the problem and an enabled CodeRush Keywatcher feature? I have recorded a screencastshowing how to enable CodeRush Keywatcher.
https://www.screencast.com/t/QYdvDnrSv
I don't have a version of the old coderush available but if you do the same thing you should notice that the caret is always at the beginning of a regioned line when moving down with arrow keys.
Thank you for the screencast. I have checked such behavior in CodeRush Classic, and you are right. In the old CodeRush version, the caret can be placed only in the start or end painting region after moving between code lines. In the new CodeRush version, the caret can be placed in the middle of the region after moving between code lines and this is bug. We will try to fix the problem shortly and notify you about our progress in the context of the current ticket.