diff options
author | nyamatongwe <unknown> | 2008-10-08 10:05:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-10-08 10:05:11 +0000 |
commit | 909cd70d36e31e27a53ddc49dacebfd5c13ffc9b (patch) | |
tree | 8999e537aa0fd2191a92756e7ccc4e60bbf6b6aa /doc/ScintillaDoc.html | |
parent | ff82f2a34ae0dc127173a53b287e413423f4a0c3 (diff) | |
download | scintilla-mirror-909cd70d36e31e27a53ddc49dacebfd5c13ffc9b.tar.gz |
Documented property naming convention.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 90d337529..c5dd47371 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -4698,6 +4698,10 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ interpreted as integers. Search the lexer sources for <code>GetPropertyInt</code> to see how properties are used.</p> + <p>There is a convention for naming properties used by lexers so that the set of properties can be found by scripts. + Property names should start with "lexer.<lexer>." or "fold.<lexer>." when they apply to one + lexer or start with "lexer." or "fold." if they apply to multiple lexers.</p> + <p><b id="SCI_GETPROPERTY">SCI_GETPROPERTY(const char *key, char *value)</b><br /> Lookup a keyword:value pair using the specified key; if found, copy the value to the user-supplied buffer and return the length (not including the terminating 0). If not found, copy an empty string |