aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-10-06 02:17:51 +0000
committernyamatongwe <unknown>2001-10-06 02:17:51 +0000
commit50862e4c0191bd08424d7e372b049616bf779d5b (patch)
tree20d7c943b4aa196759bae4209945596767b33d0a
parent0d151c9b569ea0e3833f2934b9f4c5efc022545d (diff)
downloadscintilla-mirror-50862e4c0191bd08424d7e372b049616bf779d5b.tar.gz
Changed multi-line definition to be on one line to avoid compiler problems.
-rw-r--r--include/Scintilla.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 19429a493..9c634f90f 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -574,13 +574,8 @@ struct SCNotification {
int y; // SCN_DWELLSTART, SCN_DWELLEND
};
-#define SC_MASK_FOLDERS ((1<<SC_MARKNUM_FOLDER) | \
- (1<<SC_MARKNUM_FOLDEROPEN) | \
- (1<<SC_MARKNUM_FOLDERSUB) | \
- (1<<SC_MARKNUM_FOLDERTAIL) | \
- (1<<SC_MARKNUM_FOLDERMIDTAIL) | \
- (1<<SC_MARKNUM_FOLDEROPENMID) | \
- (1<<SC_MARKNUM_FOLDEREND))
+// This long line is caused by problems with continuation lines with some compilers so leave as is
+#define SC_MASK_FOLDERS ((1<<SC_MARKNUM_FOLDER) | (1<<SC_MARKNUM_FOLDEROPEN) | (1<<SC_MARKNUM_FOLDERSUB) | (1<<SC_MARKNUM_FOLDERTAIL) | (1<<SC_MARKNUM_FOLDERMIDTAIL) | (1<<SC_MARKNUM_FOLDEROPENMID) | (1<<SC_MARKNUM_FOLDEREND))
// Deprecation section listing all API features that are deprecated and will
// will be removed completely in a future version.