diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-04 16:27:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-04 16:27:56 +1000 |
commit | dfedaa13977bcd49c14ac6c45aa86047f88aa6fe (patch) | |
tree | 61110ac34dba881420fa5c158080da654269dffb /src | |
parent | 1cd26e8ee9577099631a72836197afd101aaaff5 (diff) | |
download | scintilla-mirror-dfedaa13977bcd49c14ac6c45aa86047f88aa6fe.tar.gz |
Backport: Remove redundant forward declaration and move forward declarations to top.
Backport of changeset 6671:4b0f850270d8.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/Document.h b/src/Document.h index 327422434..f07a184ef 100644 --- a/src/Document.h +++ b/src/Document.h @@ -10,6 +10,14 @@ namespace Scintilla { +class DocWatcher; +class DocModification; +class Document; +class LineMarkers; +class LineLevels; +class LineState; +class LineAnnotation; + enum EncodingFamily { efEightBit, efUnicode, efDBCS }; /** @@ -77,10 +85,6 @@ public: } }; -class DocWatcher; -class DocModification; -class Document; - /** * Interface class for regular expression searching */ @@ -160,12 +164,6 @@ public: bool isEnabled; }; -class Document; -class LineMarkers; -class LineLevels; -class LineState; -class LineAnnotation; - inline int LevelNumber(int level) { return level & SC_FOLDLEVELNUMBERMASK; } |