aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
3 hoursadded SC_LINE_END_TYPE_NONE: allows ignoring all line endssciteco-rel-5-6-2Robin Haberkorn7-13/+36
This can help when using Scintilla views as command line widgets. It can also help when using Scintilla to edit binary files as you don't want to attach special meaning to CR and LF. This patch will not be merged for the time being, so we strive to reduce the number of touched lines. See https://groups.google.com/g/scintilla-interest/c/iE6E4n9zWT4
3 hoursdisable 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().
3 hourscommented 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!
14 daysUpdates for version 5.6.2.rel-5-6-2Neil9-20/+20
2026-04-23Add error status SC_STATUS_OUTSIDE_DOCUMENT that is set when operations areNeil13-1/+45
attempted on a position outside the document. Positions are checked earlier to prevent actions partly succeeding. This is implemented with a new exception type Failure which should be caught by platform layer's API handling code to produce a more granular error status.
2026-04-23Bug [#2503]. Update scaling when the application moves to another monitor.Markus Nißl1-0/+1
2026-04-22Use std::max to clarify code and avoid warning.Neil1-3/+3
2026-04-22Bug [#2503]. Update scaling when the application moves to another monitor.Markus Nißl2-2/+10
2026-04-22Rename parameters to avoid clang-tidy readability-suspicious-call-argumentNeil3-20/+20
warnings.
2026-04-22Assert that string is being inserted inside the document range.Neil1-0/+1
This would be caught in SplitVector::InsertFromArray but this simplifies the failure and avoids potential for modifications.
2026-04-17Bug [#2505]. Sharper DirectWrite text in autocompletion lists when scaled.Markus Nißl2-4/+33
2026-04-17Suppress some more warnings because files fail cppcheck 2.20.Neil1-0/+9
2026-04-13Copy AnyOf from Lexilla to clarify code checking if a value is in a set.Neil4-12/+26
2026-04-13Use constant declarations and avoid else to silence warnings.Neil1-11/+13
2026-04-07Update suppressions for cppcheck 2.20.Neil1-2/+45
2026-03-31Replace use of `enum` where this produced warnings from Xcode 26.4 with ↵Neil Hodgson1-2/+2
`static constexpr int`.
2026-03-30Feature [feature-requests:#1582]. Improve performance of Document::SetStyles.Neil3-45/+107
Report changed range for Document::SetStyleFor.
2026-03-27Feature [feature-requests:#1582]. Add tests for Document::SetStyles andNeil1-0/+97
Document::SetStyleFor.
2026-03-26Added tag rel-5-6-1 for changeset 5ab4c75c3d5dNeil1-0/+1
2026-03-23Updates for version 5.6.1.rel-5-6-1Neil9-21/+20
2026-03-19Use functools.cache to add caching for FindPathToHeader. Simplify current cache.Neil1-15/+15
Speeds up SciTE regeneration by better than 3x.
2026-03-19Remove unnecessary readlines and make FindCredits same as SciTE.Neil5-19/+20
2026-03-11Bug [#2501]. Test to make sure #2501 stays fixed.Neil1-0/+6
2026-03-11Bug [#2501]. Fix regression in SCI_CONVERTEOLS that may not convert whole file.Zufu Liu2-2/+5
2026-03-11Feature [feature-requests:#1581]. Simplify previous commit.Nathaniel Braun1-4/+2
2026-03-09Feature [feature-requests:#1581]. Improve mouse drag behaviour when drag andNathaniel Braun2-1/+7
drop disabled to deselect on mouse down.
2026-03-07In visible whitespace modes, when there are contiguous spaces, paint theNeil1-6/+12
background of the whole space range in one FillRectangleAligned call instead of a call per space. This reduces graphics calls and eliminates seams between the spaces when drawn in some scaled environments. The main background filling call was moved outside the representation test to emphasize that it always occurs thus causing all the text area to have a defined background colour.
2026-03-07Improve compatibility with std::regex implementations.Stephan T. Lavavej2-3/+11
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17816
2026-03-02Restore background when EOL annotation with curved or angled sides drawn.Neil1-0/+1
Bug added in 5.5.9.
2026-03-02Remove RectangleInset function that is no longer used.Neil1-4/+0
2026-03-02Update deprecated methods for Qt 6+.Neil3-3/+23
QDropEvent::pos -> position for Qt6. QMessageBox constructor updated to variant with single buttons argument.
2026-02-26Add SCI_SETTABDRAWMODE(SCTD_CONTROLCHAR).Robin Haberkorn7-6/+31
Allows rendering tabs (ASCII 9) with character representations like any other control character.
2026-02-25Added tag rel-5-6-0 for changeset a95193138696Neil1-0/+1
2026-02-25Updates for version 5.6.0.rel-5-6-0Neil9-16/+28
2026-02-25Fix crash on Linux when window too narrow so rcLine is empty. Clamp(rcLineNeil1-0/+3
calls std::clamp on negative range producing undefined behaviour.
2026-02-25Added tag rel-5-5-9 for changeset 76c8666d5140Neil1-0/+1
2026-02-21Updates for version 5.5.9.rel-5-5-9Neil9-20/+20
2026-02-18When a line end is not selected, change the colour of the rectangle thatNeil2-7/+6
indicates the line end is selected to white space background instead of previous character's background except for EOL filled style.
2026-02-18Hoist calculation of virtual space on a line into a method and simplify callers.Neil3-16/+13
2026-02-18Simplify code and harmonize types when drawing line end blobs in DrawEOL.Neil1-12/+12
2026-02-13Simplify conversion of line end bytes to representation for visible line ends.Neil1-8/+7
2026-02-12Simplify drawing of eol-is-selected rectangle.Neil2-17/+19
2026-02-12Use const and simplify expressions in DrawEOL.Neil1-14/+9
2026-02-08Simplify FillLineRemainder and calling FillLineRemainder.Neil1-23/+20
2026-02-07Use std::array for text measurement cases where it only adds a little code.Neil1-4/+5
2026-02-07Warning avoidance and code tidying.Neil1-15/+23
2026-02-07Avoid some warnings to make more interesting issues visible.Neil4-12/+14
2026-02-07Rename some xStart to xOrigin as xStart was used for different purposes.Neil2-23/+23
Now, xOrigin is the origin of drawing content inside the text pane and xStart is the origin after taking indentation (ll->wrapIndent) of wrapped lines into account on subline 1 and later.
2026-01-31Use min and max instead of conditional code.Neil1-22/+11
2026-01-31Fix some warnings from magic numbers and else after return.Neil1-7/+6