notepad-plus-plus/scintilla/scripts/HeaderOrder.txt

179 lines
3.6 KiB
Plaintext
Raw Normal View History

// 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.
// Base of the repository relative to this file
//base:..
// File patterns to check:
//source:include/*.h
//source:src/*.cxx
//source:lexlib/*.cxx
//source:lexers/*.cxx
//source:win32/*.cxx
//source:gtk/*.cxx
//source:cocoa/*.mm
//source:cocoa/*.h
//source:test/unit/*.cxx
//source:lexilla/src/*.cxx
//source:lexilla/test/*.cxx
// C standard library
2019-05-04 18:14:48 +00:00
#include <stddef.h>
#include <stdint.h>
// C++ wrappers of C standard library
2019-05-04 18:14:48 +00:00
#include <cstddef>
#include <cstdlib>
2019-05-04 18:14:48 +00:00
#include <cstdint>
#include <cassert>
#include <cstring>
#include <cstdio>
2019-05-04 18:14:48 +00:00
#include <cstdarg>
#include <ctime>
#include <cmath>
2019-05-04 18:14:48 +00:00
#include <climits>
// C++ standard library
#include <stdexcept>
#include <new>
#include <string>
2019-05-04 18:14:48 +00:00
#include <string_view>
#include <vector>
#include <array>
#include <map>
#include <set>
2019-05-04 18:14:48 +00:00
#include <forward_list>
#include <optional>
#include <algorithm>
2019-05-04 18:14:48 +00:00
#include <iterator>
#include <functional>
#include <memory>
2019-05-04 18:14:48 +00:00
#include <numeric>
#include <chrono>
#include <regex>
2019-05-04 18:14:48 +00:00
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <atomic>
#include <mutex>
#include <thread>
#include <future>
// GTK headers
#include <glib.h>
#include <gmodule.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
2019-05-04 18:14:48 +00:00
#include <gdk/gdkwayland.h>
#include <gtk/gtk-a11y.h>
// Windows headers
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include <windowsx.h>
#include <zmouse.h>
#include <ole2.h>
#include <d2d1.h>
#include <dwrite.h>
// Cocoa headers
#include <Cocoa/Cocoa.h>
2019-05-04 18:14:48 +00:00
#import <Foundation/NSGeometry.h>
#import <QuartzCore/CAGradientLayer.h>
#import <QuartzCore/CAAnimation.h>
#import <QuartzCore/CATransaction.h>
// Scintilla headers
// Non-platform-specific headers
// Exported headers
2019-05-04 18:14:48 +00:00
#include "Sci_Position.h"
#include "ScintillaTypes.h"
#include "ScintillaMessages.h"
#include "ScintillaStructures.h"
2019-05-04 18:14:48 +00:00
#include "ILoader.h"
#include "ILexer.h"
// src platform interface
#include "Debugging.h"
#include "Geometry.h"
#include "Platform.h"
#include "Scintilla.h"
#include "ScintillaWidget.h"
// src
#include "CharacterType.h"
#include "CharacterCategoryMap.h"
2019-05-04 18:14:48 +00:00
#include "Position.h"
#include "UniqueString.h"
#include "SplitVector.h"
#include "Partitioning.h"
#include "RunStyles.h"
2019-05-04 18:14:48 +00:00
#include "SparseVector.h"
#include "ContractionState.h"
#include "ChangeHistory.h"
#include "CellBuffer.h"
#include "PerLine.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"
2019-05-04 18:14:48 +00:00
#include "RESearch.h"
#include "CaseConvert.h"
#include "UniConversion.h"
2019-05-04 18:14:48 +00:00
#include "DBCS.h"
#include "Selection.h"
#include "PositionCache.h"
#include "EditModel.h"
#include "MarginView.h"
#include "EditView.h"
#include "Editor.h"
2019-05-04 18:14:48 +00:00
#include "ElapsedPeriod.h"
#include "AutoComplete.h"
#include "ScintillaBase.h"
// Platform-specific headers
// win32
#include "WinTypes.h"
#include "PlatWin.h"
#include "HanjaDic.h"
2019-05-04 18:14:48 +00:00
#include "ScintillaWin.h"
// gtk
#include "Wrappers.h"
2019-05-04 18:14:48 +00:00
#include "ScintillaGTK.h"
#include "scintilla-marshal.h"
#include "ScintillaGTKAccessible.h"
#include "Converter.h"
// cocoa
#include "QuartzTextStyle.h"
#include "QuartzTextStyleAttribute.h"
2019-05-04 18:14:48 +00:00
#include "QuartzTextLayout.h"
#import "InfoBarCommunicator.h"
#include "InfoBar.h"
2019-05-04 18:14:48 +00:00
#import "ScintillaView.h"
#import "ScintillaCocoa.h"
#import "PlatCocoa.h"
// Catch testing framework
#include "catch.hpp"