From b0296d86a48642f2f381c3e0b11a022482ae25e3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 24 May 2014 15:15:49 +1000 Subject: Header include statements are now in a standardised order with that order defined in scripts/HeaderOrder.txt. --- scripts/HeaderOrder.txt | 128 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 scripts/HeaderOrder.txt (limited to 'scripts') diff --git a/scripts/HeaderOrder.txt b/scripts/HeaderOrder.txt new file mode 100644 index 000000000..96af584d3 --- /dev/null +++ b/scripts/HeaderOrder.txt @@ -0,0 +1,128 @@ +// Define the standard order in which to include header files +// All platform headers should be included before Scintilla headers +// and each of these groups are then divided into directory groups. + +// C standard library +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// C++ wrappers of C standard library +#include +#include +#include +#include +#include + +// C++ standard library +#include +#include +#include +#include +#include +#include +#include +#include + +// GTK+ headers +#include +#include +#include +#include +#include + +// Windows headers +#include +#include +#include +#include +#include +#include +#include +#include + +// Cocoa headers +#include + +// Scintilla headers + +// Non-platform-specific headers + +// include +#include "Platform.h" + +#include "ILexer.h" +#include "Scintilla.h" +#include "ScintillaWidget.h" + +#include "SciLexer.h" + +// lexlib +#include "StringCopy.h" +#include "PropSetSimple.h" +#include "WordList.h" +#include "LexAccessor.h" +#include "Accessor.h" +#include "StyleContext.h" +#include "CharacterSet.h" +#include "CharacterCategory.h" +#include "LexerModule.h" +#include "OptionSet.h" +#include "SparseState.h" +#include "SubStyles.h" +#include "LexerBase.h" +#include "LexerSimple.h" +#include "LexerNoExceptions.h" + +// src +#include "Catalogue.h" + +#include "SplitVector.h" +#include "Partitioning.h" +#include "RunStyles.h" +#include "ContractionState.h" +#include "CellBuffer.h" +#include "CallTip.h" +#include "KeyMap.h" +#include "Indicator.h" +#include "XPM.h" +#include "LineMarker.h" +#include "Style.h" +#include "ViewStyle.h" +#include "CharClassify.h" +#include "Decoration.h" +#include "CaseFolder.h" +#include "Document.h" +#include "CaseConvert.h" +#include "UniConversion.h" +#include "UnicodeFromUTF8.h" +#include "Selection.h" +#include "PositionCache.h" +#include "FontQuality.h" +#include "Editor.h" + +#include "AutoComplete.h" +#include "ScintillaBase.h" + +#include "ExternalLexer.h" + +// Platform-specific headers + +// win32 +#include "PlatWin.h" + +// gtk +#include "Converter.h" + +// cocoa +#include "QuartzTextStyle.h" +#include "QuartzTextStyleAttribute.h" +#import "InfoBarCommunicator.h" +#include "InfoBar.h" -- cgit v1.2.3