Re: Property files and comments
"'BugFix@AutoIt' via scite-interest" <[email protected]>
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your answers. And before I forget: Happy New Year to everyone here. Jos schrieb am Dienstag, 4. Januar 2022 um 13:50:37 UTC+1: > 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/5faa4cba-8944-45a5-9069-3b4a383f2733n%40googlegroups.com.