aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-09Bug [#2358]. Suppress change history background line shading when printing.Neil1-0/+8
2022-10-04Feature [feature-requests:#1453] Added SCI_STYLESETINVISIBLEREPRESENTATION toFerdinand Oeinck4-1/+44
make it easier to edit around invisible text. This also allows representing long lexemes with a single character to provide a summarized view.
2022-10-01Draw SC_MARK_BAR markers underneath other markers as they often cover multipleNeil1-17/+25
lines for change history and other markers mark individual lines.
2022-10-01Hoist choosing marker variants into PartForFoldHighlight and PartForBar.Neil2-33/+40
PaintOneMargin is constant so mark as const. Extend scope of isExpanded to avoid recalculation. This change set does not change behaviour.
2022-09-30Bug [#2357]. Make SCI_LINESCROLL more accurate when width of space not integer.Zufu Liu1-1/+1
2022-09-25Enlarge point and point top indicators and scale to be larger with larger text.Neil2-8/+9
2022-09-25Draw lines more consistently in SC_PHASES_TWO and SC_PHASES_ONE modes byNeil1-0/+9
clipping drawing to just the line rectangle.
2022-09-19Stop turning on change history when there are steps that can be undone asNeil1-1/+1
performing undo before start of change history can crash.
2022-09-15Remove unnecessary ';'.Neil1-1/+1
2022-09-12Bug [#2349] When more screen lines in ContractionState than LineLayout for aNeil1-0/+5
line then draw extra lines in purple bugColour to make the problem obvious.
2022-09-12Remove NotifyLexerChanged notification from DocWatcher.Neil6-19/+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-09-02Add PixelAlignCeil and call PixelAlign* to avoid repeated code.Markus Nißl2-8/+13
2022-08-17Display bar marker correctly on last line of document.Neil1-1/+1
2022-08-15Fix bug where deletion at line end indicated with point disappeared when textNeil3-7/+21
inserted on line. Ensure not using old data by clearing all positions - this was hiding problems because deleted positions were still set.
2022-08-14Specify SetCurrentValue as noexcept as that will not change.Neil2-17/+31
Add cast functions to simplify code and avoid warnings.
2022-08-13Move ModifierFlags to ScintillaTypes.h as it is globally useful and not tiedNeil2-10/+0
to Editor.
2022-08-13Avoid access to window IDs (which are platform-dependent) in code that doesn'tNeil2-7/+12
need them.
2022-08-13Reduce warnings with noexcept, fewer casts, and other minor changes.Neil7-28/+32
2022-08-13Move append of new line start into PositionCache as AddLineStart.Neil3-7/+7
2022-08-09Fix indentation.Neil1-1/+1
2022-08-09Remove unnecessary semicolons.Neil1-5/+5
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.Neil4-20/+24
2022-07-31Change default change history markers and indicators.Neil1-12/+12
2022-07-31Add SC_MARK_BAR marker and INDIC_POINT_TOP indicator which are useful for changeNeil5-3/+88
history. Tweak size of INDIC_POINT and INDIC_POINTCHARACTER. Let translucency of INDIC_COMPOSITIONTHICK be adjusted.
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil12-4/+790
in the margin or in the text.
2022-07-31Move main access to active marker bit set to model. This will allow merging inNeil5-9/+14
change history markers and simplifies calls.
2022-07-30Add cast functions to simplify code and avoid warnings.Neil1-24/+41
Change targetAct type to avoid type widening warnings.
2022-07-30Apply rule-of-zero to CellBuffer internals.Neil1-14/+0
2022-07-29Apply rule-of-zero to delete standard methods where possible as handled byNeil12-131/+4
contained types. This allows flexibility as most lower-level data types can be moved and SplitVector and Partitioning of non-move-only types may be copied. CellBuffer still needs destructor due to incomplete type so retains all standard operations.
2022-07-29Flatten SparseVector to avoid a level of indirection by containing SplitVectorNeil1-53/+53
and Partitioning directly instead of using std::unique_ptr.
2022-07-29Use SplitVector directly instead of throughSplitVectorWithRangeAdd which wasNeil1-51/+35
only ever used by Partitioning.
2022-07-29Flatten Partitioning and RunStyles to avoid a level of indirection by containingNeil4-84/+84
SplitVector and Partitioning directly instead of using std::unique_ptr. This will enable more value semantics and reduces potential memory allocation failure scenarios.
2022-07-29Add growSize argument to SplitVector constructor with default value so can beNeil2-3/+3
used more simply. Add default value to growSize argument of Partitioning to enable default construction.
2022-07-28Use extra consts to avoid 32 to 64-bit widening warnings in headers.Neil1-2/+4
This change wouldn't be worthwhile in implementation files but warnings in headers obscure more important diagnostics.
2022-07-25Use T type parameter for RangeAddDelta arguments to harmonize types and avoidNeil1-6/+7
warnings.
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.