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/Indicator.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Indicator.cxx') diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 7624a4a52..139e2b0ea 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -10,6 +10,10 @@ #include "Scintilla.h" #include "Indicator.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif + void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &rcLine) { surface->PenColour(fore.allocated); int ymid = (rc.bottom + rc.top) / 2; -- cgit v1.2.3