BugFix@AutoIt:
> Until now, I had assumed that comments in property files were on a separate line, preceded by #.
That is correct. The code scans through whitespace (space or tab) and if the first non-whitespace character is ‘#’ then the line is ignored.
> Now I found in the "SciTEGlobal.properties" (SciTE4AutoIt) the following entry:
> fold.comment=1 #fold.comment=2 #folding inside commentblocks - Only available in SciTE4AutoIt3 version
> When I read this key ( print(props['fold.comment']) ), I get the value "1". So the rest in the line is treated as comment.
Maybe that is a SciTE4AutoIt extension. The reason that ‘#’ is not treated as a comment start elsewhere on a line by SciTE is that that would make using ‘#’ in settings (like colours) more difficult.
For example this setting would be truncated:
style.python.0=fore:#808080
Neil