aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-12-15Bug [#2289]. Protect SCI_REPLACETARGET* from application changing target inNeil1-9/+19
notification handlers.
2023-12-14Bug [#2405]. Fix regular expression bug in reverse direction where shortenedZufu Liu1-20/+17
match returned.
2023-12-14Remove noexcept from MatchFlags since IsWordEndAt is not noexcept.Neil1-1/+1
2023-12-12Bug [#2405]. Fix regular expression assertion (^, $, \b. \B) failures when usingZufu Liu1-28/+33
SCFIND_CXX11REGEX.
2023-12-08Throw error when allocating more than 2G without SC_DOCUMENTOPTION_TEXT_LARGE.Neil1-0/+4
2023-12-02Bug [#2157]. Fix regular expression search for word begin \< and word end \>.Zufu Liu3-12/+32
2023-12-01Remove gcc Wconversion warnings from header.Neil1-2/+3
2023-11-25Feature [feature-requests:#1503] Use std::array for bittab and simplify use.Zufu Liu2-20/+17
2023-11-24Feature [feature-requests:#1502] Simplify FlagSet expressions.Zufu Liu3-17/+10
2023-11-06Ctrl-click on a selection deselects it in multiple selection mode.Neil1-2/+16
2023-11-06Simplify variable flow in ButtonDownWithModifiers and enforce with const to makeNeil1-12/+11
adding features easier. Does not change behaviour.
2023-11-06Mouse capture and automatic scrolling are always started and stopped together soNeil2-12/+16
encapsulate that in ChangeMouseCapture method. Does not change behaviour.
2023-11-06Extract DropSelection into a method so it can be reused.Neil2-3/+8
2023-11-05Add SCI_SELECTIONFROMPOINT for modifying multiple selections.Neil4-0/+34
2023-11-05Add SCI_CHANGESELECTIONMODE to simplify selection mode manipulation.Neil2-27/+44
2023-11-05Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation.Neil1-0/+3
2023-11-23Feature [feature-requests:#1503] Reduce variable scope.Zufu Liu2-63/+48
2023-11-21Type harmonization.Zufu Liu1-1/+1
2023-11-21Feature [feature-requests:#1502] Improve speed of LineLayoutCache::InvalidateZufu Liu2-9/+8
for replacing text.
2023-11-21Bug [#2413]. Fix regular expression search failure.Zufu Liu2-11/+15
2023-11-19Avoid warnings for static_cast and potential overflow.Neil1-1/+2
2023-11-19Avoid warning for uninitialized variable.Neil1-1/+1
2023-11-19Add const where possible.Neil1-1/+1
2023-11-19Fix type conversion warning.Neil1-1/+1
2023-11-19Remove extra ';' which produced warning on old GCC.Neil1-1/+1
2023-11-07Feature [feature-requests:#1501] Use const and simpler indexing.Zufu Liu2-6/+6
2023-11-07Feature [feature-requests:#1501] Another use of black constant.Zufu Liu1-1/+1
2023-11-07Feature [feature-requests:#1501] More use of LineStartPosition, LineEndPosition.Zufu Liu3-7/+3
2023-11-02Feature [feature-requests:#1500] Remove match text retrieval from MatchOnLinesZufu Liu3-31/+11
as it is redone in SubstituteByPosition. Replace RESearch::pat and RESearch::GrabMatches with retrieving matches as needed in SubstituteByPosition.
2023-10-29Bug [#2078]. Fix rectangular selections with SCI_MOVESELECTEDLINESUP andNeil1-1/+4
SCI_MOVESELECTEDLINESDOWN.
2023-10-27Extract key code from HorizontalMove to shorten and simplify it.Neil3-146/+134
New methods are SelectionMove, PositionMove, HomeWrapPosition and SelectionPosition::AddVirtualSpace. This refactoring commit does not change behaviour.
2023-10-26Add LineStartPosition to replace common idiom LineStart(LineFromPosition(x)) asNeil3-23/+21
this shortens code. LineStartPosition is also noexcept which allows callers to be noexcept.
2023-10-26Implement LineEnd method in CellBuffer as it is a basic function and only usesNeil5-37/+40
CellBuffer fields. Declare LineEnd noexcept as it should never throw and that allows methods calling it to also be noexcept. Call LineEndPosition to simplify Editor::LineSelectionRange.
2023-10-15Bug [#2405]. Fix incorrect substitution when searching for a regular expressionZufu Liu1-0/+8
backwards.
2023-10-15Use std::array for regex match positions as it will simplify copying.Neil3-6/+9
This change set does not change behaviour.
2023-10-12Move platform colour definitions outside constructor and improve names.Neil Hodgson1-9/+13
2023-10-10Share definition of colour used for IME indicators on most platforms.Neil1-0/+4
2023-10-10Rename bugColour to colourBug to follow convention.Neil1-5/+5
2023-10-10Use global constants for opaque black and white and local constants for greys.Neil9-23/+32
Makes it easier to understand and reduces warnings.
2023-10-10Use maximumByte constant and share byte to float conversion calculation.Neil1-14/+18
2023-10-06Fix COPY_INSTEAD_OF_MOVE performance warnings from Coverity.Neil2-2/+2
2023-10-04Significantly reduce memory used for deleting contiguous ranges backwards.Neil2-43/+115
Compresses sequences of same item in vectors by adding a count field. Fixes Notepad++ issue 13442. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13442
2023-10-04Preparatory changes for fix in next commit. Does not change Scintilla behaviour.Neil2-16/+34
Add tests for contiguous deletions in forward and backward directions. Use symbolic edition values. Rename InsertionSpan to ChangeSpan and insertions to changes as holds both insertions and deletions. Add ChangeStack::Check. Add comments.
2023-10-03Update character categories for Unicode 15.0.0.Neil1-22/+61
2023-07-01Simplify sel.Range(sel.Main()) to sel.RangeMain().Neil1-3/+3
2023-06-28Add const where viable.Neil2-2/+2
2023-06-25Strip line end white-space.Neil2-2/+2
2023-06-04Feature [feature-requests:#1486] Redraw calltip after showing.Neil1-0/+1
2023-04-13Use & instead of cast to avoid warning in header.Neil1-3/+4
Use named constant for mask that chooses RGB part.
2023-04-11Follow rule-of-zero to omit standard methods.Neil2-10/+1