Bug Report T711195
Visible to All Users

Region Painting – Region painting incorrectly positions the caret if the “virtual space” option is enabled

created 6 years ago

Hi,
have an issue with "Virtual space enabled" in the editor and region painting set to ON.
Cursors always jumps left to the end of region definition. I.e. if I'm on line 100, col 100 and there is region on line 99 when I hit "Down" button cursors moves to the end of region definition, i.e. line 99 col 20
CodeRush version 18.2.6

Comments (1)
DevExpress Support Team 6 years ago

    Hello Vladimir,

    Thank you for pointing out this issue. I have reproduced it on my side.
    So, we will research it and let you know as soon as we have any results.

    Answers approved by DevExpress Support

    created 6 years ago (modified 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 (2)
      VI VI
      Vladimir Iahnenco 6 years ago

        Not completely fixed in 18.2.7
        Jumping to the end of #region la-la-la when caret moving between start and end of regions.

        DevExpress Support Team 6 years ago

          Hello Vladimir,

          Thank you for trying the new version and informing us of your results.

          Jumping to the end of a region when the caret moves between the start and end of the region is expected behavior. Please refer to this thread for details: Region Painting - The caret can be placed in the middle of the painted region after moving between code lines

          However, it looks like the cursor should restore the initial column position when it leaves the region.

          So, we will consider what we can do with it and notify you as soon as make any progress.

          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.