Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-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 | 1 | -0/+1 | |
2024-11-17 | Feature [feature-requests:#1533]. More performance for SCI_BRACEMATCH by | Zufu Liu | 1 | -7/+41 | |
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-09-28 | Prefer member intializers. | Neil | 1 | -18/+18 | |
2024-09-28 | Remove private field that was never used. | Neil | 1 | -2/+0 | |
2024-07-28 | Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its | Neil | 1 | -0/+4 | |
nesting depth. | |||||
2024-07-15 | Simplify line-end insertions and conversions. | Neil | 1 | -15/+18 | |
2024-05-23 | Suppress some warnings from g++ 14.1 where a UTF-8 character has a maximum | Neil Hodgson | 1 | -0/+5 | |
length of 4 (UTF8MaxBytes) but the compiler doesn't see this is enforced. | |||||
2024-03-08 | Reformat with astyle. | Neil | 1 | -5/+5 | |
2024-02-28 | Add variant of UTF8Classify that takes a char* so that client code does not have | Neil | 1 | -1/+1 | |
to reinterpret_cast. Make functions in header constexpr. Prefer .data() to &[] since safer. Avoid else when not needed. | |||||
2024-02-16 | Implement detach point access with SCI_SETUNDODETACH and SCI_GETUNDODETACH. | Neil | 1 | -4/+12 | |
Write more documentation for undo history. | |||||
2024-02-15 | Perform validation of undo state when SCI_SETUNDOCURRENT called, setting status | Neil | 1 | -1/+1 | |
when invalid. | |||||
2024-02-09 | Implement API to read and write undo history from applications. | Neil | 1 | -0/+48 | |
2024-02-01 | Add UndoAction class as internal type for undo actions and make Action a struct | Neil | 1 | -6/+6 | |
that is used for reporting undo steps to Document. This will allow further minimization of undo memory use. | |||||
2024-01-02 | Simplify choosing caret position when undoing contiguous deletions. | Neil | 1 | -22/+6 | |
Stop considering container actions as they are supposed to be transparent. The mayCoalesce flag is private to the undo code and may be removed in the future. Use Range type to unify state implementing coalescing. | |||||
2023-12-21 | Bug [#2405]. Avoid character fragments in regular expression search results. | Zufu Liu | 1 | -4/+5 | |
2023-12-20 | Add IDocumentEditable interface for efficient interaction with document objects. | Neil | 1 | -2/+10 | |
2023-12-14 | Bug [#2405]. Fix regular expression bug in reverse direction where shortened | Zufu Liu | 1 | -20/+17 | |
match returned. | |||||
2023-12-14 | Remove noexcept from MatchFlags since IsWordEndAt is not noexcept. | Neil | 1 | -1/+1 | |
2023-12-12 | Bug [#2405]. Fix regular expression assertion (^, $, \b. \B) failures when using | Zufu Liu | 1 | -28/+33 | |
SCFIND_CXX11REGEX. | |||||
2023-12-02 | Bug [#2157]. Fix regular expression search for word begin \< and word end \>. | Zufu Liu | 1 | -2/+5 | |
2023-11-07 | Feature [feature-requests:#1501] More use of LineStartPosition, LineEndPosition. | Zufu Liu | 1 | -2/+1 | |
2023-11-02 | Feature [feature-requests:#1500] Remove match text retrieval from MatchOnLines | Zufu Liu | 1 | -15/+11 | |
as it is redone in SubstituteByPosition. Replace RESearch::pat and RESearch::GrabMatches with retrieving matches as needed in SubstituteByPosition. | |||||
2023-10-26 | Add LineStartPosition to replace common idiom LineStart(LineFromPosition(x)) as | Neil | 1 | -5/+9 | |
this shortens code. LineStartPosition is also noexcept which allows callers to be noexcept. | |||||
2023-10-26 | Implement LineEnd method in CellBuffer as it is a basic function and only uses | Neil | 1 | -30/+7 | |
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-15 | Bug [#2405]. Fix incorrect substitution when searching for a regular expression | Zufu Liu | 1 | -0/+8 | |
backwards. | |||||
2023-10-15 | Use std::array for regex match positions as it will simplify copying. | Neil | 1 | -0/+1 | |
This change set does not change behaviour. | |||||
2023-04-11 | Follow rule-of-zero to omit standard methods. | Neil | 1 | -8/+1 | |
2023-03-02 | Add multithreaded wrap to significantly improve performance of wrapping large | Neil | 1 | -0/+4 | |
files. | |||||
2023-01-19 | Feature [feature-requests:#1444] Move GetFoldParent from Document to LineLevels | Neil | 1 | -9/+2 | |
as better modularity. Add LineLevels::GetFoldLevel for better type safety. Simplify bounds checks in GetLevel and GetFoldLevel. | |||||
2023-01-12 | Feature [feature-requests:#1474] Simplify code. | Zufu Liu | 1 | -3/+4 | |
2023-01-12 | Feature [feature-requests:#1474] Simplify with InsertString(string_view). | Zufu Liu | 1 | -3/+2 | |
2023-01-12 | Feature [feature-requests:#1474] Move EOL string function to Document and return | Zufu Liu | 1 | -0/+10 | |
string_view. | |||||
2022-12-23 | Bug [#2360]. Switch back from dynamic_cast to static_cast for per-line data | Mat Berchtold | 1 | -6/+6 | |
structures. This undoes change set [eca055]. | |||||
2022-12-21 | Bug [#2340]. Avoid repeated call in GetFoldParent for around 10% performance | Zufu Liu | 1 | -14/+8 | |
gain with Visual C++ 64-bit release mode on 300,000 line file. Remove duplicated code and simplify. GetFoldLevel and thus GetFoldParent can't throw so mark as noexcept. | |||||
2022-12-02 | Detangle ASCII and multi-byte code for case-insenstive UTF-8 searches. | Neil | 1 | -21/+18 | |
This avoids some work for the common case of ASCII text, which can reduce time taken for search in text that is ASCII or almost-all ASCII by 30%. Ensures that the bytes variable is always initialized. There are a small gains possible by making other minor changes but they would increase code length and add complexity. Add performance test for UTF-8 search in almost-all ASCII document. Increase size of test cases for more consistent results on faster computers. | |||||
2022-12-02 | Ensure variable is initialized. | Neil | 1 | -3/+4 | |
2022-11-28 | Bug [#2363]. Change 'paragraph up' commands SCI_PARAUP and SCI_PARAUPEXTEND to | Michael Heath | 1 | -1/+4 | |
go to the start position of the paragraph containing the caret. Only if the caret is already at the start of the paragraph will it go to the start of the previous paragraph. | |||||
2022-11-24 | Add const and noexcept where sensible. | Neil | 1 | -2/+2 | |
2022-11-22 | Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and | Neil | 1 | -0/+11 | |
suffix to be marked as modified in change history. | |||||
2022-11-14 | Fix last change with CharacterExtracted to work on Unix. | Neil | 1 | -1/+1 | |
2022-11-12 | Hoist common conversion from UTF-8 byte string into CharacterExtracted | Neil | 1 | -25/+19 | |
constructor. Move CharacterExtracted out of Document so it can be more widely used. | |||||
2022-10-20 | Change ScintillaBase::AutoCompleteInsert to take a string_view and add | Neil | 1 | -0/+4 | |
Document::InsertString overload taking a string_view. These changes simplify callers. | |||||
2022-09-12 | Remove NotifyLexerChanged notification from DocWatcher. | Neil | 1 | -8/+0 | |
This is a private interface but could be used by independent platform layers and was exposed by ScintillaDocument in the Qt implementation of ScintillaEdit. | |||||
2022-08-17 | Display bar marker correctly on last line of document. | Neil | 1 | -1/+1 | |