mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-14 14:28:25 +02:00
Release 5.5.7 (https://www.scintilla.org/scintilla557.zip) Released 8 June 2025 1. Add SCI_SCROLLVERTICAL method to restore view position and maintain it while performing line wrapping. 2. Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls whether undo and redo restore vertical scroll position. 3. Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3. 4. Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens. Initially only on GTK and Qt. 5. Fix wrapping bug for UTF-8 where \r\n could wrap between the characters. Notepad++ Pull Request #16373. 6. Fix crash during painting when scroll bars changed. Bug #2481. 7. On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where scroll position not restored in non-wrap mode. Bug #2416. 8. On GTK, fix IME problem when tentative composition interfered with delete surrounding. Feature #1476. 9. On GTK, update IME cursor position inside retrieve surrounding to better position candidate window. Feature #1488. Release 5.4.5 (https://www.scintilla.org/lexilla545.zip) Released 8 June 2025 1. Dart: Add error state SCE_DART_STRINGEOL for unterminated string. Pull request #315. 2. Makefile: Add a keyword list to makefile lexer to highlight GNU Make directives like 'ifdef' and 'vpath' as SCE_MAKE_PREPROCESSOR since these are similar to NMAKE directives like '!IFDEF'. 3. Nix: Add error state SCE_NIX_STRINGEOL for unterminated string. Pull request #315. 4. TOML: Add error state SCE_TOML_STRINGEOL for unterminated string. Pull request #315. 5. Zig: Add error state SCE_ZIG_STRINGEOL for unterminated string. Pull request #315. Close #16649
189 lines
3.9 KiB
Plaintext
189 lines
3.9 KiB
Plaintext
// 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.
|
|
|
|
// Qt platform layer not handled as it doesn't define a strong ordering of headers.
|
|
|
|
// 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
|
|
|
|
// C standard library
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
// 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 <climits>
|
|
|
|
// C++ standard library
|
|
#include <stdexcept>
|
|
#include <new>
|
|
#include <string>
|
|
#include <string_view>
|
|
#include <vector>
|
|
#include <array>
|
|
#include <map>
|
|
#include <set>
|
|
#include <forward_list>
|
|
#include <optional>
|
|
#include <algorithm>
|
|
#include <iterator>
|
|
#include <functional>
|
|
#include <memory>
|
|
#include <numeric>
|
|
#include <chrono>
|
|
#include <charconv>
|
|
#include <regex>
|
|
#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>
|
|
#include <gdk/gdkwayland.h>
|
|
#include <gtk/gtk-a11y.h>
|
|
#include <cairo/cairo-gobject.h>
|
|
|
|
// Windows headers
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include <richedit.h>
|
|
#include <windowsx.h>
|
|
#include <shellscalingapi.h>
|
|
#include <zmouse.h>
|
|
#include <ole2.h>
|
|
#include <wrl.h>
|
|
#include <d2d1_1.h>
|
|
#include <d3d11_1.h>
|
|
#include <dwrite_1.h>
|
|
|
|
// Cocoa headers
|
|
#include <Cocoa/Cocoa.h>
|
|
#import <Foundation/NSGeometry.h>
|
|
#import <QuartzCore/CAGradientLayer.h>
|
|
#import <QuartzCore/CAAnimation.h>
|
|
#import <QuartzCore/CATransaction.h>
|
|
|
|
// Scintilla headers
|
|
|
|
// Non-platform-specific headers
|
|
|
|
// Exported headers
|
|
|
|
#include "Sci_Position.h"
|
|
#include "ScintillaTypes.h"
|
|
#include "ScintillaMessages.h"
|
|
#include "ScintillaStructures.h"
|
|
#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"
|
|
#include "Position.h"
|
|
#include "UniqueString.h"
|
|
#include "SplitVector.h"
|
|
#include "Partitioning.h"
|
|
#include "RunStyles.h"
|
|
#include "SparseVector.h"
|
|
#include "ContractionState.h"
|
|
#include "ChangeHistory.h"
|
|
#include "CellBuffer.h"
|
|
#include "UndoHistory.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"
|
|
#include "RESearch.h"
|
|
#include "CaseConvert.h"
|
|
#include "UniConversion.h"
|
|
#include "DBCS.h"
|
|
#include "Selection.h"
|
|
#include "PositionCache.h"
|
|
#include "EditModel.h"
|
|
#include "MarginView.h"
|
|
#include "EditView.h"
|
|
#include "Editor.h"
|
|
#include "ElapsedPeriod.h"
|
|
|
|
#include "AutoComplete.h"
|
|
#include "ScintillaBase.h"
|
|
|
|
// Platform-specific headers
|
|
|
|
// win32
|
|
#include "WinTypes.h"
|
|
#include "PlatWin.h"
|
|
#include "ListBox.h"
|
|
#include "SurfaceGDI.h"
|
|
#include "SurfaceD2D.h"
|
|
#include "HanjaDic.h"
|
|
#include "ScintillaWin.h"
|
|
|
|
// gtk
|
|
#include "Wrappers.h"
|
|
#include "ScintillaGTK.h"
|
|
#include "scintilla-marshal.h"
|
|
#include "ScintillaGTKAccessible.h"
|
|
#include "Converter.h"
|
|
|
|
// cocoa
|
|
#include "QuartzTextStyle.h"
|
|
#include "QuartzTextStyleAttribute.h"
|
|
#include "DictionaryForCF.h"
|
|
#include "QuartzTextLayout.h"
|
|
#import "InfoBarCommunicator.h"
|
|
#include "InfoBar.h"
|
|
#import "ScintillaView.h"
|
|
#import "ScintillaCocoa.h"
|
|
#import "PlatCocoa.h"
|
|
|
|
// Catch testing framework
|
|
#include "catch.hpp"
|
|
|