Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-03-10 | Feature [feature-requests:#1481] Fix lineTop to assign document line instead of | Zufu Liu | 1 | -1/+1 | |
screen line as that is expected. | |||||
2023-03-02 | Add multithreaded wrap to significantly improve performance of wrapping large | Neil | 8 | -15/+176 | |
files. | |||||
2023-03-02 | Cache client size when view moved or sized. That allows access to it from | Neil Hodgson | 2 | -2/+8 | |
secondary threads which otherwise shows warnings. Earlier approach of caching client rectangle failed to handle scrolling. | |||||
2023-02-17 | Remove PropGetExpanded and treat GetPropertyExpanded as GetProperty since it no | Neil | 1 | -16/+1 | |
longer expands property references. | |||||
2023-02-17 | Use maximum 4 digits for next fold level display when lexer incorrectly sets | Neil | 1 | -3/+3 | |
fold level to -1. Previously 8 digits were displayed due to sign extension. Limit formatted length although no possibility of exceeding 100 characters. | |||||
2023-02-14 | Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED | Mitchell Foral | 1 | -1/+1 | |
handler retriggered an autocompletion list, but with no items that match the typed character. | |||||
2023-02-13 | Where a multi-byte character contains multiple styles, display each byte as a | Neil | 1 | -0/+16 | |
representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers. | |||||
2023-02-12 | Feature [feature-requests:#1476] Move default representation code into | Neil | 5 | -66/+74 | |
SpecialRepresentations class. | |||||
2023-02-12 | Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT. | Neil | 1 | -2/+3 | |
2023-02-12 | Bug [#2378]. Fix overlapping of text with line end wrap marker. | Zufu Liu | 3 | -5/+5 | |
2023-01-25 | When an autocompletion list is shown in response to SCN_CHARADDED, do not | Mitchell Foral | 1 | -2/+3 | |
process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion. | |||||
2023-01-25 | Use LineLayout::LineNumber inside LineLayoutCache so it doesn't have to be | Neil | 2 | -4/+3 | |
declared to be a friend. | |||||
2023-01-25 | Hoist line wrapping code into LineLayout::WrapLine as it has few dependencies. | Neil | 3 | -52/+60 | |
2023-01-23 | Allow UTF-8 entries to coexist in the position cache alongside the document | Neil | 3 | -56/+44 | |
encoding. Elements like character representations may be in UTF-8 while the document is in a different encoding. UTF-8 will be used for additional features and may later be the only encoding for the position cache. This change does not change performance or the proportion of strings cached - its purpose is to clean up callers and prepare for greater UTF-8 use. | |||||
2023-01-16 | Use intervals for drawing. | Neil | 5 | -57/+70 | |
2023-01-15 | Replace XYACCUMULATOR with XYPOSITION as will not return to single-precision | Neil | 2 | -22/+22 | |
float calculations. Remove unnecessary casts. | |||||
2023-01-15 | Consolidate calculation of horizontal offset and use in more regular way. | Neil | 1 | -15/+17 | |
2023-01-15 | Simplify DrawIndentGuide and move decision to offset out of loop. | Neil | 2 | -9/+10 | |
2023-01-15 | As text base line is constant, move calculation out of loop. | Neil | 1 | -11/+13 | |
2023-01-19 | Feature [feature-requests:#1444] Move GetFoldParent from Document to LineLevels | Neil | 3 | -12/+24 | |
as better modularity. Add LineLevels::GetFoldLevel for better type safety. Simplify bounds checks in GetLevel and GetFoldLevel. | |||||
2023-01-17 | Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. | Mitchell Foral | 1 | -0/+1 | |
2023-01-13 | Declarations on separate lines. Ensure variable initialization. | Neil | 1 | -7/+10 | |
2023-01-12 | Shorten code with std::swap. | Neil | 1 | -3/+1 | |
2023-01-12 | Remove erroneous and unnecessary casts for FindTextFull. | Neil | 1 | -4/+4 | |
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 | 2 | -16/+12 | |
2023-01-12 | Feature [feature-requests:#1474] Move EOL string function to Document and return | Zufu Liu | 4 | -41/+30 | |
string_view. | |||||
2023-01-12 | Bug [#2372]. Optimize previous commit. | Zufu Liu | 1 | -2/+2 | |
2023-01-10 | Bug [#2372]. Fix SCI_LINESJOIN bug where carriage returns were incorrectly | Zufu Liu | 1 | -12/+10 | |
retained. | |||||
2023-01-09 | Hoist common calculation into function. | Neil | 1 | -3/+11 | |
Use logical and to stop conversion warning. | |||||
2023-01-09 | Use unsigned literal and temporary to stop conversion warnings for each ↵ | Neil | 1 | -4/+6 | |
includer. | |||||
2023-01-09 | Move methods from header to implementation to avoid conversion warnings for | Neil | 2 | -2/+10 | |
each includer. | |||||
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 | 2 | -16/+10 | |
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-12 | Reorder arguments to drawing functions to be consistent. | Neil | 3 | -359/+373 | |
Make methods private or make into functions where possible to hide more implementation. Reorder methods and functions so related code closer and header and implementation match order. Use unnamed namespace instead of static. | |||||
2022-12-09 | Use const. Replace magic number with constant. | Neil | 1 | -2/+2 | |
2022-12-09 | More safety for potentially empty unwraps with ElementColourForced returning a | Neil | 4 | -16/+23 | |
ColourRGBA which is opaque black if the element not found. | |||||
2022-12-09 | Ensure unwraps of std::optional<ColourRGBA> can be checked by Code Analysis. | Neil | 1 | -17/+15 | |
This prevents warnings about dangerous potential unwraps. The cases where this was detected were protected by earlier checks but the analyser couldn't see that. Its also easier for maintainers to see safe and unsafe unwraps with the changes. | |||||
2022-12-09 | Mark OptionalColour as noexcept. | Neil | 1 | -1/+1 | |
2022-12-09 | Shorten code with ColourOptional alias for std::optional<ColourRGBA>. | Neil | 4 | -27/+29 | |
2022-12-09 | Feature [feature-requests:#1458] Replace complex CopySelectionRange call with | Zufu Liu | 1 | -3/+2 | |
simpler RangeText. This also preserves any NUL characters. | |||||
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-12-02 | Feature [feature-requests:#1458] Move code into member functions, use | Zufu Liu | 1 | -106/+76 | |
string_view and constexpr. | |||||
2022-12-01 | Change release compilation optimization option to favour speed over space. | Mitchell Foral | 1 | -1/+1 | |
-O2 for MSVC and -O3 for gcc and clang. Change code in Editor.cxx to avoid a warning that occurs with gcc -O3. | |||||
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 | 2 | -4/+4 | |
2022-11-22 | Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and | Neil | 4 | -11/+50 | |
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 | 2 | -39/+44 | |
constructor. Move CharacterExtracted out of Document so it can be more widely used. |