Ticket T953812
Visible to All Users

CodeRush - Region painting issues

created 4 years ago

I have attached a video of the issues I am experiencing:

  1. When expanding a region, the characters #r remain displayed.
  2. When attempting to edit the region text, the caret remains placed at the location where the mouse was clicked. It used to just expand the region name and place the caret at the end of the text.
  3. Sometimes, when expanding a region, the region's header text is also displayed in addition to the region's content.

This happens on all my projects and files.

Comments (3)
DevExpress Support Team 4 years ago

    Hi Glen,

    Thank you for contacting us and sharing a detailed description of the issues you found.
    I was able to reproduce issue #1. It occurs when the closing region directive is shifted relatively to the opening directive
    I registered a separate ticket on your behalf to process this issue more efficiently. We will address it shortly.

    Regarding issue #2, caret motion can be regulated with the "Move caret when entering the #region/#endregion line" option. Please check it and let us know if it helps.

    In the last example you show 2 different scenarios. In the first case, the line with the opening region directive is selected, and in the second scenario, the caret is not even in the region section. Therefore, you see the difference in painting. We disable region painting when the line with the directive is selected.

      Issue #2 seems to have been fixed by ticking the box.

      Thanks for #1 and #3 info.

      DevExpress Support Team 4 years ago

        Hi,

        You are welcome.

        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.