Re: Property files and comments
"'Neil Hodgson' via scite-interest" <[email protected]>
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
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/0357A779-04AD-49C1-B1F4-08C5BB41116E%40me.com.