Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
SCI_SETSELECTIONSERIALIZED.
|
|
On average takes around 20% of SelectionSimple.
|
|
Requires std::from_chars to be available.
|
|
performing undo or redo.
|
|
|
|
Use default member initializer, constexpr for constructors and equality
operators and <, [[nodiscard]] for comparison operators.
Add simple unit tests for Selection. Not trying to be exhaustive here, just
start the process of adding tests.
|
|
|
|
|
|
consistent as 'undo selection' instead of 'selection undo' as more closely
associated with undo than selection.
|
|
|
|
|
|
Simplify second argument by std::fill -> std::fill_n, std::copy -> std::copy_n.
|
|
Remove vector of draw phases.
|
|
|
|
No change in behaviour.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to improve performance.
|
|
identical to default initialization.
Remove constructor argument which is same as default.
|
|
Use string_view to improve safety.
|
|
Move into unnamed namespace. Don't hold onto AutoComplete*.
Simplify indexing by 2. Use const.
|
|
brace matching.
|
|
|
|
|
|
line up.
Handle edge cases when moving selected lines. Allow moving the selection when
the end line of the document is empty or when moving up the last empty line.
|
|
does not need to split, merge, or delete runs.
This avoids multiple binary searches and is a significant improvement for
situations such as marking large numbers of search matches in a huge document.
|
|
Remove constructor argument which is same as default.
Shorten code and avoid else.
|
|
SciLineFromPosition is a binary search over the line indices but LineStart is
just indexing so is less expensive.
This code may limit performance when updating many positions.
|
|
|
|
|
|
calling LineStartPosition.
|
|
|
|
|
|
|
|
|
|
|
|
avoiding costly NextPosition call where possible.
Approximately 60% improvement on tested system.
|
|
retrieving style for braces.
Approximately 25% improvement on tested system.
|
|
|
|
https://github.com/geany/geany/issues/2629
|
|
https://github.com/ScintillaOrg/lexilla/issues/285
|
|
|
|
|
|
|
|
|