From b730f1cb18db96629fbf4d6bd00dd9cb8f1d68ef Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Fri, 18 Jul 2014 12:26:20 +1000 Subject: Conditionally use the namespace so that the functions match the header so link. --- src/EditView.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/EditView.cxx b/src/EditView.cxx index f6fe59c1c..32140e9b1 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -61,6 +61,10 @@ PrintParameters::PrintParameters() { wrapState = eWrapWord; } +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st) { if (st.multipleStyles) { for (size_t iStyle = 0; iStyle