aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-04 16:27:56 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-04 16:27:56 +1000
commit580e8f6567bca0554e3844a16a5417459fac2851 (patch)
tree1342c70040ea7b7fb94e3afa3f2027a625e52622
parenta6dd4eeab87d2562bd6280c594e01869e0bc4aa1 (diff)
downloadscintilla-mirror-580e8f6567bca0554e3844a16a5417459fac2851.tar.gz
Remove redundant forward declaration and move forward declarations to top.
-rw-r--r--src/Document.h18
1 files changed, 8 insertions, 10 deletions
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;
}