Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-02-04 | Ensure undo selection history for view is deleted when view destroyed or | Neil | 4 | -2/+17 | |
history disabled. | |||||
2025-02-04 | Fix segmentation of long lexemes to avoid breaking before modifiers like accents | Neil | 2 | -7/+98 | |
that must be drawn with their base letters. This is only a subset of implementing grapheme cluster boundaries but it improves behaviour with some Asian scripts like Thai and Javanese. Javanese is mostly written with (ASCII) Roman characters so issues will be rare but Thai uses Thai script. Also slightly improves placement of combining accents in European texts. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14822 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16115 | |||||
2025-02-04 | Add overload of UnicodeFromUTF8 that takes a string_view. | Neil | 3 | -1/+14 | |
2025-02-01 | Serialize selection type and ranges with SCI_GETSELECTIONSERIALIZED and | Neil | 4 | -0/+38 | |
SCI_SETSELECTIONSERIALIZED. | |||||
2025-02-01 | Use string form for selection undo history as it saves significant space. | Neil | 4 | -47/+21 | |
On average takes around 20% of SelectionSimple. | |||||
2025-02-01 | Implement serialization of Selection to and from strings. | Neil | 2 | -0/+152 | |
Requires std::from_chars to be available. | |||||
2025-02-01 | Reconnect to document's undo selection history after switching documents when | Neil | 1 | -0/+1 | |
performing undo or redo. | |||||
2025-01-31 | Add default basic constructor and operator!= to SelectionPosition to ease use. | Neil | 2 | -26/+25 | |
Use default member initializer, constexpr for constructors and equality operators and <, [[nodiscard]] for comparison operators. Add simple unit tests for Selection. Not trying to be exhaustive here, just start the process of adding tests. | |||||
2025-01-30 | In Clear, clear fields in declaration order and ensure all fields handled. | Neil | 1 | -3/+5 | |
2025-01-25 | Bug [#1224]. Use enum for undo selection history and make API names more | Neil | 3 | -8/+9 | |
consistent as 'undo selection' instead of 'selection undo' as more closely associated with undo than selection. | |||||
2025-01-22 | Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY. | Neil | 12 | -8/+295 | |
2025-01-22 | There will be more use of std::vector<SelectionRange> so name it. | Neil | 1 | -3/+4 | |
2025-01-08 | Feature [feature-requests:#1540]. Optimize InsertEmpty to memset equivalent. | Zufu Liu | 1 | -8/+6 | |
Simplify second argument by std::fill -> std::fill_n, std::copy -> std::copy_n. | |||||
2025-01-07 | Feature [feature-requests:#1539]. Avoid calling UpdateBidiData for each subline. | Zufu Liu | 1 | -15/+13 | |
Remove vector of draw phases. | |||||
2024-12-15 | Feature [feature-requests:#1537]. Use const where possible. | Neil | 1 | -1/+1 | |
2024-12-15 | Feature [feature-requests:#1537]. Use noexcept where possible. | Zufu Liu | 2 | -4/+4 | |
2024-12-15 | Feature [feature-requests:#1537]. Extract common code into function. | Zufu Liu | 1 | -8/+10 | |
2024-12-13 | Feature [feature-requests:#1538]. Reduce range checks in PartitionFromPosition | Zufu Liu | 1 | -1/+1 | |
to improve performance. | |||||
2024-12-13 | Feature [feature-requests:#1537]. Remove explicit initialization which is | Zufu Liu | 1 | -3/+1 | |
identical to default initialization. Remove constructor argument which is same as default. | |||||
2024-12-06 | Feature [feature-requests:#1537]. Avoid truncation potential with PerformSort. | Zufu Liu | 2 | -14/+11 | |
Use string_view to improve safety. | |||||
2024-12-06 | Feature [feature-requests:#1537]. Refactor Sorter in AutoComplete. | Zufu Liu | 1 | -13/+21 | |
Move into unnamed namespace. Don't hold onto AutoComplete*. Simplify indexing by 2. Use const. | |||||
2024-12-03 | Feature [feature-requests:#1537]. Simpify calculation of start of search for | Zufu Liu | 1 | -1/+1 | |
brace matching. | |||||
2024-12-03 | Feature [feature-requests:#1537]. Avoid holding onto Document without need. | Zufu Liu | 1 | -2/+1 | |
2024-11-24 | Bug [#2457]. Fix moving line down to empty final line and moving empty final | pawelzwronek | 1 | -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-02 | Improve performance of simple case where FillRange just inserts two entries and | Neil | 1 | -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-02 | Remove explicit initialization which is identical to default initialization. | Neil | 1 | -5/+2 | |
Remove constructor argument which is same as default. Shorten code and avoid else. | |||||
2024-12-02 | Optimize calculating lines of range to redraw when whole range is on one line. | Neil | 1 | -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-01 | Code format: no space in -1. | Neil | 1 | -2/+2 | |
2024-12-01 | Feature [feature-requests:#1535]. Improve performance of DBCS brace matching. | Zufu Liu | 1 | -11/+5 | |
2024-12-01 | Feature [feature-requests:#1535]. Improve performance of DBCS text by avoiding | Zufu Liu | 1 | -16/+7 | |
calling LineStartPosition. | |||||
2024-11-26 | Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t. | Neil | 13 | -0/+14 | |
2024-11-25 | Bug [#2456]. Fix wrapping removed lines. | Pawel Z Wronek | 1 | -0/+6 | |
2024-11-17 | Feature [feature-requests:#1533]. More performance for SCI_BRACEMATCH by | Zufu Liu | 2 | -7/+42 | |
avoiding costly NextPosition call where possible. Approximately 60% improvement on tested system. | |||||
2024-11-17 | Feature [feature-requests:#1533]. Improve performance of SCI_BRACEMATCH by only | Zufu Liu | 1 | -8/+6 | |
retrieving style for braces. Approximately 25% improvement on tested system. | |||||
2024-10-24 | Update to Unicode 15.1. | Neil | 1 | -2/+4 | |
https://github.com/ScintillaOrg/lexilla/issues/285 | |||||
2024-09-28 | Prefer member intializers. | Neil | 1 | -18/+18 | |
2024-09-28 | Remove private field that was never used. | Neil | 2 | -3/+0 | |
2024-09-02 | Hoist some common code into methods. | Neil | 3 | -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-22 | Feature [feature-requests:#1524]. Use same name in declaration and definition. | Neil | 1 | -1/+1 | |
2024-08-15 | Add SCI_STYLESETSTRETCH to support condensed and expanded text styles. | Neil | 5 | -3/+17 | |
2024-08-09 | Simplify code that sets an empty selection at a position. | Neil | 2 | -6/+3 | |
2024-07-31 | Feature [feature-requests:#1524]. Add SCI_LINEINDENT and SCI_LINEDEDENT. | Martijn Laan | 2 | -6/+12 | |
These force the multiline behaviour of SCI_TAB and SCI_BACKTAB. | |||||
2024-07-28 | Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its | Neil | 7 | -0/+18 | |
nesting depth. | |||||
2024-07-27 | Feature [feature-requests:#1530]. SCI_SETCOPYSEPARATOR sets string to separate | Neil | 2 | -4/+14 | |
parts of multiple selection when copied. | |||||
2024-07-15 | Simplify line-end insertions and conversions. | Neil | 2 | -24/+21 | |
2024-07-10 | Bug [#2443]. Fix flickering cursor after some mouse action sequences. | Neil | 1 | -1/+6 | |
2024-07-03 | Feature [feature-requests:#1523]. SCI_AUTOCSETSTYLE sets autocompletion font. | Martijn Laan | 3 | -4/+25 | |
2024-06-20 | Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint. | Martijn Laan | 2 | -17/+53 | |
2024-06-11 | Feature [feature-requests:#1517]. Increase maximum zoom set interactively to +60 | Neil | 1 | -1/+1 | |
points. | |||||
2024-06-10 | Simplify SetZoom by calling SetAppearance to do the check if changed sequence. | Neil | 1 | -8/+4 | |