aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2024-03-08#226 Fix some typos.RainRat1-1/+1
2024-03-08Bug [#2403]. Add SC_AUTOCOMPLETE_SELECT_FIRST_ITEM.Jiří Techet7-0/+53
This option always selects the first item in the autocompletion list.
2024-03-05Added tag rel-5-4-2 for changeset 741427d54cd5Neil1-0/+1
2024-03-02Updates for version 5.4.2.rel-5-4-2Neil10-20/+21
2024-03-02Feature [feature-requests:#1511] Add mayCoalesce argument to BeginUndoAction.John Ehresman7-10/+10
2024-02-29Improve layout when a text run contains left-to-right and right-to-left ranges.Neil Hodgson2-0/+28
2024-02-28Fix failures with values larger than 0xffffff in 32-bit builds.Neil2-28/+28
2024-02-28Add variant of UTF8Classify that takes a char* so that client code does not haveNeil3-19/+22
to reinterpret_cast. Make functions in header constexpr. Prefer .data() to &[] since safer. Avoid else when not needed.
2024-02-28Ensure keyboard-initiated context menu appears in multi-screen situations whenNeil2-12/+17
in PopUp::Text mode.
2024-02-28Encapsulate LPARAM to POINT conversion. Make PointFromLParam constexpr.Neil1-4/+8
2024-02-27Restore change history to the extent possible when restoring undo history.Neil5-82/+216
2024-02-18Restore change history when restoring undo history.Neil3-0/+63
2024-02-16Implement detach point access with SCI_SETUNDODETACH and SCI_GETUNDODETACH.Neil13-60/+140
Write more documentation for undo history.
2024-02-15Avoid reinterpret_cast and add const.Neil2-4/+14
2024-02-15Mark Document methods noexcept where they call noexcept CellBuffer methods.Neil1-8/+8
2024-02-15Perform validation of undo state when SCI_SETUNDOCURRENT called, setting statusNeil7-15/+68
when invalid.
2024-02-14Ensure no exceptions when deleting undo history.Neil2-1/+7
2024-02-14Remove redundant inline from constexpr functions.Neil1-5/+5
2024-02-10Add undo features to change log.Neil1-1/+4
2024-02-09Implement API to read and write undo history from applications.Neil14-17/+580
2024-02-10Add missing header for test.Neil Hodgson1-0/+1
2024-02-09Avoid overhead of extra start actions that delimited user operations. Now reliesNeil5-112/+119
on mayCoalesce flag to indicate that a user operation is complete when false.
2024-02-02Implement ScaledVector to store undo positions and lengths using less memory inNeil3-19/+199
most cases. Often reduces memory use by around 50% for 32-bit builds and 75% for 64-bit builds as it may use 2-bytes for a position or length instead of 4 or 8 bytes.
2024-02-01Change UndoHistory from an array-of-structs to a struct-of-arrays to allow eachNeil2-56/+77
element to use minimum memory. Start by reducing (type,mayCoalesce) from 8 or 4 bytes to 1 byte.
2024-02-01Prefer member initializers. Simplify logic.Neil2-14/+6
2024-02-01Store undo text in ScrapStack, a single allocation instead of one allocation perNeil4-58/+122
step. This saves about 50% for a long sequence of single byte actions.
2024-02-01Add UndoAction class as internal type for undo actions and make Action a structNeil7-69/+87
that is used for reporting undo steps to Document. This will allow further minimization of undo memory use.
2024-02-01Move UndoHistory into its own module that is accessible from CellBuffer andNeil18-340/+456
tests but hidden from most of Scintilla. Access through std::unique_ptr.
2024-02-01Protect CATCH_CONFIG_WINDOWS_CRTDBG to only be active on Windows to allowNeil1-0/+2
building UnitTester.cxx on macOS.
2024-01-30Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation,Neil10-30/+34
and unnamed namespace.
2024-01-29Add tests for an undo history with only container actions and 2 levels of undoNeil1-3/+39
group nesting.
2024-01-29Add tests for container undo actions, checking that they coalesce when required.Neil1-1/+68
2024-01-27Use noexcept where reasonable.Neil2-32/+32
2024-01-27Feature [feature-requests:#1458] Reduce memory used for undo actions.Zufu Liu3-14/+13
2024-01-18Suppress warnings from cppcheck 2.13.Markus Nißl1-1/+3
2024-01-18Add const to avoid cppcheck 2.13 warning.Markus Nißl1-1/+1
2024-01-18Use the multi-threaded option to Direct2D to avoid crashes when ScintillaMarkus Nißl2-2/+7
instances created on different threads.
2024-01-17Fix reference from ScintillaDocument to Document to match change in 5.4.1Neil3-2/+19
using IDocumentEditable for SCI_GETDOCPOINTER and SCI_SETDOCPOINTER.
2024-01-04Fix some typos.RainRat1-6/+6
2024-01-02Simplify choosing caret position when undoing contiguous deletions.Neil1-22/+6
Stop considering container actions as they are supposed to be transparent. The mayCoalesce flag is private to the undo code and may be removed in the future. Use Range type to unify state implementing coalescing.
2024-01-02Fix warnings in test case code mostly by adding const.Neil7-70/+73
2024-01-02Add tests for undo of Document.Neil1-0/+81
2023-12-30Add tests for undo history, coalescing, grouping, tentative.Neil1-0/+216
2023-12-30Since ranges is never empty, replace test with assertion.Neil1-9/+6
2023-12-30Avoid unnecessary use of push_back and emplace_back by preserving ranges[0].Neil2-18/+21
This allows more methods to be noexcept.
2023-12-29Avoid casts and warnings for clipboard format registration.Neil1-8/+11
2023-12-27Avoid warnings by initializing, using const, and moving assignment out of if.Neil1-6/+6
2023-12-27Fix typo.Neil1-1/+1
2023-12-27Update download size.Neil1-1/+1
2023-12-26Added tag rel-5-4-1 for changeset 07bf3219bad2Neil1-0/+1