aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2021-05-22Encapsulate whether a margin shows folding.Neil3-4/+9
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil20-228/+228
will be published in externally visible header.
2021-05-20Prefer Sci::invalidPosition to INVALID_POSITION as Scintilla.h will eventuallyNeil5-32/+32
not be visible to most code.
2021-05-20Add LevelIsHeader and LevelIsWhitespace as fold levels will become enum classNeil5-37/+45
later so not work well with '&'.
2021-05-19Bug [#2253]. Remove SC_ELEMENT_CARET_SECONDARY as it caused unexpected change toNeil2-5/+1
caret appearance for empty selection as empty selections can not be primary.
2021-05-16Include modifiers in SCN_INDICATORRELEASE notification.Damiano Lombardi1-1/+1
2021-05-15Protect against out-of-bounds layout cache level and remove unnecessary code.Neil2-3/+4
Make documentation more accurate.
2021-05-15Bug [#2253]. For SCI_SETSELALPHA, also update the alpha of secondary and ↵Neil Hodgson1-2/+5
no-focus states to avoid hiding text under opaque selections. This leads to very faint selections but that is preferrable to not being able to see text.
2021-05-14Do not set alpha of SC_ELEMENT_CARET_LINE_BACK unless already has a colour.Neil1-1/+3
2021-05-14Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content areaNeil2-16/+24
markers can be drawn translucently under text.
2021-05-14Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE andNeil4-22/+17
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK.
2021-05-14Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visibleNeil4-16/+15
whitespace.
2021-05-14Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour ofYX Hao4-22/+31
visible whitespace including translucency.
2021-05-14Draw EOL annotation shapes under text.Neil1-1/+1
2021-05-14Add method to mix colours in a proportion.Neil1-0/+11