Re: Property files and comments
Jos <[email protected]>
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
That line in SciTEGlobal.properties is a mistake in the SciTE4AutoIt3 distribution version and should be on 2 lines. It will be changed in the next version. Jos Op dinsdag 4 januari 2022 om 04:09:59 UTC+1 schreef Neil Hodgson: > 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 > > -- You received this message because you are subscribed to the Google Groups "scite-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/faa20faf-e082-486c-bba1-015ffbfa00dcn%40googlegroups.com.