Bug Report T701031
Visible to All Users

Region Painting - The caret can be placed in the middle of the painted region after moving between code lines

created 6 years ago

[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.

Comments (3)
DevExpress Support Team 6 years ago

    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.

      DevExpress Support Team 6 years ago

        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.

        Answers approved by DevExpress Support

        created 6 years ago

        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.

          Comments (3)
          DevExpress Support Team 6 years ago

            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?

              Will do as soon as it's out - it looks like you guys are still on v18.2.7!

              DevExpress Support Team 6 years ago

                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.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.