aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEdit
AgeCommit message (Collapse)AuthorFilesLines
3 daysimplicitly instantiate RunStyles: support ptrdiff_t if it has the same ↵Robin Haberkorn1-1/+0
storage size as int, but does *not* alias it * This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int, but obviously for other platforms as well, where it causes "invalid conversion" and "undefined symbol" errors. Scintilla was testing for aliasability by comparing the storage size with sizeof() or PTRDIFF_MAX == INT_MAX at the preprocessor level. This was fundamentally flawed. * In LineVector<T>::InsertLines() we are now using the C++17 construct std::is_convertible_v<From*,To*> instead. * We need RunStyles<ptrdiff_t> as well on the affected platforms. AFAIK this is impossible to test for in a constant expression that can be used with the preprocessor. A workaround has been added previously for Haiku: https://groups.google.com/g/scintilla-interest/c/xPXquJUIXo8/m/BLXBpTTgBwAJ The workaround is not very robust, as probably nobody guarantees that ptrdiff_t never aliases on Haiku. If it does, you will suddenly get errors about duplicate template instantiations. Quite possibly, the explicit instantiations of RunStyles were wrong on certain 32-bit Linux variants as well. * We could have tried to explicitly instantiate RunStyles for all scalar types that could possibly be behind ptrdiff_t. Unfortunately, it would result in "possible loss of data" warnings on MSVC. Instead, we now implicitly instantiate RunStyles.
2025-06-03Updates for version 5.5.7.Neil1-1/+1
2025-03-29Updates for version 5.5.6.Neil1-1/+1
2025-02-22Updates for version 5.5.5.Neil1-1/+1
2025-01-22Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY.Neil1-0/+5
2024-12-15Updates for version 5.5.4.rel-5-5-4Neil1-1/+1
2024-10-14Updates for version 5.5.3.Neil1-1/+1
2024-08-18Updates for version 5.5.2.rel-5-5-2Neil1-1/+1
2024-07-19Updates for version 5.5.1.rel-5-5-1Neil1-1/+1
2024-04-19Updates for version 5.5.0.rel-5-5-0Neil1-1/+1
2024-03-09Updates for version 5.4.3.rel-5-4-3Neil1-1/+1
2024-03-02Updates for version 5.4.2.rel-5-4-2Neil1-1/+1
2024-03-02Feature [feature-requests:#1511] Add mayCoalesce argument to BeginUndoAction.John Ehresman2-3/+3
2024-02-01Move UndoHistory into its own module that is accessible from CellBuffer andNeil1-0/+1
tests but hidden from most of Scintilla. Access through std::unique_ptr.
2024-01-17Fix reference from ScintillaDocument to Document to match change in 5.4.1Neil2-2/+7
using IDocumentEditable for SCI_GETDOCPOINTER and SCI_SETDOCPOINTER.
2023-12-22Updates for version 5.4.1.Neil1-1/+1
2023-11-18Updates for version 5.4.0.rel-5-4-0Neil Hodgson1-1/+1
2023-11-02Updates for version 5.3.8.Neil1-1/+1
2023-09-18Updates for version 5.3.7.Neil1-1/+1
2023-07-23Updates for version 5.3.6.rel-5-3-6Neil1-1/+1
2023-06-28Add const where viable.Neil1-1/+1
2023-05-27Updates for version 5.3.5.rel-5-3-5Neil1-1/+1
2023-03-04Updates for version 5.3.4.rel-5-3-4Neil1-1/+1
2023-02-22Remove _CRT_SECURE_NO_DEPRECATE.Neil1-1/+1
Replace [v]sprintf with bounds checked [v]snprintf.
2023-02-04Updates for version 5.3.3.Neil1-1/+1
2022-12-02Updates for version 5.3.2.rel-5-3-2Neil1-1/+1
2022-10-09Update version number to 5.3.1.Neil1-1/+1
2022-09-12Remove NotifyLexerChanged notification from DocWatcher.Neil2-6/+0
This is a private interface but could be used by independent platform layers and was exposed by ScintillaDocument in the Qt implementation of ScintillaEdit.
2022-08-24Updates for 5.3.0 release.Neil1-1/+1
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-0/+1
in the margin or in the text.
2022-07-06Updates for 5.2.4 release.rel-5-2-4Neil1-1/+1
2022-07-04Remove ScintillaEditPy from WidgetGen.py as it was removed in Scintilla 5.1.5.Neil1-20/+3
2022-05-17Updates for 5.2.3 release.Neil1-1/+1
2022-03-27Updates for 5.2.2 release.Neil1-1/+1
2022-02-24Updates for 5.2.1 release.rel-5-2-1Neil1-1/+1
2022-02-05Updates for 5.2.0.rel-5-2-0Neil1-1/+1
2021-12-12Ensure enough room for NUL terminator in string return values.Neil1-3/+4
2021-12-12Made compatible with Qt 6.Fan Yang1-0/+1
Authored by Fan Yang and Justin Dailey.
2021-12-03Updates for 5.1.5.Neil1-1/+1
2021-11-03Updates for 5.1.4.Neil1-1/+1
2021-10-25Don't define destructors when not needed, use unique_ptr, explict constructors.Neil1-4/+0
2021-09-29Updates for 5.1.3.rel-5-1-3Neil1-1/+1
2021-09-20Updates for 5.1.2.Neil1-1/+1
2021-07-20Updates for 5.1.1 release.Neil1-1/+1
2021-07-03Remove remnants of support for including lexers in Scintilla.Neil1-1/+1
2021-06-18Updated for stable version 5.1.0.Neil1-1/+1
2021-05-29Updates for 5.0.3.Neil1-1/+1
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil2-9/+13
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-09Add @file to template files.Neil Hodgson2-2/+2
2021-05-09Add @file <filename> comments to follow convention.Neil2-3/+3
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.