diff options
author | nyamatongwe <unknown> | 2005-08-06 06:16:59 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-08-06 06:16:59 +0000 |
commit | 10021c40317d0b445e60aa9582bbe337ef0a04a1 (patch) | |
tree | d6a36bfacebc736498fb67d6da5fae85922850c2 /include/PropSet.h | |
parent | 3ec2601ec7db1bd325553dc1298f9c9cb17a9195 (diff) | |
download | scintilla-mirror-10021c40317d0b445e60aa9582bbe337ef0a04a1.tar.gz |
Allow properties to differentiate between different case file names on
GTK+ so that .C can be treated as c++ and .c as C.
Diffstat (limited to 'include/PropSet.h')
-rw-r--r-- | include/PropSet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index ef1faffba..e38de7dc4 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -29,6 +29,7 @@ protected: Property *props[hashRoots]; Property *enumnext; int enumhash; + static bool caseSensitiveFilenames; static unsigned int HashString(const char *s, size_t len) { unsigned int ret = 0; while (len--) { @@ -58,6 +59,9 @@ public: char *ToString(); // Caller must delete[] the return value bool GetFirst(char **key, char **val); bool GetNext(char **key, char **val); + static void SetCaseSensitiveFilenames(bool caseSensitiveFilenames_) { + caseSensitiveFilenames = caseSensitiveFilenames_; + } private: // copy-value semantics not implemented |