aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-03-31Feature [feature-requests:1393]. Optimization in SurfaceD2D::AverageCharWidth.Zufu Liu1-1/+1
2021-03-29Add illustration of annotation shapes. Remove erroneous explanation ofNeil2-5/+6
SCI_EOLANNOTATIONSETSTYLES as it was never implemented.
2021-03-29Clarify encoding of EOL annotation text.Neil2-1/+5
2021-03-30Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols.Neil6-11/+19
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 buffersNeil6-39/+31
and the possibility of truncation.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil20-12/+129
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-28Use PenColourAlpha instead of PenColour ensuring translucent text works.Neil1-36/+26
Use enum class for encoding type. Avoid warnings.
2021-03-28Add shapes with curved and rounded ends to EOL annotations as EOLANNOTATION_*.Neil5-25/+175
2021-03-27Add APIs for setting translucency and stroke width of markers.Neil8-30/+107
2021-03-27Add API for setting stroke width of indicators.Neil7-2/+47
2021-03-27Change return type of SupportsFeature to bool.Neil1-1/+1
2021-03-27Add return type for SCI_GETMULTIEDGECOLUMN in documentation.Neil1-2/+2
2021-03-26Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell andNeil7-2/+26
pixel oriented platforms.
2021-03-26Bug [#2224]. Switch XYPOSITION to double so it has more precision to fixNeil6-78/+107
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-26Update suppressions for cppcheck 2.4.1.Neil1-2/+17
2021-03-26Avoid warning for overflow.Neil1-1/+1
2021-03-26Simplify dwordMultiplied as only ever called for ColourAlpha.Neil1-9/+9
2021-03-23Add colouralpha type to iface.Neil3-2/+7
2021-03-22Remove IntegerRectangle.h as not widely usefulNeil5-36/+14
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-22Minimize differences between SurfaceD2D::MeasureWidthsUTF8 and MeasureWidths.Neil1-6/+6
2021-03-25Remove old Surface methods that have been replaced.Neil7-1094/+2
2021-03-25Add conversion from ColourDesired to Fill as that avoids explicit constructors.Neil1-0/+3
2021-03-22Replace InitPixMap on Cocoa for drag & drop and XPM images in lists.Neil3-17/+20
2021-03-22Choose antialiased drawing on Qt as it matches other platforms more closely.Neil1-0/+2
2021-03-22Implement more support values.Neil8-1/+54
2021-03-22Replace multiple mode setting calls on Surface with SetMode as this isNeil5-19/+8
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 thereNeil4-31/+32
is space.
2021-03-22Replace multiple calls when drawing boxes with Surface::RectangleFrame.Neil4-35/+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 stopNeil4-60/+59
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed.
2021-03-20Update CallTip with new Surface APIs.Neil4-29/+24
2021-03-20Use new Surface APIs for marker drawing. Clipping allows rounded fold markers toNeil5-276/+286
be highlighted better.
2021-03-20Use new Surface APIs that can adapt to different stroke widths and use clippingNeil4-96/+102
to allow more accurate less complex drawing code.
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil10-89/+48
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.Neil7-140/+127
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil7-34/+173
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil7-68/+125
bidirectional options in an extensible way instead of adding a call for each element.
2021-03-25Add FillRectangleAligned to align rectangle to pixel grid on x-axis beforeNeil7-0/+29
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil7-0/+161
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil7-2/+288
2021-03-20Implement RectangleFrame.Neil7-0/+57
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil7-6/+417
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil7-0/+209
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil7-23/+92
2021-03-25Shorten names as containers provide context.Neil1-7/+7
2021-03-19UTF-8 text drawing and measurement.Neil7-34/+554
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil10-13/+32
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.