aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31Make Cancel methods noexcept as they may need to be used in destructors.Neil4-4/+4
2021-08-31Reduce Code Analysis warnings.Neil1-2/+7
2021-08-31Simplify Style types FontSpecification, FontMeasurements, Style, FontRealised.Neil4-164/+59
Rely on shared_ptr and use standard copying where possible. Check extraFontFlag and checkMonospaced for FontSpecification comparisons.
2021-08-28Delete standard operations on classes that can not be copied.Neil1-0/+5
2021-08-28Follow rule-of-zero by removing unnecessary destructors.Neil3-10/+0
2021-08-27Feature [feature-requests:#841] Remove hotspot from LineLayout and rely onZufu Liu6-14/+3
reference to model.
2021-08-25Allow SCI_HIDELINES to hide the first line or all lines.Neil2-3/+2
2021-08-24Remove line end white space.Neil8-13/+13
2021-08-24OptionalFoldLevel uses no members so mark static.Zufu Liu1-1/+1
2021-08-24Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enablesZufu Liu4-8/+18
highlighting just the subline with the caret when wrapping is on.
2021-08-23Fix change set 8902 which could cause caret to stop blinking.Neil1-3/+3
Occurred when a redraw was requested during a paint.
2021-08-22Follow rule-of-zero / rule-of-5 where reasonable by removing standard operatorsNeil10-24/+2
that are not needed.
2021-08-22Encapsulate an ILexer5* in LexerInstance class to simplify client code.Neil3-39/+44
2021-08-14Optimize by reducing invalidation as this can be costly.Neil2-0/+22
If all of the text area or margin area is invalidated then remember this and don't do any more invalidations for that area until the window is painted. This reduced the time taken to replace each \r\n with \n\n in very large files by a factor of 3.
2021-08-07Changes for Cppcheck 2.5.Neil2-2/+2
Shift of unsigned to avoid too much shifting and overflow warnings. Remove condition that was always true. Remove suppressions no longer needed.
2021-07-31Implement StyleSetCheckMonospaced.Neil5-1/+46
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