diff options
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r-- | src/EditView.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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<st.length; iStyle++) { @@ -165,6 +169,10 @@ void DrawStyledText(Surface *surface, const ViewStyle &vs, int styleOffset, PRec } } +#ifdef SCI_NAMESPACE +} +#endif + const XYPOSITION epsilon = 0.0001f; // A small nudge to avoid floating point precision issues EditView::EditView() { |