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

synchronized blocks not recognised as blocks

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.0.5
    • Component/s: Parser

      Description

      In the BlueJ editor, blocks like this:

      synchronized (this)
      {
          foo();
      }
      

      are not recognised as blocks. This has a couple of effects:

      1. They don't get any scope highlighting.
        2. When you auto-indent the file, the foo() call above is aligned with the synchronized keyword, not with a further indent as I would like.

      I can live with 1, but it would be good to fix 2.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: