aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-07-16SplitVector::RoomFor does not resize when there is exactly enough room as thisNeil1-14/+16
prevents extra reallocations. This change made 0-length gaps more likely and that caused attempts to std::move by 0 which is undefined and failed with the g++ standard library. Fixed by not moving for 0-length gap.
2021-07-16Feature [feature-requests:#1381] Fix position returned when in 2nd segment.Neil2-1/+20
2021-07-16Feature [feature-requests:#1381] Avoid strlen and more complex comparison.Zufu Liu1-3/+3
2021-07-15Feature [feature-requests:#1381] Move SplitView to header so it can be used moreNeil4-33/+55
widely. Ensure that case where all text is after the gap is as efficient as when all text is before the gap.
2021-07-14Feature [feature-requests:#1408] More accurate handling of invalid DBCS byteNeil2-9/+64
pairs in backwards NextPosition.
2021-07-05Feature [feature-requests:#1408] Check both bytes of potential DBCS characterZufu Liu3-12/+70
before treating as a character.
2021-07-12Add support for benchmarks and Russian text in the unit tests.Neil2-0/+33
2021-07-12Use SplitFindChar to rapidly seek for a byte value for case-sensitive searches.Neil1-14/+62
Averaged 2x faster for forward search "needle" in Editor.cxx as UTF-8 or Latin1.
2021-07-12Create SplitView to avoid overhead of calling CellBuffer for reading characters.Neil1-7/+44
Increases performance of search by around 25%.
2021-07-12Optimize case-insensitive DBCS search.Neil1-1/+1
2021-07-12Rearrange and reformat code to minimize variable lifetime and bracket blocks.Zufu Liu1-12/+21
2021-07-12Feature [feature-requests:#1381] Optimize case sensitive search.Zufu Liu1-4/+13
2021-07-12Feature [feature-requests:#1381] Optimize case insensitive search for ASCII ↵Zufu Liu2-25/+52
text.
2021-07-13Restrict UTF8IsAscii to char and unsigned char to avoid failures when (signed)Neil2-2/+7
char passed.
2021-07-11Add search tests with different encodings, case-matching options, and ↵Neil1-4/+189
directions.
2021-07-11Avoid some incorrect compiler warnings for out-of-bounds access by providingNeil1-3/+3
extra bytes.
2021-07-06Feature [feature-requests:#1408] For DBCS on Win32, change WM_GETTEXTLENGTH andNeil1-15/+45
WM_GETTEXT to not use CountUTF16 or GetRelativePositionUTF16, instead using the Win32 API MultiByteToWideChar for consistency between reported length and text as UTF-16.
2021-07-05Feature [feature-requests:#1408] Remove IsDBCSLeadByteInvalid as only caller ↵Zufu Liu1-37/+0
removed.
2021-07-03Feature [feature-requests:#1408] Merge branches for setting representations forZufu Liu3-14/+20
invalid single bytes in multi-byte encodings.
2021-07-03Feature [feature-requests:#1408] Avoid sprintf for hexadecimal character blobs.Zufu Liu3-5/+13
2021-07-03Feature [feature-requests:#1408] Simplify code, remove IsDBCSTrailByteInvalid.Zufu Liu3-75/+13
Drop temporary test for IsDBCSTrailByteNoExcept.
2021-07-03Feature [feature-requests:#1408] Use positive IsDBCSTrailByteNoExcept functionZufu Liu3-2/+46
instead of negated IsDBCSTrailByteInvalid.
2021-07-03Update all version numbers in Xcode project. Was missed because of change toNeil2-4/+5
ReplaceREInFile.
2021-07-03Remove remnants of support for including lexers in Scintilla.Neil11-157/+14
2021-07-02Feature [feature-requests:#1408] Treat valid DBCS lead byte followed by invalidZufu Liu3-6/+37
trail byte as single byte.
2021-07-01Add searching test cases for multi-byte encodingNeil4-11/+61
2021-07-01Hide profiling results.Neil1-0/+1
2021-06-25Feature [feature-requests:#1400] Set buffering when technology set.Zufu Liu4-3/+49
2021-06-23Fix API name.Neil1-1/+1
2021-06-23Update download link.Neil1-1/+1
2021-06-23Added tag rel-5-1-0 for changeset b152bb68c584Neil1-0/+1
2021-06-21Fix some warnings in unit tests.rel-5-1-0Zufu Liu5-24/+22
2021-06-21Add tests for CharacterCategoryMap, RESearch, and Document.Zufu Liu6-0/+218
2021-06-21Avoid extra lookup for mapReprs.Zufu Liu1-3/+3
2021-06-18Updated for stable version 5.1.0.Neil9-26/+25
2021-06-17Move ScintillaCall from SciTE project.Neil5-10/+4384
2021-06-17Implement GetDirectStatusFunction on GTK.Neil1-0/+3
2021-06-17Add SciFnDirectStatus, a direct access function which also returns status so canNeil12-10/+100
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
2021-06-11Use more natural type avoiding cast and warning.Neil1-2/+2
2021-06-11Ensure variable initialised.Neil1-1/+1
2021-06-11Display warning if can't find line to update.Neil1-0/+2
2021-06-10Surround parameters with code tags styling as class 'parameter'.Neil1-8/+8
2021-06-10Include header for intptr_t as otherwise not known with gcc 11 on Linux.Neil Hodgson1-0/+1
2021-06-10Use the position cache when possibe for representations.Neil1-1/+12
2021-06-10Use string_view for PositionCache methods.Neil4-53/+42
Replace custom hash code with standard library hash. Drop standard methods that are not needed. Restrict representations to 200 bytes. Improve documentation.
2021-06-10Don't divide input text into segments in PositionCache::MeasureWidths as textNeil3-19/+4
should already have been segmented into reasonable lengths. The Document argument is no longer needed.
2021-06-10Call HFacer to ensure Scintilla.h also updated.Neil1-4/+9
2021-06-10Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting textNeil6-11/+13
provided as an argument instead of from the system clipboard.
2021-06-09Reduce casts by defining methods for common conversions.Neil8-174/+187
2021-06-09Add SCI_PASTERECTANGULAR to insert text like a rectangular paste.Mitchell Foral7-0/+27