diff options
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r-- | include/Scintilla.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index ab5f05d76..9e67b44de 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -744,6 +744,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, // CHARRANGE, TEXTRANGE, FINDTEXTEX, FORMATRANGE, and NMHDR structs. // So older code that treats Scintilla as a RichEdit will work. +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + struct CharacterRange { long cpMin; long cpMax; @@ -805,6 +809,10 @@ struct SCNotification { int y; // SCN_DWELLSTART, SCN_DWELLEND }; +#ifdef SCI_NAMESPACE +} +#endif + // Deprecation section listing all API features that are deprecated and will // will be removed completely in a future version. // To enable these features define INCLUDE_DEPRECATED_FEATURES |