Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-07-03 | Feature [feature-requests:#1563]. Move main range in selection serialized form.master | Zufu Liu | 1 | -27/+29 | |
Avoid processing characters multiple times by relying on from_chars munching digit characters instead of searching for delimiters. | |||||
2025-04-03 | Turn on type conversion warnings for GCC and fix them. | Neil | 1 | -0/+4 | |
2025-02-07 | Use operator== inside <= and >= to shorten code. | Neil | 1 | -14/+8 | |
Drop else after return in asymmetric cases to clarify the returned value. | |||||
2025-02-05 | Use new SelectionSegment constructor and SelectionRange::AsSegment to simplify | Neil | 1 | -2/+2 | |
code. | |||||
2025-02-05 | Simplify SelectionRange::Intersect and add SelectionRange constructor from | Neil | 1 | -14/+9 | |
positions without virtual space. Add unit tests. | |||||
2025-02-01 | Serialize selection type and ranges with SCI_GETSELECTIONSERIALIZED and | Neil | 1 | -0/+17 | |
SCI_SETSELECTIONSERIALIZED. | |||||
2025-02-01 | Implement serialization of Selection to and from strings. | Neil | 1 | -0/+145 | |
Requires std::from_chars to be available. | |||||
2025-01-31 | Add default basic constructor and operator!= to SelectionPosition to ease use. | Neil | 1 | -7/+0 | |
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. | |||||
2025-01-30 | In Clear, clear fields in declaration order and ensure all fields handled. | Neil | 1 | -3/+5 | |
2025-01-22 | Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY. | Neil | 1 | -0/+7 | |
2023-12-30 | Since ranges is never empty, replace test with assertion. | Neil | 1 | -9/+6 | |
2023-12-30 | Avoid unnecessary use of push_back and emplace_back by preserving ranges[0]. | Neil | 1 | -12/+15 | |
This allows more methods to be noexcept. | |||||
2023-11-05 | Add SCI_SELECTIONFROMPOINT for modifying multiple selections. | Neil | 1 | -0/+7 | |
2021-08-28 | Follow rule-of-zero by removing unnecessary destructors. | Neil | 1 | -3/+0 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -3/+1 | |
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal. | |||||
2021-05-01 | Improve selection drawing code. Use InSelection enum instead of int. | Neil | 1 | -6/+10 | |
Add Selection::RangeType and EditModel::LineEndInSelection to hoist code out of EditView. Replace SimpleAlphaRectangle with Surface::FillRectangleAligned when alpha known to not be SC_ALPHA_NOALPHA. | |||||
2021-03-19 | Switch enum to enum class. | Neil | 1 | -4/+4 | |
2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 1 | -0/+1 | |
almost everywhere. | |||||
2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 1 | -2/+1 | |
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. | |||||
2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 1 | -0/+1 | |
2020-06-11 | Use noexcept where safe and maintainable. | Neil | 1 | -12/+12 | |
2019-11-26 | Bug [#2140]. Fix where anchor and caret differ only in amount of virtual space | Neil | 1 | -2/+2 | |
so one was considered start and was moved for an insertion at that position. This could flip the order of the positions or change the length of the selection. | |||||
2019-11-25 | Fix regression in 7773 where position wasn't moved on to account for virtual | Neil | 1 | -0/+1 | |
space consumption. | |||||
2019-11-24 | Bug [#2140]. Move rather than grow selection when insertion at start. | Neil | 1 | -4/+17 | |
2019-04-28 | Remove noexcept from Selection constructor as it allocates memory. | Neil | 1 | -29/+29 | |
Add noexcept to reader methods and simple writer methods on Selection classes. | |||||
2019-03-19 | Make constructors of simple classes noexcept. | Neil | 1 | -1/+1 | |
2018-05-31 | Allow std::unique_ptr to be used more widely. | Neil | 1 | -0/+1 | |
2018-05-14 | Include <string_view> to allow future use in Platform interface and Unicode. | Neil | 1 | -0/+1 | |
2018-05-06 | Ensuring ptrdiff_t is available by including <cstddef>. | Neil | 1 | -0/+1 | |
2018-04-14 | Make some changes recommended by clang-tidy. | Neil Hodgson | 1 | -1/+1 | |
2018-03-16 | Remove line-end white space. | Neil | 1 | -1/+1 | |
2018-03-01 | Mark variables as const where simple. | Neil | 1 | -2/+2 | |
2017-09-11 | The Scintilla namespace is always active for internal symbols and for the lexer | Neil | 1 | -2/+0 | |
interfaces ILexer4 and IDocument. | |||||
2017-04-09 | Further use of range-for. | Neil | 1 | -16/+16 | |
2017-04-06 | Added const where possible. | Neil | 1 | -3/+3 | |
2017-04-01 | Standardize on C++ headers, remove headers that aren't needed and add <cstddef> | Neil | 1 | -1/+1 | |
where it may be needed in the future. | |||||
2017-03-31 | Using Sci::Position and Sci::Line to mark variables that are document positions | Neil | 1 | -17/+17 | |
and lines. | |||||
2015-10-12 | Implement Swap in SelectionRange to avoid warnings. | Neil | 1 | -0/+4 | |
2015-07-27 | Add Position.h as a place-holder and to allow #include "Position.h" in source. | Neil | 1 | -0/+1 | |
2015-07-04 | Make std::exception visible to all core code to remove chance that a different | Neil | 1 | -0/+1 | |
tool set will not indirectly include <stdexcept>. | |||||
2015-06-24 | Make multiple selection work over most cursor movement and selection, new line, | Neil | 1 | -0/+8 | |
and word and line part deletion commands. | |||||
2015-06-16 | Clean up some selection operations. Commonly when changing selection modes, | Neil | 1 | -0/+4 | |
all of the selection needs to be redrawn so that is implmeneted in Editor::InvalidateWholeSelection. Any extra selections should be discarded with only the main remaining so that is Selection::DropAdditionalRanges. Some default parameters led to less clarity so they no longer have default values. Both Editor::MovePositionTo methods always returned 0 which was ignored so they are now void. Some variables were made const. | |||||
2014-07-07 | Fix bug where too many characters may be deleted when a rectangular selection is | Neil | 1 | -2/+9 | |
deleted. | |||||
2014-06-22 | Stop storing a pointer to the selection on LineLayout objects where it may have | Neil | 1 | -0/+8 | |
a lifetime that is too long. Instead provide it as an argument to BreakFinder where it is only needed during intialisation. | |||||
2014-05-01 | Consolidate insertion for paste into Editor class and perform line end | Neil | 1 | -0/+8 | |
conversion in Editor. | |||||
2013-12-17 | Added DropSelectionN API. | Neil | 1 | -0/+15 | |
2013-12-15 | Make single argument constructors explicit to avoid unexpected conversions. | Neil | 1 | -1/+1 | |
2013-07-01 | Bug: [#1492]. Need extra header for better standard compliance in Visual ↵ | Neil | 1 | -0/+1 | |
Studio 2013. | |||||
2013-04-16 | Move selections with virtual space more reasonably when real spaces inserted at | nyamatongwe | 1 | -4/+8 | |
their location by converting virtual space to real position changes up to the amount of virtual space. This allows multi-typing to work when two carets are located in virtual space on one line. | |||||
2011-01-12 | Remove virtual space if invalid after modification. Bug #3154986. | nyamatongwe | 1 | -0/+4 | |