Modify ↓
#1817 closed Bug (Fixed)
Tidy incorrectly formats an objects parenthesis
| Reported by: | JamesBrooks | Owned by: | Jos |
|---|---|---|---|
| Milestone: | Future Release | Component: | SciTE4AutoIt |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | tidy, parenthesis | Cc: |
Description
When you run Tidy on functions on a function like this:
Func Test ( $ioParam, $ioIn, $ioOut ) ; Blah EndFunc
It will get converted to
Func Test($ioParam, $ioIn, $ioOut) ; Blah EndFunc
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)
Note:
See TracTickets
for help on using tickets.

Fixed in Tidy version 2.2.0.9 available in the Beta directory.