From dfedaa13977bcd49c14ac6c45aa86047f88aa6fe Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 4 Apr 2018 16:27:56 +1000 Subject: Backport: Remove redundant forward declaration and move forward declarations to top. Backport of changeset 6671:4b0f850270d8. --- src/Document.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3