Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -53/+56 | |
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-20 | Prefer Sci::invalidPosition to INVALID_POSITION as Scintilla.h will eventually | Neil | 1 | -1/+1 | |
not be visible to most code. | |||||
2021-05-05 | Avoid some warnings in ResetLineEnds. | Neil | 1 | -3/+3 | |
2021-04-05 | Change actionType to an enum class. | Neil | 1 | -27/+27 | |
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 | -1/+1 | |
2020-05-19 | Encapsulate common check for PS, LS, and NEL as UTF8IsMultibyteLineEnd. | Neil | 1 | -6/+3 | |
Avoids construction of temporary array. | |||||
2020-05-04 | Feature [feature-requests:1347]. Optimize large insertions by using a | Zufu Liu | 1 | -29/+122 | |
table-driven line end discovery algorithm and performing line insertions in batches. | |||||
2020-05-02 | Optimize LineVector by maintaining an activeIndices field to avoid calling | Neil | 1 | -30/+34 | |
LineStartIndex::Active. | |||||
2020-03-24 | Use noexcept where possible. | Neil | 1 | -19/+23 | |
2019-11-01 | Avoid calling vector::shrink_to_fit in destructors as it is not noexcept. | Neil | 1 | -1/+0 | |
The destructors of the members will ensure that everything is correct. Potential unhandled exceptions reported by Coverity. | |||||
2019-09-28 | Remove virtual call in constructor to stop warnings. | Neil | 1 | -1/+0 | |
Init was not needed in LineVector as each field is constructed to a good state. This code worked correctly before this change. | |||||
2019-09-26 | Remove extraneous check. | Neil | 1 | -3/+1 | |
2019-06-04 | Fix extra white space. | Neil | 1 | -2/+2 | |
2019-06-04 | Bug [#2104]. Use '%.0f' and casts to double to fix printf format string bugs. | Neil | 1 | -4/+8 | |
This will extend valid maximum position from 31-bits to 53-bits which is ample. | |||||
2019-05-17 | Fixed performance bug where line end positions were reset withot need when | Neil | 1 | -1/+0 | |
switching from or to Unicode. Only noticeable on huge files. | |||||
2019-04-28 | Declare reading methods as noexcept where reasonable. | Neil | 1 | -14/+14 | |
2018-10-11 | Replace NULL and 0 with nullptr in clear cases of pure C++ code. | Neil | 1 | -3/+3 | |
2018-10-09 | Improve performance of text insertion when Unicode line indexing off. | Neil | 1 | -7/+15 | |
2018-07-10 | Need <string> for std::string. | Neil Hodgson | 1 | -0/+1 | |
2018-07-10 | Optional indexing of line starts in UTF-8 documents by UTF-32 code points and | Neil | 1 | -6/+328 | |
UTF-16 code units added. | |||||
2018-05-14 | Include <string_view> to allow future use in Platform interface and Unicode. | Neil | 1 | -0/+1 | |
2018-04-28 | Delete standard functions on classes where there could be attempts to copy. | Neil | 1 | -0/+5 | |
2018-04-24 | Feature [feature-requests:#1215]. Make Action move constructor noexcept and use | Neil | 1 | -8/+0 | |
default implementation. | |||||
2018-04-22 | Remove casts between char and unsigned char where possible. | Neil | 1 | -1/+1 | |
2018-04-21 | Tighten definition of regular expression iterators so they are noexcept and | Neil | 1 | -13/+13 | |
define all the standard member functions. This cascades to all methods called by the iterators, affecting Document, CellBuffer, Partitioning, SplitVector and UTF-8 and DBCS functions. Other trivial functions declared noexcept. | |||||
2018-04-19 | Casting changed in many places, due to change to 64-bit variables for 64-bit | Neil | 1 | -2/+6 | |
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened. | |||||
2018-04-19 | Casts that avoid warnings if Position and Line are different sizes. | Neil | 1 | -2/+2 | |
2018-04-19 | Remove potential allocation in destructor which could have thrown. | Neil | 1 | -1/+0 | |
2018-04-19 | Remove unnecessary extra allocation. | Neil | 1 | -2/+0 | |
2018-04-17 | Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes. | Neil | 1 | -2/+15 | |
This option is provisional and experimental. | |||||
2018-04-17 | Templatize LineVector so it can later be switched between 32-bits and 64-bits. | Neil | 1 | -8/+9 | |
2018-04-14 | Make some changes recommended by clang-tidy. | Neil Hodgson | 1 | -1/+1 | |
2018-03-03 | Split LineVector into interface and implementation classes to allow future | Neil | 1 | -58/+84 | |
choice between 32-bit and 64-bit position implementations. | |||||
2018-03-01 | Mark variables as const where simple. | Neil | 1 | -4/+4 | |
2018-03-01 | Use make_unique in preference to new. | Neil | 1 | -1/+1 | |
From Effective Modern C++ Item 21. | |||||
2018-02-02 | Implement SC_DOCUMENTOPTION_STYLES_NONE. | Neil | 1 | -5/+22 | |
2018-01-26 | Extend SplitVector to allow more than 2 billion elements on 64-bit systems. | 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-29 | Use std::unique_ptr, std::vector, and move construction to simplify UndoHistory | Neil | 1 | -46/+22 | |
and make it easier to modify. Remove out of date warning suppression. | |||||
2017-04-22 | Include <memory> for std::unique_ptr. | Neil | 1 | -0/+1 | |
2017-04-07 | Check index before checking value at index. | Neil | 1 | -2/+2 | |
2017-04-06 | Added const where possible. | Neil | 1 | -16/+16 | |
2017-04-01 | Standardize on C++ headers, remove headers that aren't needed and add <cstddef> | Neil | 1 | -4/+5 | |
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 | -37/+37 | |
and lines. | |||||
2015-12-31 | Treat Unicode line ends like common line ends when maintaining fold state. | Neil | 1 | -0/+19 | |
2015-07-27 | Add Position.h as a place-holder and to allow #include "Position.h" in source. | Neil | 1 | -0/+1 | |
2015-02-16 | Fix bugs caused by deleting text with undo collection off when entering IME ↵ | Neil Hodgson | 1 | -0/+5 | |
composition mode. This deleted text isn't in the undo history and it isn't in the document so can never be recovered so makes it impossible to correctly perform undo. Add logging for unexpected situations and throw an exception when undo can't be performed. Ensure empty marked text range is always in canonical (NSNotFound,0) form. |