aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2022-10-19Fix noexcept warnings from recent changes.Neil1-2/+2
2022-10-19Hoist shared code from GetTextRange and GetTextRangeFull.Neil1-29/+20
2022-10-19Feature [feature-requests:#1455] Implement GetStyledTextFull as a 64-bit safeNeil1-12/+21
version of GetStyledText.
2022-10-04Feature [feature-requests:#1453] Added SCI_STYLESETINVISIBLEREPRESENTATION toFerdinand Oeinck1-0/+17
make it easier to edit around invisible text. This also allows representing long lexemes with a single character to provide a summarized view.
2022-09-30Bug [#2357]. Make SCI_LINESCROLL more accurate when width of space not integer.Zufu Liu1-1/+1
2022-09-12Remove NotifyLexerChanged notification from DocWatcher.Neil1-3/+0
This is a private interface but could be used by independent platform layers and was exposed by ScintillaDocument in the Qt implementation of ScintillaEdit.
2022-08-13Move ModifierFlags to ScintillaTypes.h as it is globally useful and not tiedNeil1-9/+0
to Editor.
2022-08-13Avoid access to window IDs (which are platform-dependent) in code that doesn'tNeil1-7/+11
need them.
2022-08-13Reduce warnings with noexcept, fewer casts, and other minor changes.Neil1-9/+9
2022-07-30Bug [#2340] Add option to contract every level for SCI_FOLDALL calledZufu Liu1-10/+19
SC_FOLDACTION_CONTRACT_EVERY_LEVEL. Avoid processing lines multiple times.
2022-08-01Avoid some warnings from Code Analysis.Neil1-3/+1
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-0/+14
in the margin or in the text.
2022-07-31Move main access to active marker bit set to model. This will allow merging inNeil1-2/+2
change history markers and simplifies calls.
2022-07-24Bug [#2340] Simplify expand all folds. Speed up expand line a little.Zufu Liu1-6/+7
2022-07-22Move EditView::hideSelection to (inverted) SelectionAppearance::visible so thatNeil1-1/+5
it can differ between screen and print. Add GetSelectionHidden to allow testing of HideSelection.
2022-05-17Duplicate APIs to support 64-bit document positions on Win32:Neil1-11/+74
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-04-08Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII soNeil1-9/+1
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 Hodgson1-1/+6
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 andNeil1-0/+20
make virtual to allow customisation by platform layers.
2022-03-05Feature [feature-requests:#1432] Simplify setting surface modes withZufu Liu1-0/+1
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-02-02Feature [feature-requests:#1427] Add multithreaded layout which improvesNeil1-0/+7
performance significantly for very wide lines.
2022-01-22Feature [feature-requests:#1422] Minor improvements to line layout and wrapping.Zufu Liu1-9/+15
May avoid some small costs and be clearer.
2022-01-20Hide details of PositionCache.Neil1-3/+3
Move class declarations of PositionCache and PositionCacheEntry into cxx file and only define IPositionCache interface and CreatePositionCache factory function in header.
2021-12-16Feature [feature-requests:#1422] Fix scrollbar with annotations and wrapping.Zufu Liu1-0/+2
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-10-22Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal.Mitchell Foral1-1/+1
2021-10-12Feature [feature-requests:#1416] Use range for.Neil1-3/+3
2021-10-05Feature [feature-requests:#1417] Consolidate character classification functionsNeil1-2/+2
in CharacterType.h, merging duplicate functions, removing unused functions and stadardizing names.
2021-09-28Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow stylesNeil1-0/+1
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-15Avoid some type warningsNeil1-1/+1
2021-08-27Feature [feature-requests:#841] Remove hotspot from LineLayout and rely onZufu Liu1-4/+0
reference to model.
2021-08-25Allow SCI_HIDELINES to hide the first line or all lines.Neil1-2/+1
2021-08-24Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enablesZufu Liu1-0/+7
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-14Optimize by reducing invalidation as this can be costly.Neil1-0/+18
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-07-31Implement StyleSetCheckMonospaced.Neil1-1/+8
2021-07-15Feature [feature-requests:#1370] Implement SCI_ALLOCATELINES to allocate indicesZufu Liu1-0/+4
to hold some number of lines. This is an optimization that can decrease reallocation overhead.
2021-07-03Feature [feature-requests:#1408] Merge branches for setting representations forZufu Liu1-14/+7
invalid single bytes in multi-byte encodings.
2021-07-03Feature [feature-requests:#1408] Avoid sprintf for hexadecimal character blobs.Zufu Liu1-4/+4
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.Neil1-161/+157
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 ofNeil1-2/+31
representations and support setting a representation for the "\r\n" line end sequence.
2021-06-04Bug [#2260]. Fix bug with SCI_GETLASTCHILD when lParam is -1.Zufu Liu1-2/+2
Fixed cast on SCI_FOLDCHILDREN to use correct type.
2021-05-30Fix GetFontQuality. Simplify code that calls FlagSet.Neil1-15/+15