aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-02-02Make check value larger as it tripped on testing 100MB line.Neil1-2/+2
2022-02-02Feature [feature-requests:#1427] Add multithreaded layout which improvesNeil5-45/+150
performance significantly for very wide lines.
2022-01-22Feature [feature-requests:#1422] Minor improvements to line layout and wrapping.Zufu Liu5-18/+21
May avoid some small costs and be clearer.
2022-01-20Hide details of PositionCache.Neil5-41/+65
Move class declarations of PositionCache and PositionCacheEntry into cxx file and only define IPositionCache interface and CreatePositionCache factory function in header.
2022-01-13Optimize GetColumn a little.Neil1-0/+3
2021-12-16Feature [feature-requests:#1422] Fix scrollbar with annotations and wrapping.Zufu Liu1-0/+2
2021-11-24For iterators, make constructors explicit, remove operators that are defaultedNeil1-72/+17
correctly and use 'using' in preference to 'typedef'.
2021-11-13Bug [#2294] Fix assertion failure with autocompletion list when order isNeil1-0/+5
SC_ORDER_CUSTOM or SC_ORDER_PERFORMSORT and the list is empty.
2021-11-12Change SCI_GETTEXT, SCI_GETSELTEXT, and SCI_GETCURLINE to be more consistentNeil1-15/+8
with other APIs with respect to buffer lengths.
2021-11-10Call ConstCharPtrFromSPtr when result should be const.Neil1-23/+23
This limits use of the more dangerous form CharPtrFromSPtr.
2021-11-03Added <climits> for UCHAR_MAX.Neil1-0/+1
2021-10-30Ensure all ViewStyle fields are initialized.Neil2-31/+17
2021-10-30Minor changes to avoid warnings from linters.Neil2-11/+11
2021-10-29Remove standard operations for XPM module to follow rule-of-zero.Neil2-26/+0
2021-10-26Mark method const as its a reader.Neil1-1/+1
2021-10-26Explicit constructors.Neil2-2/+2
2021-10-26Ensure variables initialized.Neil1-1/+1
2021-10-24Avoid extra breaks introduced by revision 8993.Zufu Liu3-9/+17
2021-10-24Grammar in comment.Neil1-1/+1
2021-10-22Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal.Mitchell Foral5-13/+56
2021-10-22Feature [feature-requests:#1417] Change line wrapping to seek to line lengthZufu Liu1-26/+35
then backtrack to good break.
2021-10-21Feature [feature-requests:#1417] Cache maximum key value inZufu Liu2-4/+15
SpecialRepresentations as this allows quick determination of absence for most multi-byte UTF-8 and DBCS characters.
2021-10-21Feature [feature-requests:#1417] Use unsigned as that defines wrap-aroundZufu Liu2-2/+2
behaviour.
2021-10-21Feature [feature-requests:#1417] Simplify BreakFinder::Next.Zufu Liu1-9/+8
2021-10-21Feature [feature-requests:#1417] Use backward iteration to find space / controlZufu Liu4-43/+76
character and text / punctuation boundaries in SafeSegment as will be simpler and faster in almost all cases. Simplify BreakFinder::Next calling SafeSegment.
2021-10-17encodingFamily never changes so mark const.Zufu Liu1-1/+1
2021-10-17Remove SpecialRepresentations::Contains which is no longer used.Zufu Liu2-10/+0
2021-10-12Feature [feature-requests:#1416] Use range for.Neil2-7/+5
2021-10-12Feature [feature-requests:#1416] Prevent type mismatch.Neil1-1/+1
2021-10-12Feature [feature-requests:#1416] Use noexcept to mark impossibility ofNeil1-1/+1
exceptions in static intialisation.
2021-10-12Feature [feature-requests:#1416] Harmonize parameter name.Neil1-1/+1
2021-10-12Feature [feature-requests:#1416] Use nullptr.Neil2-10/+10
2021-10-09Remove call of virtual function during destruction as default destruction doesNeil1-3/+1
everything needed. Fixes warning from Cppcheck 2.6.
2021-10-08Feature [feature-requests:#1417] Use global IsControl instead of local function.Neil1-7/+1
2021-10-05Feature [feature-requests:#1417] Consolidate character classification functionsNeil5-99/+62
in CharacterType.h, merging duplicate functions, removing unused functions and stadardizing names.
2021-10-03Feature [feature-requests:#1417] Add DEL (0x7F) to set of space characters.Neil2-1/+5
2021-09-30Feature [feature-requests:#1416] Mark destructor as noexcept and use defaultZufu Liu2-3/+2
implementation.
2021-09-30Feature [feature-requests:#1416] Remove extra check that is never true andZufu Liu3-5/+3
remove parameter used just for this test.
2021-09-28Feature [feature-requests:#1416] Change evaluation order so that monospaceASCIIZufu Liu1-10/+14
checked before cache which may improve performance for monospaceASCII. Only reset clear state when storing into cache.
2021-09-28Fix bad layout of monospace text on Cocoa by adding separate fieldNeil3-1/+4
monospaceCharacterWidth for width of monospaced characters.
2021-09-28Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow stylesNeil7-8/+14
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that.
2021-09-28Remove file that is no longer used or contain any definitions.Neil1-27/+0
2021-09-21Remove line end space.Neil1-1/+1
2021-09-17Remove superfluous destruction.Zufu Liu1-5/+1
2021-09-17Add noexcept and constexpr where reasonable.Zufu Liu3-3/+3
2021-09-16Avoid warning from Xcode.Neil Hodgson1-1/+1
2021-09-15Document lifetime of FontSpecification::fontName.Neil1-0/+1
2021-09-15Ensure variable initialised.Neil1-1/+1
2021-09-15Avoid some type warningsNeil3-12/+7
2021-09-15Move colour mixing implementations into implementation file.Neil2-18/+26
Avoids some warnings but drops constexpr. Use MixedWith in PlatWin for GDI instead of local implementation. Add unit tests for Geometry.