aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-05-31Use namespace on macroRecord signal.Neil1-1/+1
2021-05-31Use stricter types in signals from ScintillaEditBase.Neil2-43/+43
2021-05-30Fix GetFontQuality. Simplify code that calls FlagSet.Neil4-18/+23
2021-05-30Update download size.Neil1-1/+1
2021-05-29Updates for 5.0.3.Neil9-16/+20
2021-05-28Better exception handling for noexcept methods. More accurate noexcept marking.Neil7-25/+55
2021-05-28Merge init into ScintillaWin constructor as not called from anywhere else.Neil2-30/+15
Ensure variables initialised. Remove dead code.
2021-05-28Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms.Neil1-6/+6
2021-05-28Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms.Neil7-18/+18
2021-05-28Moved SCI_SETFONTLOCALE to correct position.Neil1-10/+10
2021-05-28Fix FlagSet to return true if any flags set.Neil1-2/+2
2021-05-28Removed suppression that is no longer needed.Neil1-3/+0
2021-05-27Fix fold debug mode for margin.Neil1-1/+1
2021-05-25Check that constants are documented.Neil1-0/+4
2021-05-25Update dependencies.Neil3-183/+167
2021-05-25Update from Scintilla.iface.Neil1-0/+5
2021-05-25Use correct enumeration.Neil Hodgson1-1/+1
2021-05-25Place functions in correct internal namespace.Neil Hodgson1-1/+2
2021-05-25Fix old capitalisation of enum.Neil Hodgson1-1/+1
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil120-4062/+6042
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-22Encapsulate whether a margin shows folding.Neil3-4/+9
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil31-376/+376
will be published in externally visible header.
2021-05-20Prefer Sci::invalidPosition to INVALID_POSITION as Scintilla.h will eventuallyNeil5-32/+32
not be visible to most code.
2021-05-20Add LevelIsHeader and LevelIsWhitespace as fold levels will become enum classNeil5-37/+45
later so not work well with '&'.
2021-05-19Bug [#2253]. Remove SC_ELEMENT_CARET_SECONDARY as it caused unexpected change toNeil5-18/+2
caret appearance for empty selection as empty selections can not be primary.
2021-05-17Fix issues reported by Coverity and Visual C++ Analysis.Neil2-21/+31
Throw when (impossible) dynamic_cast failures occur as it isn't reasonable to recover. That removes 'noexcept' from some methods. Cast to avoid 'sub-expression overflow' warnings. Add default initializations and noexcept where safe. Move DropRenderTarget out of #if to avoid some preprocessor use.
2021-05-16Remove untenable noexcept as RGBAImageSet constructor can throw.Neil1-1/+1
2021-05-16Include modifiers in SCN_INDICATORRELEASE notification.Damiano Lombardi2-1/+6
2021-05-15Updated test since setting the alpha of caret line when it hasn't had colour setNeil1-0/+1
no longer sets it to have a colour.
2021-05-15Protect against out-of-bounds layout cache level and remove unnecessary code.Neil3-4/+5
Make documentation more accurate.
2021-05-15Bug [#2253]. For SCI_SETSELALPHA, also update the alpha of secondary and ↵Neil Hodgson1-2/+5
no-focus states to avoid hiding text under opaque selections. This leads to very faint selections but that is preferrable to not being able to see text.
2021-05-14Do not set alpha of SC_ELEMENT_CARET_LINE_BACK unless already has a colour.Neil1-1/+3
2021-05-14Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content areaNeil7-30/+92
markers can be drawn translucently under text.
2021-05-14Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE andNeil9-27/+83
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK.
2021-05-14Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visibleNeil7-28/+60
whitespace.
2021-05-14Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour ofYX Hao8-25/+52
visible whitespace including translucency.
2021-05-14Draw EOL annotation shapes under text.Neil1-1/+1
2021-05-14Add method to mix colours in a proportion.Neil1-0/+11
2021-05-14Add SCI_MARKERSETLAYER to define layer on which to draw content area markers.Neil11-29/+78
This replaces the use of SC_ALPHA_NOALPHA for markers.
2021-05-12Switch caret line background colour to SC_ELEMENT_CARET_LINE_BACK element andNeil10-79/+240
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged.
2021-05-12Allow property-style access to colour and colouralpha APIs.Neil1-3/+7
2021-05-11When setting or resetting elements, redraw if caused change.Neil3-13/+25
2021-05-11Add test for SelectionLayer.Neil1-0/+6
2021-05-11Implement SCI_GETELEMENTBASECOLOUR to return the default values for elementNeil6-7/+46
colours.
2021-05-11Implement UpdateBaseElements on Win32 to update colours to match current systemNeil1-0/+21
settings. Trigger UpdateBaseElements when system settings change.
2021-05-11Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value includingNeil4-1/+54
alpha. Set selection and caret elements as allowing translucency.
2021-05-10Implement UpdateBaseElements on Cocoa to update colours to match current systemNeil Hodgson3-0/+83
settings. Trigger UpdateBaseElements when system settings change. This makes Scintilla (by default) track the correct tint to show as the selection background.
2021-05-10Change the way that selections and carets are drawn to use the element APIs.Neil8-210/+464
2021-05-10Spelling fixes.Neil1-6/+6
2021-05-10Add elementBaseColours to hold default or system derived colours.Neil4-1/+42
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.