Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-03-01 | Removed duplicate element. | Neil | 1 | -1/+0 | |
2021-10-30 | Ensure all ViewStyle fields are initialized. | Neil | 1 | -14/+0 | |
2021-10-22 | Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal. | Mitchell Foral | 1 | -5/+13 | |
2021-09-28 | Fix bad layout of monospace text on Cocoa by adding separate field | Neil | 1 | -0/+2 | |
monospaceCharacterWidth for width of monospaced characters. | |||||
2021-09-21 | Remove line end space. | Neil | 1 | -1/+1 | |
2021-09-17 | Remove superfluous destruction. | Zufu Liu | 1 | -5/+1 | |
2021-09-17 | Add noexcept and constexpr where reasonable. | Zufu Liu | 1 | -1/+1 | |
2021-09-16 | Avoid warning from Xcode. | Neil Hodgson | 1 | -1/+1 | |
2021-09-15 | Ensure variable initialised. | Neil | 1 | -1/+1 | |
2021-09-15 | Avoid some type warnings | Neil | 1 | -7/+5 | |
2021-09-15 | More accurate with 'noexcept'. | Neil | 1 | -1/+1 | |
2021-09-15 | Use delegating constructor instead of separate Init method. | Neil | 1 | -113/+111 | |
2021-09-14 | Use range-for to save font names. | Zufu Liu | 1 | -2/+2 | |
2021-09-14 | Remove copying from AllocateExtendedStyles as performed by EnsureStyle. | Zufu Liu | 1 | -3/+0 | |
2021-09-14 | Avoid some allocations when checking whether font monospaced. | Zufu Liu | 1 | -6/+7 | |
2021-09-12 | Make negative settings for extra ascent and descent safer by ensuring calculated | Neil | 1 | -7/+13 | |
ascent and thus line height is at least 1 pixel. Allow 1 point font minimum instead of 2 as this may help with document maps. Document negative extra ascent and descent. Use XYPOSITION for ascent and descent for more coherent types and fewer casts but floor the values when retrieving from Surface so behaviour is unchanged. | |||||
2021-08-31 | Simplify Style types FontSpecification, FontMeasurements, Style, FontRealised. | Neil | 1 | -29/+21 | |
Rely on shared_ptr and use standard copying where possible. Check extraFontFlag and checkMonospaced for FontSpecification comparisons. | |||||
2021-08-24 | Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enables | Zufu Liu | 1 | -0/+1 | |
highlighting just the subline with the caret when wrapping is on. | |||||
2021-07-31 | Implement StyleSetCheckMonospaced. | Neil | 1 | -0/+19 | |
2021-06-09 | Reduce casts by defining methods for common conversions. | Neil | 1 | -1/+1 | |
2021-05-30 | Fix GetFontQuality. Simplify code that calls FlagSet. | Neil | 1 | -2/+2 | |
2021-05-28 | Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms. | Neil | 1 | -5/+5 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -141/+128 | |
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 | Encapsulate whether a margin shows folding. | Neil | 1 | -0/+4 | |
2021-05-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 1 | -26/+26 | |
will be published in externally visible header. | |||||
2021-05-19 | Bug [#2253]. Remove SC_ELEMENT_CARET_SECONDARY as it caused unexpected change to | Neil | 1 | -2/+0 | |
caret appearance for empty selection as empty selections can not be primary. | |||||
2021-05-14 | Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and | Neil | 1 | -3/+2 | |
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK. | |||||
2021-05-14 | Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visible | Neil | 1 | -5/+3 | |
whitespace. | |||||
2021-05-14 | Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour of | YX Hao | 1 | -5/+15 | |
visible whitespace including translucency. | |||||
2021-05-14 | Add SCI_MARKERSETLAYER to define layer on which to draw content area markers. | Neil | 1 | -3/+7 | |
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 | -9/+10 | |
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged. | |||||
2021-05-11 | When setting or resetting elements, redraw if caused change. | Neil | 1 | -10/+17 | |
2021-05-11 | Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value including | Neil | 1 | -0/+16 | |
alpha. Set selection and caret elements as allowing translucency. | |||||
2021-05-10 | Change the way that selections and carets are drawn to use the element APIs. | Neil | 1 | -12/+30 | |
2021-05-10 | Add elementBaseColours to hold default or system derived colours. | Neil | 1 | -0/+32 | |
Editor::UpdateBaseElements can be overridden by platform layers to set base colours although they should also do this when they detect changes in system settings. | |||||
2021-05-05 | Hoist selection text colour into SelectionForeground function and whether | Neil | 1 | -4/+8 | |
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-04-26 | Avoid some warnings. | Neil | 1 | -11/+14 | |
2021-04-26 | Extract related groups of fields out of ViewStyle into new structs. | Neil | 1 | -70/+56 | |
Size of ViewStyle makes it more difficult to understand and this helps a bit. | |||||
2021-04-26 | Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, not | Neil | 1 | -2/+0 | |
appearance. | |||||
2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 1 | -37/+34 | |
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
2021-04-20 | Add header to make recent change compile with Xcode. | Neil Hodgson | 1 | -0/+1 | |
2021-04-20 | Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite. | Neil | 1 | -3/+12 | |
2021-04-05 | Change IndentView, WhiteSpaceVisibility, and TabDrawMode to enum class. | Neil | 1 | -7/+7 | |
2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 1 | -0/+15 | |
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
2021-03-19 | Switch enum to enum class. | Neil | 1 | -2/+2 | |
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 | -8/+7 | |
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-08-25 | Move SCI_MULTIEDGEADDLINE impleemntation into ViewStyle as it is too complex for | Neil | 1 | -0/+11 | |
switch case in Editor. |