// 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.
// Based on Scintilla's HeaderOrder.txt and compatible with it.

// Base of the repository relative to this file

//base:..

// File patterns to check:
//source:**/*.h
//source:**/*.cxx

// Exclude lua implementation as it is an external project that follows different rules
//exclude:lua

// C++ wrappers of C standard library
#include <cstddef>
#include <cstdlib>
#include <cstdint>
#include <cassert>
#include <cstring>
#include <cstdio>
#include <cstdarg>
#include <ctime>
#include <cmath>
#include <clocale>
#include <cerrno>
#include <csignal>

// C++ standard library
#include <stdexcept>
#include <system_error>
#include <utility>
#include <compare>
#include <tuple>
#include <string>
#include <string_view>
#include <vector>
#include <span>
#include <array>
#include <deque>
#include <map>
#include <set>
#include <optional>
#include <initializer_list>
#include <algorithm>
#include <iterator>
#include <functional>
#include <memory>
#include <numeric>
#include <chrono>
#include <sstream>
#include <iomanip>
#include <atomic>
#include <mutex>
#include <thread>

// POSIX
// Also on Windows
#include <fcntl.h>

#include <unistd.h>
#include <dirent.h>
#include <pwd.h>

// Also on Windows
#include <sys/types.h>
#include <sys/stat.h>

#include <sys/wait.h>

// GTK headers
#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>

// Windows headers
#include <io.h>
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include <windowsx.h>
#include <uxtheme.h>
#include <vsstyle.h>
#include <vssym32.h>
#include <shlwapi.h>
#include <shlobj.h>

#include <direct.h>

// Scintilla headers

// Non-platform-specific headers

// include

#include "ILoader.h"
#include "ILexer.h"
#include "ScintillaTypes.h"
#include "ScintillaMessages.h"
#include "ScintillaCall.h"
#include "ScintillaStructures.h"
#include "Scintilla.h"
#include "ScintillaWidget.h"

#include "SciLexer.h"
#include "Lexilla.h"
#include "LexillaAccess.h"

// SciTE headers

#include "GUI.h"
#include "ScintillaWindow.h"
#include "StringList.h"
#include "StringHelpers.h"
#include "FilePath.h"
#include "PathMatch.h"
#include "StyleDefinition.h"
#include "PropSetFile.h"
#include "StyleWriter.h"
#include "Extender.h"
#include "SciTE.h"
#include "JobQueue.h"
#include "pixmapsGNOME.h"
#include "SciIcon.h"
#include "Widget.h"

#include "Cookie.h"
#include "Worker.h"
#include "Utf8_16.h"
#include "FileWorker.h"
#include "MatchMarker.h"
#include "EditorConfig.h"
#include "Searcher.h"
#include "SciTEBase.h"
#include "UniqueInstance.h"
#include "StripDefinition.h"
#include "Strips.h"

#include "IFaceTable.h"
#include "SciTEKeys.h"

#include "SciTEWin.h"
#include "DLLFunction.h"
#include "MultiplexExtension.h"
#include "DirectorExtension.h"
#include "LuaExtension.h"

// Lua headers
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"

// Catch testing framework
#include "catch.hpp"
