aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-11-24Bug [#2457]. Fix moving line down to empty final line and moving empty finalpawelzwronek1-3/+7
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 Liu1-16/+7
calling LineStartPosition.
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil13-0/+14
2024-11-25Bug [#2456]. Fix wrapping removed lines.Pawel Z Wronek1-0/+6
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 Liu1-8/+6
retrieving style for braces. Approximately 25% improvement on tested system.
2024-10-24Update to Unicode 15.1.Neil1-2/+4
https://github.com/ScintillaOrg/lexilla/issues/285
2024-09-28Prefer member intializers.Neil1-18/+18
2024-09-28Remove private field that was never used.Neil2-3/+0
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-22Feature [feature-requests:#1524]. Use same name in declaration and definition.Neil1-1/+1
2024-08-15Add SCI_STYLESETSTRETCH to support condensed and expanded text styles.Neil5-3/+17
2024-08-09Simplify code that sets an empty selection at a position.Neil2-6/+3
2024-07-31Feature [feature-requests:#1524]. Add SCI_LINEINDENT and SCI_LINEDEDENT.Martijn Laan2-6/+12
These force the multiline behaviour of SCI_TAB and SCI_BACKTAB.
2024-07-28Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and itsNeil7-0/+18
nesting depth.
2024-07-27Feature [feature-requests:#1530]. SCI_SETCOPYSEPARATOR sets string to separateNeil2-4/+14
parts of multiple selection when copied.
2024-07-15Simplify line-end insertions and conversions.Neil2-24/+21
2024-07-10Bug [#2443]. Fix flickering cursor after some mouse action sequences.Neil1-1/+6
2024-07-03Feature [feature-requests:#1523]. SCI_AUTOCSETSTYLE sets autocompletion font.Martijn Laan3-4/+25
2024-06-20Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint.Martijn Laan2-17/+53
2024-06-11Feature [feature-requests:#1517]. Increase maximum zoom set interactively to +60Neil1-1/+1
points.
2024-06-10Simplify SetZoom by calling SetAppearance to do the check if changed sequence.Neil1-8/+4
2024-05-23Suppress some warnings from g++ 14.1 where a UTF-8 character has a maximumNeil Hodgson1-0/+5
length of 4 (UTF8MaxBytes) but the compiler doesn't see this is enforced.
2024-05-16Feature [feature-requests:#1516]. Access SpecialRepresentations through aZufu Liu4-15/+16
unique_ptr. Reduces executable size.
2024-03-23Feature [feature-requests:#1512]. Size ms in initializer list.Zufu Liu1-13/+2
Remove erase() and reset() for items that are not set.
2024-03-23Feature [feature-requests:#1512]. Reduce calls to vsDraw.ElementColour.Zufu Liu1-10/+12
2024-03-23Feature [feature-requests:#1512]. Simplify ScaledVector::PushBack.Zufu Liu1-5/+5
Prefer UndoActions::Length to UndoActions::lengths.ValueAt.
2024-03-15Bug [#2417]. Add elements for inactive additional selectionsNeil Hodgson2-4/+15
SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK.
2024-03-15Feature [feature-requests:#1512]. Encapsulate access to position and length.Zufu Liu2-16/+25
2024-03-14Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours.Neil4-18/+39
Use symbolic constants for colour components, fixing 'magic number' warnings.
2024-03-14Use const iterators where possible.Neil Hodgson1-18/+24
Implement IsDifferentColour to avoid clang-tidy warning about unchecked optional. Share code between SetElementColour and SetElementBase.
2024-03-12Replace magic number 32 with defined MarkerMax (31), adjusting condition.Neil2-7/+7
2024-03-11Feature [feature-requests:#1512]. Simplify WriteValue.Zufu Liu1-2/+3
2024-03-09Bug [#2432]. Fix redo failure.Neil1-0/+2
2024-03-08Use noexcept in CharacterCategoryMap.Neil2-13/+18
2024-03-08Feature [feature-requests:#1512]. Simplify ElementForValue.Zufu Liu1-6/+5
2024-03-08Reformat with astyle.Neil5-11/+11
2024-03-08Bug [#2403]. Add SC_AUTOCOMPLETE_SELECT_FIRST_ITEM.Jiří Techet1-0/+2
This option always selects the first item in the autocompletion list.
2024-03-02Feature [feature-requests:#1511] Add mayCoalesce argument to BeginUndoAction.John Ehresman5-7/+7
2024-02-28Fix failures with values larger than 0xffffff in 32-bit builds.Neil2-28/+28
2024-02-28Add variant of UTF8Classify that takes a char* so that client code does not haveNeil3-19/+22
to reinterpret_cast. Make functions in header constexpr. Prefer .data() to &[] since safer. Avoid else when not needed.