aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt
AgeCommit message (Collapse)AuthorFilesLines
3 daysimplicitly instantiate RunStyles: support ptrdiff_t if it has the same ↵Robin Haberkorn2-2/+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.Neil2-2/+2
2025-06-01Add SCI_SCROLLVERTICAL API.Neil1-0/+1
2025-05-12Add SCI_AUTOC{G,S}ETIMAGESCALE and implement for Qt and GTK.orbitalquark1-10/+14
2025-05-12Fix building for Qt on Linux. Was broken by change 9738 (0327fa0f000b).Neil Hodgson1-1/+1
2025-04-22Move common IME code from platform layers to ScintillaBase.Neil2-34/+2
2025-03-29Updates for version 5.5.6.Neil2-2/+2
2025-03-20Bug [#2465]. Signal autoCompleteSelection converts from local encoding when not8day1-1/+1
in Unicode mode.
2025-03-08Bug [#2466]. Avoid dwell start when mouse moved outside the Scintilla widget.Gianluca Vaccari2-0/+7
2025-02-27Bug [#2464]. On Qt, draw clipped UTF-8 text correctly.Neil1-1/+1
2025-02-22Updates for version 5.5.5.Neil2-2/+2
2025-01-22Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY.Neil1-0/+5
2025-01-04Use const, unnamed namespace, and named constant.Neil1-34/+40
No change in behaviour.
2025-01-04Fix bug where double-click stopped working after running for weeks.Neil1-4/+16
2024-12-15Updates for version 5.5.4.rel-5-5-4Neil2-2/+2
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil2-0/+2
2024-10-14Updates for version 5.5.3.Neil2-2/+2
2024-08-18Updates for version 5.5.2.rel-5-5-2Neil2-2/+2
2024-08-15Add SCI_STYLESETSTRETCH to support condensed and expanded text styles.Neil1-0/+27
2024-08-15Include <string> header as this is required with Visual C++ 2022 17.11.Neil2-0/+2
2024-08-09Simplify code that sets an empty selection at a position.Neil1-2/+1
2024-07-19Updates for version 5.5.1.rel-5-5-1Neil2-2/+2
2024-05-07Update suppressions for cppcheck 2.14.Neil1-1/+1
Mark SurfaceImpl destructor as override to avoid cppcheck warning.
2024-04-19Updates for version 5.5.0.rel-5-5-0Neil2-2/+2
2024-03-09Updates for version 5.4.3.rel-5-4-3Neil2-2/+2
2024-03-02Updates for version 5.4.2.rel-5-4-2Neil2-2/+2
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 andNeil2-0/+3
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.Neil2-2/+2
2023-12-01Allow building with Qt 6.x by adding core5compat compatibility library.Neil Hodgson1-0/+1
2023-11-18Updates for version 5.4.0.rel-5-4-0Neil Hodgson2-2/+2
2023-11-02Updates for version 5.3.8.Neil2-2/+2
2023-10-10Share definition of colour used for IME indicators on most platforms.Neil1-2/+0
2023-09-18Updates for version 5.3.7.Neil2-2/+2
2023-08-24Fix potential crash when using IME with large amount of text selected.Neil1-1/+1
Allows for extra NUL terminator in allocation.
2023-08-02Bug [#2395]. Allow parent window to handle context menu events by setting asGary James1-0/+3
ignored.
2023-07-23Updates for version 5.3.6.rel-5-3-6Neil2-2/+2
2023-07-14Feature [feature-requests:#1488] Stop aligning IME candidate window to target onjohnsonj1-8/+0
Win32 and Qt.
2023-06-28Add const where viable.Neil1-1/+1
2023-06-18Implement replacement for IMEs which may help with actions like reconversion.johnsonj1-0/+11
2023-06-15For IMEs, update micro focus when selection changes.johnsonj1-0/+3
2023-05-27Updates for version 5.3.5.rel-5-3-5Neil2-2/+2
2023-05-26Return correct position within paragraph for IME in characters instead of bytes.johnsonj1-1/+1
2023-05-09Stop movement of IME candidate box.johnsonj1-5/+11
2023-05-08On Qt for Cocoa, fix crash in entry of multi-character strings with IME.chengzhi1-2/+9
https://github.com/dail8859/NotepadNext/issues/194 https://github.com/dail8859/NotepadNext/pull/372
2023-03-04Updates for version 5.3.4.rel-5-3-4Neil2-2/+2
2023-02-22Remove _CRT_SECURE_NO_DEPRECATE.Neil3-4/+4
Replace [v]sprintf with bounds checked [v]snprintf.
2023-02-04Updates for version 5.3.3.Neil2-2/+2
2023-01-17Allow scrolling with mouse wheel when scroll bar hidden.Mitchell Foral1-11/+3