aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
AgeCommit message (Collapse)AuthorFilesLines
2021-05-09Feature [feature-requests:1405]. Enable hardware-enforced stack protection inNeil1-0/+1
Visual C++ project file.
2021-05-08Feature [feature-requests:1405]. Enable hardware-enforced stack protection.Neil1-2/+5
2021-05-03Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New OpaqueNeil1-2/+2
method returns a colour with maximum (0xff) alpha.
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil5-45/+45
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-26Extract related groups of fields out of ViewStyle into new structs.Neil1-2/+2
Size of ViewStyle makes it more difficult to understand and this helps a bit.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil2-24/+24
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-21Updates for 5.0.2.rel-5-0-2Neil1-2/+2
2021-04-20Avoid some warnings and make similar code more consistent.Neil1-15/+8
2021-04-20If text format creation fails, could be because of bad locale so try "en-us".Neil1-0/+7
2021-04-20Bug [#2246]. Fix encoding used for DirectWrite text display.Neil1-5/+6
2021-04-15Bug [#2228]. Ensure sysCaretBitmap does not leak.Mat Berchtold1-1/+6
2021-04-09Bug [#2243]. Fix crash when technology=2 (SC_TECHNOLOGY_DIRECTWRITERETAIN).rel-5-0-1Neil1-1/+1
2021-04-07Feature [feature-requests:#1364]. Correct argument to TextWide forNeil1-2/+2
autocompletion lists.
2021-04-05Mark more destructors as noexcept. Delete unwanted LisboxX standard methods.Neil1-13/+16
2021-04-05Change CaseConversion to an enum class.Neil1-3/+3
2021-04-03Updates for 5.0.1.Neil1-2/+2
2021-03-31Feature [feature-requests:1393]. Optimization in SurfaceD2D::AverageCharWidth.Zufu Liu1-1/+1
2021-03-30Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols.Neil2-2/+4
2021-03-29Modify ListBox::GetValue to return a std::string to avoid fixed size buffersNeil1-4/+3
and the possibility of truncation.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil2-10/+29
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-26Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell andNeil1-1/+10
pixel oriented platforms.
2021-03-26Bug [#2224]. Switch XYPOSITION to double so it has more precision to fixNeil1-71/+91
problems with very long documents. Fixes uneven line heights on Cocoa after around 1.1 million lines.
2021-03-26Simplify dwordMultiplied as only ever called for ColourAlpha.Neil1-9/+9
2021-03-22Minimize differences between SurfaceD2D::MeasureWidthsUTF8 and MeasureWidths.Neil1-6/+6
2021-03-25Remove old Surface methods that have been replaced.Neil1-381/+1
2021-03-22Implement more support values.Neil1-0/+2
2021-03-22Replace multiple mode setting calls on Surface with SetMode as this isNeil1-3/+1
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 thereNeil2-2/+0
is space.
2021-03-22Replace multiple calls when drawing boxes with Surface::RectangleFrame.Neil2-2/+0
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-20Replace FillRectangle with FillRectangleAligned as FillRectangle will stopNeil1-4/+4
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed.
2021-03-20Update CallTip with new Surface APIs.Neil2-2/+0
2021-03-20Use new Surface APIs for marker drawing. Clipping allows rounded fold markers toNeil2-2/+0
be highlighted better.
2021-03-20Use new Surface APIs that can adapt to different stroke widths and use clippingNeil2-2/+0
to allow more accurate less complex drawing code.
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil1-3/+3
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-78/+51
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil1-12/+55
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil1-37/+42
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 beforeNeil1-0/+10
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil1-0/+79
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil1-0/+103
2021-03-20Implement RectangleFrame.Neil1-0/+18
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil1-6/+150
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil1-0/+87
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil1-19/+39
2021-03-19UTF-8 text drawing and measurement.Neil1-34/+259
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil1-13/+12
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-19Implement PopClip to allow local clipping.Neil1-0/+15
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil1-0/+12
multiple display pixels per logical pixel. Likely will only return >1 for Apple displays. Can be used for finer placement of elements.
2021-03-19Add Platform::Supports for SupportsFeature API.Neil3-0/+23
2021-03-19Add Geometry.cxx for geometric and colour operations too complex for headers.Neil4-0/+8
Add FillStroke to hold parameters for drawing shapes.