aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-07-29Add SC_ELEMENT_HIDDEN_LINE to show where lines are hidden.Neil1-0/+11
2021-07-29Add SC_ELEMENT_FOLD_LINE to set the colour of fold lines.Neil1-2/+4
2021-07-29Fix display of fold lines when wrapped so they are only drawn once per line, notNeil1-6/+10
on each subline.
2021-07-29Use Side call to reduce code.Neil1-6/+2
2021-07-29Make iterators const where possible.Neil1-6/+6
2021-07-29Feature [feature-requests:#1413] Decrease cost of representation for \r\n.Zufu Liu2-16/+50
2021-07-24Bug [#2269]. Fix error with MSVC with /std:c++latest.rel-5-1-1Zufu Liu1-2/+0
2021-07-17Add SCI_AUTOCSETOPTIONS to allow choosing a non-resizeable autocompletion listNeil4-6/+19
on Win32. This also avoids a header rectangle above the list.
2021-07-17Added PLAT_QT_QML define for a Qt QML/Quick platform layer.Neil1-0/+5
https://github.com/mneuroth/SciTEQt
2021-07-17Fix minor inconsistency with word searching results at start and end of documentNeil1-5/+9
which were considered word start / end positions even when first or last character did not fit requirements.
2021-07-17Extract word edge detection to prepare for fixing bug.Neil1-8/+11
This change does not affect behaviour.
2021-07-15Feature [feature-requests:#1370] Implement SCI_ALLOCATELINES to allocate indicesZufu Liu6-0/+38
to hold some number of lines. This is an optimization that can decrease reallocation overhead.
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.Neil1-1/+1
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 byteNeil1-3/+13
pairs in backwards NextPosition.
2021-07-05Feature [feature-requests:#1408] Check both bytes of potential DBCS characterZufu Liu2-5/+10
before treating as a character.
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 Liu1-25/+48
text.
2021-07-13Restrict UTF8IsAscii to char and unsigned char to avoid failures when (signed)Neil2-2/+7
char passed.
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 Liu2-64/+13
Drop temporary test for IsDBCSTrailByteNoExcept.
2021-07-03Feature [feature-requests:#1408] Use positive IsDBCSTrailByteNoExcept functionZufu Liu2-2/+34
instead of negated IsDBCSTrailByteInvalid.
2021-07-02Feature [feature-requests:#1408] Treat valid DBCS lead byte followed by invalidZufu Liu1-6/+13
trail byte as single byte.
2021-06-21Avoid extra lookup for mapReprs.Zufu Liu1-3/+3
2021-06-11Use more natural type avoiding cast and warning.Neil1-2/+2
2021-06-11Ensure variable initialised.Neil1-1/+1
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.Neil3-50/+37
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-10Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting textNeil1-1/+1
provided as an argument instead of from the system clipboard.
2021-06-09Reduce casts by defining methods for common conversions.Neil6-170/+183
2021-06-09Add SCI_PASTERECTANGULAR to insert text like a rectangular paste.Mitchell Foral1-0/+9
2021-06-03Add APIs for setting appearance (traditional blob or plain text) and colour ofNeil4-66/+155
representations and support setting a representation for the "\r\n" line end sequence.
2021-06-05Avoid extra processing as value_or doesn't evaluate lazily.Zufu Liu1-2/+2
2021-06-04Simplified expression.Zufu Liu1-1/+1
2021-06-04Bug [#2260]. Fix bug with SCI_GETLASTCHILD when lParam is -1.Zufu Liu3-5/+11
Fixed cast on SCI_FOLDCHILDREN to use correct type.
2021-05-30Fix GetFontQuality. Simplify code that calls FlagSet.Neil3-18/+18
2021-05-28Better exception handling for noexcept methods. More accurate noexcept marking.Neil6-24/+49
2021-05-28Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms.Neil3-10/+10
2021-05-27Fix fold debug mode for margin.Neil1-1/+1
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil69-2888/+2932
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.