aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2025-08-21support NetBSD on ARMv6sciteco-rel-5-5-4Robin Haberkorn2-5/+2
* LineVector<T> is only instantiated for Sci::Position. It instantiates Partitioning<T> as well and Partitioning<T>::InsertPartitions() is called with a Sci::Position. This only couldn't cause problems if ptrdiff_t aliases to int. In either case, I don't see why we need LineVector<int> at all. * We need RunStyles<ptrdiff_t> as well since ptrdiff_t is long int and we instantiate only RunStyles<int>. Both types have the same storage size but are still different. See also this discussion about the same workaround for Haiku: https://groups.google.com/g/scintilla-interest/c/xPXquJUIXo8/m/BLXBpTTgBwAJ
2024-12-17disable automatic scrolling and choosing the X that caret sticks toRobin Haberkorn1-1/+7
* SciTECO needs to avoid automatic scrolling as an optimization. While this works partially by avoiding certain messages like SCI_GOTOPOS (in favor of SCI_SETEMPTYSELECTION), there aren't alternatives for all messages that scroll. For instance SCI_UNDO will always call EnsureCaretVisible(). Also, even if we could avoid all scrolling messages, there is no guarantee that will not suddenly and unexpectedly break in the future. * Instead, every scrolling is now disabled except for an explicit SCI_SCROLLCARET. SciTECO can therefore use the more intuitive messages like SCI_GOTOPOS. * SetLastXChosen() (choosing the X that caret sticks to) has been found to be a major slow down during UNDO and serves no purpose on SciTECO anyway - we have to implement such an algorithm at the SciTECO language level. We therefore simply disable SetLastXChosen().
2024-12-17commented out Editor::SetRepresentations()Robin Haberkorn1-1/+1
* This sets the default key representations on every SCI_SETDOCPOINTER which is very inefficient considering the way that SciTECO uses the Q-Register view. Furthermore it meant, we had to reset the representations to their SciTECO versions again after every SCI_SETDOCPOINTER. * This patch only does not cause problems because we initialize the representations anyway for every Scintilla view. This patch is not meant to be upstreamed!
2024-12-15Updates for version 5.5.4.rel-5-5-4Neil9-20/+20
2024-12-15Feature [feature-requests:#1537]. Use const where possible.Neil1-1/+1
2024-12-15Feature [feature-requests:#1537]. Use noexcept where possible.Zufu Liu2-4/+4
2024-12-15Feature [feature-requests:#1537]. Extract common code into function.Zufu Liu1-8/+10
2024-12-13Feature [feature-requests:#1538]. Reduce range checks in PartitionFromPositionZufu Liu1-1/+1
to improve performance.
2024-12-13Feature [feature-requests:#1537]. Remove explicit initialization which isZufu Liu1-3/+1
identical to default initialization. Remove constructor argument which is same as default.
2024-12-06Feature [feature-requests:#1537]. Avoid truncation potential with PerformSort.Zufu Liu2-14/+11
Use string_view to improve safety.
2024-12-06Feature [feature-requests:#1537]. Refactor Sorter in AutoComplete.Zufu Liu1-13/+21
Move into unnamed namespace. Don't hold onto AutoComplete*. Simplify indexing by 2. Use const.
2024-12-03Feature [feature-requests:#1537]. Simpify calculation of start of search forZufu Liu1-1/+1
brace matching.
2024-12-03Feature [feature-requests:#1537]. Avoid holding onto Document without need.Zufu Liu1-2/+1
2024-12-03Feature [feature-requests:#1537]. Declare IME retrieval methods const.Zufu Liu1-2/+2
2024-11-24Bug [#2457]. Fix moving line down to empty final line and moving empty finalpawelzwronek2-3/+11
line up. Handle edge cases when moving selected lines. Allow moving the selection when the end line of the document is empty or when moving up the last empty line.
2024-12-02Improve performance of simple case where FillRange just inserts two entries andNeil1-1/+18
does not need to split, merge, or delete runs. This avoids multiple binary searches and is a significant improvement for situations such as marking large numbers of search matches in a huge document.
2024-12-02Remove explicit initialization which is identical to default initialization.Neil1-5/+2
Remove constructor argument which is same as default. Shorten code and avoid else.
2024-12-02Optimize calculating lines of range to redraw when whole range is on one line.Neil1-4/+8
SciLineFromPosition is a binary search over the line indices but LineStart is just indexing so is less expensive. This code may limit performance when updating many positions.
2024-12-01Code format: no space in -1.Neil1-2/+2
2024-12-01Feature [feature-requests:#1535]. Improve performance of DBCS brace matching.Zufu Liu1-11/+5
2024-12-01Feature [feature-requests:#1535]. Improve performance of DBCS text by avoidingZufu Liu2-16/+11
calling LineStartPosition.
2024-11-30Feature [feature-requests:#1533]. Tests for BraceMatch.Zufu Liu1-0/+49
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil22-0/+24
2024-11-25Bug [#2456]. Fix wrapping removed lines.Pawel Z Wronek2-0/+12
2024-11-20Bug [#2453]. Remove remnants of ScintillaEditPy.Neil2-4/+1
2024-11-20Bug [#2454]. Add "NUL-terminated" qualifiers to APIs that NUL-terminate result.Neil1-4/+4
2024-11-17Feature [feature-requests:#1533]. More performance for SCI_BRACEMATCH byZufu Liu2-7/+42
avoiding costly NextPosition call where possible. Approximately 60% improvement on tested system.
2024-11-17Feature [feature-requests:#1533]. Improve performance of SCI_BRACEMATCH by onlyZufu Liu2-8/+10
retrieving style for braces. Approximately 25% improvement on tested system.
2024-10-26Documented SC_MOD_CHANGEEOLANNOTATION and updated SC_MODEVENTMASKALL.Neil1-2/+12
2024-10-26On GTK, allow middle click to insert multiple times within a document.Colomban Wendling2-1/+5
https://github.com/geany/geany/issues/2629
2024-10-24Update to Unicode 15.1.Neil2-2/+16
https://github.com/ScintillaOrg/lexilla/issues/285
2024-10-19Added tag rel-5-5-3 for changeset 7bc37e9e9de3Neil1-0/+1
2024-10-19Change release date.rel-5-5-3Neil2-3/+3
2024-10-19Fix typo.Sven Strickroth1-1/+1
2024-10-17Bug [#2449]. Only return 1 for WM_MOUSEHWHEEL.Zufu Liu1-1/+2
2024-10-14Updates for version 5.5.3.Neil8-19/+19
2024-10-14Bug [#2449]. Fix horizontal scrolling with Logi Options+.Neil1-1/+1
Return 1 instead of documented 0 as this prevents interception of following WM_MOUSEHWHEEL messages, likely by Logi Options+ mouse driver.
2024-10-14Bug [#2449]. Fix direction of horizontal scrolling with touchpad.Zufu Liu2-1/+17
2024-09-28Prefer member intializers.Neil1-18/+18
2024-09-28Remove private field that was never used.Neil2-3/+0
2024-09-24Update suppressions for cppcheck 2.15.Neil1-12/+6
2024-09-18Remove workaround for runtime failures with Xcode 15 that added -ld_classic ↵Neil Hodgson1-2/+0
link flag.
2024-09-18Fix potential NULL use and avoid warning.Neil Hodgson1-1/+2
2024-09-02Hoist some common code into methods.Neil3-39/+28
RangeContainsProtected gains an overload that takes a SelectionRange as this is common use and simplifies callers. ClearSelectionRange is common code used to clear selected text and update a SelectionRange before inserting text.
2024-08-29Suppress non-exhaustive warning as not interesting.Neil1-7/+4
2024-08-27Use UndoGroup to ensure action ended if exception occurs.Neil2-7/+7
2024-08-22Feature [feature-requests:#1524]. Use same name in declaration and definition.Neil1-1/+1
2024-08-21Added tag rel-5-5-2 for changeset 8d3fb4e59054Neil1-0/+1
2024-08-18Updates for version 5.5.2.rel-5-5-2Neil9-20/+20
2024-08-17Add new header to order.Neil1-0/+1