Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-28 | Feature [feature-requests:#1416] Change evaluation order so that monospaceASCII | Zufu Liu | 1 | -10/+14 | |
checked before cache which may improve performance for monospaceASCII. Only reset clear state when storing into cache. | |||||
2021-09-28 | Fix bad layout of monospace text on Cocoa by adding separate field | Neil | 1 | -1/+1 | |
monospaceCharacterWidth for width of monospaced characters. | |||||
2021-09-28 | Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow styles | Neil | 1 | -3/+4 | |
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that. | |||||
2021-08-27 | Feature [feature-requests:#841] Remove hotspot from LineLayout and rely on | Zufu Liu | 1 | -1/+0 | |
reference to model. | |||||
2021-07-31 | Implement StyleSetCheckMonospaced. | Neil | 1 | -0/+16 | |
2021-07-29 | Make iterators const where possible. | Neil | 1 | -6/+6 | |
2021-07-29 | Feature [feature-requests:#1413] Decrease cost of representation for \r\n. | Zufu Liu | 1 | -16/+42 | |
2021-06-21 | Avoid extra lookup for mapReprs. | Zufu Liu | 1 | -3/+3 | |
2021-06-10 | Use string_view for PositionCache methods. | Neil | 1 | -36/+27 | |
Replace custom hash code with standard library hash. Drop standard methods that are not needed. Restrict representations to 200 bytes. Improve documentation. | |||||
2021-06-10 | Don't divide input text into segments in PositionCache::MeasureWidths as text | Neil | 1 | -17/+2 | |
should already have been segmented into reasonable lengths. The Document argument is no longer needed. | |||||
2021-06-03 | Add APIs for setting appearance (traditional blob or plain text) and colour of | Neil | 1 | -33/+61 | |
representations and support setting a representation for the "\r\n" line end sequence. | |||||
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -17/+19 | |
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-15 | Protect against out-of-bounds layout cache level and remove unnecessary code. | Neil | 1 | -2/+1 | |
Make documentation more accurate. | |||||
2021-05-07 | Use shared_ptr for LineLayoutCache as it simpifies lifetime management. | Neil | 1 | -24/+6 | |
AutoLineLayout and other code no longer needed so removed. | |||||
2021-05-07 | Overallocate line layout cache so that don't reallocate too often. | Neil | 1 | -2/+13 | |
2021-05-07 | When resizing for Cache::page, move cached entries to correct positions. | Neil | 1 | -20/+57 | |
Hoist position calculation into EntryForLine method. | |||||
2021-05-07 | Add lineNumber_ argument to LineLayout constructor so always knows which line it | Neil | 1 | -12/+16 | |
is for. Add accessor for line number and method to say whether compatible with a line number and number of characters. Since LineLayout can report its line number, remove line argument from EditView::LayoutLine which simplifies calling it. | |||||
2021-05-07 | Ensure a line is only ever in one line layout cache entry. Preserve calculated | Neil | 1 | -29/+49 | |
data where possible when overwriting a cache entry. | |||||
2021-04-28 | Use copy instead of loop and rely on make_unique zeroing result. | Neil | 1 | -5/+2 | |
2021-04-27 | Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterType | Neil | 1 | -1/+1 | |
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both. | |||||
2021-04-05 | Extract unnamed caching enum as LineLayoutCache::Cache and change to enum class. | Neil | 1 | -9/+9 | |
2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 1 | -0/+1 | |
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
2021-03-26 | Minor changes: const, constexpr, and noexcept. | Neil | 1 | -2/+2 | |
2021-03-22 | Use XYPOSITION for xStart parameter as it is only passed as XYPOSITION. | Neil | 1 | -2/+2 | |
2021-03-19 | Switch enum to enum class. | Neil | 1 | -3/+3 | |
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 | -0/+1 | |
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. | |||||
2021-03-17 | Change Font to an interface and stop using FontID. Fonts are shared and | Neil | 1 | -2/+2 | |
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs. | |||||
2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 1 | -0/+1 | |
2020-07-16 | Rename validLevel to ValidLevel and make an enum class. | Neil | 1 | -5/+5 | |
2020-07-16 | Make EncodingFamily an enum class for more type safety. | Neil | 1 | -2/+2 | |
2020-06-11 | Use noexcept where safe and maintainable. | Neil | 1 | -14/+14 | |
2020-05-01 | Make lambdas noexcept. | Zufu Liu | 1 | -1/+1 | |
2019-11-01 | Remove noexcept from allocating constructors as may throw on memory exhaustion. | Neil | 1 | -1/+1 | |
2019-07-02 | Bug [#2115]. Backed out changeset: d70ccc4f172a as not undefined behaviour. | Neil | 1 | -3/+2 | |
2019-06-29 | Bug [#2115]. Fix undefined behaviour of shifting negative values. | Zufu Liu | 1 | -2/+3 | |
2019-04-25 | Bug [#1223]. Removed duplicate code. | Neil | 1 | -2/+1 | |
2019-03-29 | Include "CharacterCategory.h" in all files that include "Document.h" as it will | Neil | 1 | -0/+1 | |
be needed for adding a CharacterCategory feature. | |||||
2019-03-25 | Use generic versions of ceil, floor, round, lround, trunc from <cmath>. | Neil | 1 | -1/+1 | |
2019-03-03 | Use noexcept where reasonable. | Neil | 1 | -12/+12 | |
2019-01-06 | Bug [#2068]. Fix some clang-tidy warnings. | Zufu Liu | 1 | -1/+1 | |
2018-09-26 | Bug [#2046]. Optimize setting up representation. | Zufu Liu | 1 | -2/+3 | |
2018-05-30 | Add header needed for floor. | Neil Hodgson | 1 | -0/+1 | |
2018-05-30 | Add TabPositionAfter method to IScreenLine as this calculation is needed on each | Neil | 1 | -0/+4 | |
platform and it allows extension to custom tab stops. | |||||
2018-05-24 | Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods. | Neil | 1 | -7/+6 | |
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. | |||||
2018-05-23 | Implement bidirectional mode bidiL2R for DirectDraw on Win32. | Neil | 1 | -0/+103 | |
2018-05-21 | Draw invalid bytes in DBCS when detected as blobs in a similar way to UTF-8. | Neil Hodgson | 1 | -1/+2 | |
2018-05-14 | Modernize Platform.h (4) - update Surface to use string_view for text arguments. | Neil | 1 | -2/+2 | |
2018-05-14 | Include <string_view> to allow future use in Platform interface and Unicode. | Neil | 1 | -0/+1 | |
2018-05-13 | When line end characters are displayed, indicators are drawn under/over them. | Neil | 1 | -5/+5 | |