Bug Report T671295
Visible to All Users

Region Painting - A region directive is not painted when the caret is on the line start

created 6 years ago

Currently with the latest version of Roslyn CodeRush, regions are not painted correctly in a C# file when it is expanded and you have the cursor at the beginning of the #region.

This is true for both the classic and rosyln styles.

Any idea when this will get implemented so that it will behave like previous versions of CodeRush?

Comments (3)
DevExpress Support Team 6 years ago

    Hi William,

    Thank you for contacting us.
    If I understand you correctly, you are describing the scenario when the region painting disappears if the caret moves at the beginning of the "region" directive.
    If so, this is a specially designed scenario. We hide our rendering when the caret enters its area so that it does not interfere with the text editing.

    Please take a look at the video illustrating my test scenario and inform us if we do not quite understand the problem that you described.
    https://www.screencast.com/t/VE9M3nbVgmtt

      But that's now how it worked in previous versions - for instance, see here:
      https://www.screencast.com/t/XaTfCSE4U

      DevExpress Support Team 6 years ago

        Hi William,

        Thank you for sending us the video.
        Yes, I see this difference in the behavior in comparison with CodeRish classic.
        We will make the correction and inform you once the changes are ready.

        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.

          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.