From 710f716e96f6e9ee9eb410b343b78b3c4d95bc46 Mon Sep 17 00:00:00 2001 From: scaraveo Date: Fri, 1 Jun 2007 00:57:26 +0000 Subject: integrate OS X support for scintilla. a big patch with a little commit message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable --- src/LineMarker.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/LineMarker.h') diff --git a/src/LineMarker.h b/src/LineMarker.h index 8ebdce491..3cb4139f0 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -8,6 +8,10 @@ #ifndef LINEMARKER_H #define LINEMARKER_H +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + /** */ class LineMarker { @@ -51,4 +55,8 @@ public: void Draw(Surface *surface, PRectangle &rc, Font &fontForCharacter); }; +#ifdef SCI_NAMESPACE +} +#endif + #endif -- cgit v1.2.3