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

Disabling Auto-indent glitches the closing bracket '}'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 3.0.8
    • Fix Version/s: 3.0.9
    • Component/s: Editor

      Description

      When Auto-indent is disabled, entering a closing bracket '}' will delete all tabs that have been entered on that line previous to it if that closing bracket would otherwise have been auto-indented.

      example:

      #!java
      public void somefunction()
      {
      	if(true)
      	{
      		//content here
      } //this bracket will eat all previous tabs
      }
      

      It may also be helpful to note that I have soft tabs disabled and match brackets also disabled. This does not happen when tabs are set to insert a truckload of spaces instead of a tab.

      On some occasions, it will not eat all previous tabs and instead auto indent anyway (even though it is disabled), replacing my tabs with a bunch of spaces.

      Basically, disabling auto indent doesn't work.

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              external External via trac
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: