Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
RangeContainsProtected gains an overload that takes a SelectionRange as this is
common use and simplifies callers.
ClearSelectionRange is common code used to clear selected text and update a
SelectionRange before inserting text.
|
|
|
|
|
|
|
|
These force the multiline behaviour of SCI_TAB and SCI_BACKTAB.
|
|
nesting depth.
|
|
parts of multiple selection when copied.
|
|
|
|
|
|
|
|
|
|
points.
|
|
|
|
length of 4 (UTF8MaxBytes) but the compiler doesn't see this is enforced.
|
|
unique_ptr. Reduces executable size.
|
|
Remove erase() and reset() for items that are not set.
|
|
|
|
Prefer UndoActions::Length to UndoActions::lengths.ValueAt.
|
|
SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and
SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK.
|
|
|
|
Use symbolic constants for colour components, fixing 'magic number' warnings.
|
|
Implement IsDifferentColour to avoid clang-tidy warning about unchecked optional.
Share code between SetElementColour and SetElementBase.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This option always selects the first item in the autocompletion list.
|
|
|
|
|
|
to reinterpret_cast.
Make functions in header constexpr.
Prefer .data() to &[] since safer.
Avoid else when not needed.
|
|
|
|
|
|
Write more documentation for undo history.
|
|
|
|
|
|
when invalid.
|
|
|
|
|
|
|
|
on mayCoalesce flag to indicate that a user operation is complete when false.
|
|
most cases.
Often reduces memory use by around 50% for 32-bit builds and 75% for 64-bit
builds as it may use 2-bytes for a position or length instead of 4 or 8 bytes.
|
|
element to use minimum memory. Start by reducing (type,mayCoalesce) from 8 or 4
bytes to 1 byte.
|
|
|
|
step. This saves about 50% for a long sequence of single byte actions.
|
|
that is used for reporting undo steps to Document.
This will allow further minimization of undo memory use.
|
|
tests but hidden from most of Scintilla.
Access through std::unique_ptr.
|