Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-28 | Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms. | Neil | 1 | -4/+4 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -169/+172 | |
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-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 1 | -47/+47 | |
will be published in externally visible header. | |||||
2021-05-20 | Prefer Sci::invalidPosition to INVALID_POSITION as Scintilla.h will eventually | Neil | 1 | -5/+5 | |
not be visible to most code. | |||||
2021-05-20 | Add LevelIsHeader and LevelIsWhitespace as fold levels will become enum class | Neil | 1 | -2/+2 | |
later so not work well with '&'. | |||||
2021-05-19 | Bug [#2253]. Remove SC_ELEMENT_CARET_SECONDARY as it caused unexpected change to | Neil | 1 | -3/+1 | |
caret appearance for empty selection as empty selections can not be primary. | |||||
2021-05-14 | Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content area | Neil | 1 | -15/+23 | |
markers can be drawn translucently under text. | |||||
2021-05-14 | Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and | Neil | 1 | -7/+7 | |
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK. | |||||
2021-05-14 | Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visible | Neil | 1 | -6/+7 | |
whitespace. | |||||
2021-05-14 | Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour of | YX Hao | 1 | -13/+10 | |
visible whitespace including translucency. | |||||
2021-05-14 | Draw EOL annotation shapes under text. | Neil | 1 | -1/+1 | |
2021-05-14 | Add SCI_MARKERSETLAYER to define layer on which to draw content area markers. | Neil | 1 | -11/+5 | |
This replaces the use of SC_ALPHA_NOALPHA for markers. | |||||
2021-05-12 | Switch caret line background colour to SC_ELEMENT_CARET_LINE_BACK element and | Neil | 1 | -27/+24 | |
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged. | |||||
2021-05-10 | Change the way that selections and carets are drawn to use the element APIs. | Neil | 1 | -122/+116 | |
2021-05-07 | Use shared_ptr for LineLayoutCache as it simpifies lifetime management. | Neil | 1 | -25/+24 | |
AutoLineLayout and other code no longer needed so removed. | |||||
2021-05-07 | Add lineNumber_ argument to LineLayout constructor so always knows which line it | Neil | 1 | -10/+11 | |
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-05 | Hoist selection text colour into SelectionForeground function and whether | Neil | 1 | -25/+34 | |
there is a selection text colour into ViewStyle::SelectionTextDrawn. Pass EditModel to SelectionBackground so focus can be used in a future change. Simplify code, use const and better names. Prefer explicit iterator type to auto in cases where it makes little difference. | |||||
2021-05-01 | Improve selection drawing code. Use InSelection enum instead of int. | Neil | 1 | -54/+65 | |
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-04-27 | Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterType | Neil | 1 | -2/+2 | |
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both. | |||||
2021-04-26 | Avoid some warnings. | Neil | 1 | -4/+5 | |
2021-04-26 | Change std::optional value() to * as value() is not implemented in older macOS | Neil Hodgson | 1 | -18/+18 | |
releases. Using value() produces error: error: call to unavailable member function 'value': introduced in macOS 10.14 | |||||
2021-04-26 | Extract related groups of fields out of ViewStyle into new structs. | Neil | 1 | -58/+58 | |
Size of ViewStyle makes it more difficult to understand and this helps a bit. | |||||
2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 1 | -83/+84 | |
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
2021-04-05 | Extract unnamed caching enum as LineLayoutCache::Cache and change to enum class. | Neil | 1 | -1/+1 | |
2021-04-05 | Change IndentView, WhiteSpaceVisibility, and TabDrawMode to enum class. | Neil | 1 | -11/+11 | |
2021-04-01 | Changed parameters for DrawTabArrow and DrawTabArrowFn to allow additional | Neil | 1 | -8/+7 | |
traits in the future. | |||||
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-28 | Add shapes with curved and rounded ends to EOL annotations as EOLANNOTATION_*. | Neil | 1 | -16/+73 | |
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-22 | Replace multiple calls when drawing boxes with Surface::RectangleFrame. | Neil | 1 | -32/+9 | |
Replace annotation boxing logic with calls to FillRectangle and Side. Switch to new AlphaRectangle signature. These will allow changing stroke width in future. | |||||
2021-03-21 | Update DrawTabArrow with new Surface calls so it can draw a thicker translucent | Neil | 1 | -16/+25 | |
arrow when an API is defined. | |||||
2021-03-20 | Replace FillRectangle with FillRectangleAligned as FillRectangle will stop | Neil | 1 | -50/+49 | |
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed. | |||||
2021-03-20 | Use Surface::AllocatePixMap instead of changing an existing surface with | Neil | 1 | -26/+8 | |
InitPixMap. Changed DropGraphics from releasing surfaces to deleting them. This simplifies code and the added cost of allocating a new Surface is small. | |||||
2021-03-19 | Add an explicit FlushDrawing method to Surface that should be called after | Neil | 1 | -0/+3 | |
completing a bitmap. Currently only has a real implementation on Direct2D. Avoiding implicit flushes inside Copy and FillRectangle produced a 23% speed improvement on files with about 1 indentation guide per line as the drawing pipeline was being flushed for each indentation guide. | |||||
2021-03-19 | Implement PopClip to allow local clipping. | Neil | 1 | -1/+6 | |
2021-03-19 | Switch enum to enum class. | Neil | 1 | -50/+51 | |
2021-03-18 | Make Surface::Release and callers (where possible) noexcept. | Neil | 1 | -1/+1 | |
2021-03-18 | Use unique_ptr for Surface::Allocate to show transfer of ownership. | 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 | -15/+15 | |
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 | |
2021-02-02 | Bug [#2231]. Inconsistent behaviour in navigation on a line containing Japanese | cshnik | 1 | -1/+1 | |
symbols #247 | |||||
2020-08-27 | Bug [#2197]. Avoid rewrap when checkTextAndStyle finds unchanged from cache. | Zufu Liu | 1 | -5/+4 | |
2020-08-26 | Bug [#2199]. Fixed bug where a hovered INDIC_TEXTFORE indicator was not applying | uhf7 | 1 | -3/+6 | |
the hover colour to the whole range. | |||||
2020-08-21 | Reduce code and variable lifetime. | Zufu Liu | 1 | -6/+3 | |
2020-08-21 | Bug [#2197]. Fixed bug where layout caching was ineffective. | Neil | 1 | -1/+2 | |
2020-07-16 | Make WrapMode an enum class for more type safety. | Neil | 1 | -4/+4 | |
2020-07-16 | Rename validLevel to ValidLevel and make an enum class. | Neil | 1 | -8/+8 | |