aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-05-03Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New OpaqueNeil1-1/+5
method returns a colour with maximum (0xff) alpha.
2021-05-01Improve selection drawing code. Use InSelection enum instead of int.Neil5-62/+87
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-28Use copy instead of loop and rely on make_unique zeroing result.Neil1-5/+2
2021-04-28More reasonable variable name.Neil1-2/+2
2021-04-28Feature [feature-requests:1373]. Use steady_clock for measuring intervals.Zufu Liu1-4/+4
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil13-121/+28
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-27Feature [feature-requests:1379]. Update to Unicode 13.Neil2-44/+102
2021-04-26Avoid some warnings.Neil7-28/+31
2021-04-26Change std::optional value() to * as value() is not implemented in older macOSNeil Hodgson2-20/+20
releases. Using value() produces error: error: call to unavailable member function 'value': introduced in macOS 10.14
2021-04-26Extract related groups of fields out of ViewStyle into new structs.Neil5-189/+215
Size of ViewStyle makes it more difficult to understand and this helps a bit.
2021-04-26Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, notNeil5-7/+6
appearance.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil16-272/+251
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-20Add header to make recent change compile with Xcode.Neil Hodgson1-0/+1
2021-04-20Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.Neil6-7/+34
2021-04-20Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil3-35/+28
Change ColourDesired to ColourAlpha in XPM and RGBAImage.
2021-04-15Bug [#2234]. Remove method that is no longer called.Neil2-5/+0
2021-04-05Mark more destructors as noexcept. Delete unwanted LisboxX standard methods.Neil1-6/+6
2021-04-05Extract unnamed caching enum as LineLayoutCache::Cache and change to enum class.Neil4-21/+23
2021-04-05Extract CharClassify::cc as CharacterClass and change to enum class.Neil5-49/+50
2021-04-05Change IndentView, WhiteSpaceVisibility, and TabDrawMode to enum class.Neil4-26/+26
2021-04-05Change actionType to an enum class.Neil3-46/+46
2021-04-05Change CaseConversion to an enum class.Neil3-28/+28
2021-04-03Feature [feature-requests:#1392]. Minor optimizations of RESearch.Zufu Liu1-11/+12
2021-04-01Fix drawing of calltip on curses.Mitchell Foral1-1/+3
2021-04-01Changed parameters for DrawTabArrow and DrawTabArrowFn to allow additionalNeil2-9/+9
traits in the future.
2021-03-30Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols.Neil1-4/+6
2021-03-29Align polygons so they are crisp.Neil2-10/+21
2021-03-29Modify ListBox::GetValue to return a std::string to avoid fixed size buffersNeil2-18/+14
and the possibility of truncation.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil9-0/+56
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-28Add shapes with curved and rounded ends to EOL annotations as EOLANNOTATION_*.Neil1-16/+73
2021-03-27Add APIs for setting translucency and stroke width of markers.Neil3-20/+45
2021-03-27Add API for setting stroke width of indicators.Neil3-1/+14
2021-03-26Bug [#2224]. Switch XYPOSITION to double so it has more precision to fixNeil3-6/+9
problems with very long documents. Fixes uneven line heights on Cocoa after around 1.1 million lines.
2021-03-26Minor changes: const, constexpr, and noexcept.Neil3-6/+6
2021-03-26Avoid warning for overflow.Neil1-1/+1
2021-03-22Remove IntegerRectangle.h as not widely usefulNeil1-29/+0
Add IntegerRectangle struct for local use in PlatGTK.cxx.
2021-03-22Use XYPOSITION for xStart parameter as it is only passed as XYPOSITION.Neil3-5/+5
2021-03-25Remove old Surface methods that have been replaced.Neil1-15/+0
2021-03-25Add conversion from ColourDesired to Fill as that avoids explicit constructors.Neil1-0/+3
2021-03-22Replace multiple mode setting calls on Surface with SetMode as this isNeil1-6/+2
extensible. For CallTip, GTK and Qt hardcode BidiR2L to false as they don't support bidirectional, its the same as current, and the BidiR2L state on EditModel isn't easily accessible.
2021-03-22Use PolyLine to simplify wrap marker arrows and allow thicker strokes when thereNeil1-28/+32
is space.
2021-03-22Replace multiple calls when drawing boxes with Surface::RectangleFrame.Neil1-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-21Update DrawTabArrow with new Surface calls so it can draw a thicker translucentNeil1-16/+25
arrow when an API is defined.
2021-03-20Replace FillRectangle with FillRectangleAligned as FillRectangle will stopNeil1-50/+49
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed.
2021-03-20Update CallTip with new Surface APIs.Neil1-26/+24
2021-03-20Use new Surface APIs for marker drawing. Clipping allows rounded fold markers toNeil2-273/+286
be highlighted better.
2021-03-20Use new Surface APIs that can adapt to different stroke widths and use clippingNeil1-93/+102
to allow more accurate less complex drawing code.
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil6-83/+34
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-25Translucent text.Neil1-6/+6
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil1-0/+1