From 580e8f6567bca0554e3844a16a5417459fac2851 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 4 Apr 2018 16:27:56 +1000 Subject: Remove redundant forward declaration and move forward declarations to top. --- 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 4e3ac3a21..a3af204eb 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