diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-24 19:31:06 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-24 19:31:06 +1000 |
commit | 92290868cf9753d2df0d494cb44e2ff62a570b58 (patch) | |
tree | 001e6cfce84372a03997de3138d630751ee8d38a /src/RunStyles.cxx | |
parent | ee1886079d0a5cd350ee8e3379be347943ba93ae (diff) | |
download | scintilla-mirror-92290868cf9753d2df0d494cb44e2ff62a570b58.tar.gz |
Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h
and ScintillaStructures.h using scoped enumerations.
Use these headers instead of Scintilla.h internally.
External definitions go in the Scintilla namespace and internal definitio0ns in
Scintilla::Internal.
Diffstat (limited to 'src/RunStyles.cxx')
-rw-r--r-- | src/RunStyles.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/RunStyles.cxx b/src/RunStyles.cxx index 11bab25bd..e9d3f6e4e 100644 --- a/src/RunStyles.cxx +++ b/src/RunStyles.cxx @@ -21,13 +21,12 @@ #include "Debugging.h" -#include "Scintilla.h" #include "Position.h" #include "SplitVector.h" #include "Partitioning.h" #include "RunStyles.h" -using namespace Scintilla; +using namespace Scintilla::Internal; // Find the first run at a position template <typename DISTANCE, typename STYLE> @@ -308,9 +307,9 @@ void RunStyles<DISTANCE, STYLE>::Check() const { } } -template class Scintilla::RunStyles<int, int>; -template class Scintilla::RunStyles<int, char>; +template class Scintilla::Internal::RunStyles<int, int>; +template class Scintilla::Internal::RunStyles<int, char>; #if (PTRDIFF_MAX != INT_MAX) || PLAT_HAIKU -template class Scintilla::RunStyles<ptrdiff_t, int>; -template class Scintilla::RunStyles<ptrdiff_t, char>; +template class Scintilla::Internal::RunStyles<ptrdiff_t, int>; +template class Scintilla::Internal::RunStyles<ptrdiff_t, char>; #endif |