Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-244

Scope doesn't repaint if you de-indent a method which has a class variable before it.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Editor

      Description

      If I have my class as below, and I de-indent the 'method', the scope highlighting before it will become completely white, and will only fix itself with update calls such as pressing enter around the 'x', and also around the 'method'.

      Just trying to re-indent the method doesn't achieve a repaint.

      public class Test
      {
          public int x;
      
          public void method() {
          }
          
      }
      

      Note the same applies if you delete spaces before, it correctly removes the background colour as you go reduce it, but doesn't add it back when you put spaces back in.

      Even after fixing there is the remains of the colour coming over the side of the editor window, and only goes away if highlighted.

        Attachments

        1. after.png
          8 kB
        2. after2.png
          9 kB
        3. after3.png
          8 kB
        4. before.2.png
          8 kB
        5. before.png
          8 kB

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              plcs plcs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: