Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1817 closed Bug (Fixed)

Tidy incorrectly formats an objects parenthesis

Reported by: JamesBrooks Owned by: Jos
Milestone: Future Release Component: SciTE4AutoIt
Version: Severity: None
Keywords: tidy, parenthesis Cc:


When you run Tidy on functions on a function like this:

Func Test ( $ioParam, $ioIn, $ioOut )
   ; Blah

It will get converted to

Func Test($ioParam, $ioIn, $ioOut)
   ; Blah

Notice the spaces between the parenthesis have now gone?

The same also applies for parenthesis in equations or when a function is called.

The only time the difference occurs is when using an objects property.

Tidy outputs this:

StringStripWS(.Fields("Version" ).Value, 8) 

When it should be:

StringStripWS(.Fields("Version").Value, 8) 

The space after the Version string is removed.

Perhaps I am being too pedantic but it's an inconsistency which has bothered me greatly for some time.

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by Jos

  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in Tidy version available in the Beta directory.

comment:2 Changed 12 years ago by TicketCleanup

  • Milestone set to Future Release

Automatic ticket cleanup.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.