aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-07-25Use size_t for sizing SplitVector as compatible with vector.size() which avoidsNeil1-10/+7
casts and warnings.
2022-07-28Simplify and shorten indicator drawing.Neil1-28/+19
Loop for brace indicators instead of handling 0 and 1 explicitly.
2022-07-24Add line_cast function to simplify code and avoid warnings.Neil1-23/+29
Unsure if this is worthwhile.
2022-07-24Bug [#2340] Simplify expand all folds. Speed up expand line a little.Zufu Liu3-11/+29
2022-07-22Bug [#2341] Stop including STYLE_CALLTIP when calculating line height.Markus Nißl1-5/+10
2022-07-22Bug [#2335] Fix incorrect display of selection when printing in some modes.Neil1-6/+1
2022-07-22Move EditView::hideSelection to (inverted) SelectionAppearance::visible so thatNeil4-13/+17
it can differ between screen and print. Add GetSelectionHidden to allow testing of HideSelection.
2022-07-20Implement PositionNext to iterate. Simpler than IndexAfter for client code whichNeil1-0/+7
is not interested in SparseVector indices.
2022-07-20Add DeleteAll method as quick way to clear everything.Neil1-0/+5
Improves similarity to RunStyles.
2022-07-20Remove unnecessary code in destructor.Neil1-8/+1
2022-07-20Fix setting end element empty.Neil1-1/+1
2022-07-18Bug [#2338] Enable multiline regex for gcc and clang when REGEX_MULTILINE ↵Jacky Yang1-0/+4
defined. This requires gcc 11.3 or clang 14.
2022-07-17Feature [feature-requests:#1441] Line state optimized to avoid excess ↵Zufu Liu3-10/+11
allocations by always allocating for every line.
2022-07-04Feature [feature-requests:#1442] Tighter checking of indices avoids handlingZufu Liu2-4/+4
out-of-bounds in lower layer. Make expressions agree in ApplyStep for clarity.
2022-06-17Avoid cast.Neil1-2/+2
2022-06-17Fix crash printing on Win32 in bidirectional mode with a non-empty selection.Neil1-6/+8
2022-06-17Change bug colour slightly to be more unique and make it easier to detect whenNeil1-1/+1
debugging.
2022-06-17Bug [#2335] Fix bad background colour for additional, secondary, and inactiveNeil1-2/+6
selections when printing.
2022-06-10Bug [#2334] Fix hiding selection when selection layer is SC_LAYER_UNDER_TEXT.John Ehresman1-1/+3
2022-05-17Fix pink selection background when printing by making it completely transparent.Neil1-0/+2
2022-05-17Duplicate APIs to support 64-bit document positions on Win32:Neil4-27/+91
SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL, and SCI_FORMATRANGEFULL.
2022-05-10Support more than 2G lines with FoldAll.Neil1-2/+2
2022-05-10Improve performance of SCI_FOLDALL(SC_FOLDACTION_EXPAND).Neil1-3/+4
2022-05-01Optimize case where there are no annotationsNeil3-0/+12
2022-04-23Provide a default KeyModifiers constructor for use by platform layers.Neil1-0/+2
2022-04-08Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII soNeil3-28/+24
subclasses do not need to call StandardASCII. Avoid some lint warnings.
2022-04-07Bug [#2322] Fix partial updates and non-responsive scroll bars on Xorg.Neil Hodgson2-2/+8
Also fixes bugs [#2196] and [#2312].
2022-03-15Feature [feature-requests:#1431] Add SCI_GETSTYLEINDEXAT API to return stylesNeil1-0/+6
over 127 as positive integers.
2022-03-12Feature [feature-requests:#1432] Move some surface creation out of headers andNeil2-12/+26
make virtual to allow customisation by platform layers.
2022-03-10Bug [#2320] Fix position of end-of-line annotation when fold display text isMichael Berlenz1-1/+3
visible.
2022-03-05Feature [feature-requests:#1432] Simplify setting surface modes withZufu Liu5-3/+9
EditModel::CurrentSurfaceMode.
2022-03-05Feature [feature-requests:#1432] Remove redundant calls to DropGraphics.Zufu Liu1-1/+0
InvalidateStyleRedraw calls DropGraphics and the unique_ptr destructors will ensure that the pixmaps are destroyed when Editor is destroyed.
2022-03-04Feature [feature-requests:#1432] Cosmetic - comment position and trailing space.Zufu Liu1-1/+1
2022-03-04Feature [feature-requests:#1432] Simplify CallTip::SetForeBack with pass by ↵Zufu Liu2-2/+2
value.
2022-03-04Feature [feature-requests:#1432] Simplify CallTipStart by passing in surface andZufu Liu3-23/+9
font. This allows customization of surface creation and ensures surface and font for calltip are the same as used in main window.
2022-03-01Removed duplicate element.Neil1-1/+0
2022-02-28Fix null dereference warning from Coverity 2021.12.Neil1-1/+1
2022-02-16Bug [#2315] Fix undefined macros. Fixes key map for GTK on macOS and Haiku ↵Neil2-1/+3
build.
2022-02-10Replace "OS X' with "macOS".Neil1-1/+1
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