aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2021-06-18Updated for stable version 5.1.0.Neil2-2/+2
2021-06-17Add SciFnDirectStatus, a direct access function which also returns status so canNeil2-1/+29
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
2021-05-29Updates for 5.0.3.Neil2-2/+2
2021-05-28Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms.Neil1-2/+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.hNeil7-332/+361
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-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil3-33/+33
will be published in externally visible header.
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-09Change first responder / active handling so only treating as focussed whenNeil Hodgson3-12/+34
both active and first responder. This has no visual effect yet but allows greying the selection when not focussed.
2021-05-09Add @file <filename> comments to follow convention.Neil1-1/+1
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil2-17/+17
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-6/+6
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-21Updates for 5.0.2.rel-5-0-2Neil2-2/+2
2021-04-20Bug [#2248]. Make autocompletion look the same on macOS 11 as macOS 10Petko Georgiev1-9/+12
by using NSTableViewStylePlain. This prevents truncation of the text of items as well as avoiding problems with size and padding.
2021-04-11Turn off assert for release builds.Neil Hodgson1-3/+4
Remove old SCI_EMPTYCATALOGUE define which is no longer used.
2021-04-05More noexcept on Cocoa, GTK, and Qt.Neil1-2/+2
2021-04-05Change CaseConversion to an enum class.Neil1-1/+1
2021-04-03Updates for 5.0.1.Neil2-2/+2
2021-04-02Bug [#2238]. Fix drawing in revealed area after enlarging window.Petko Georgiev1-0/+2
2021-03-29Modify ListBox::GetValue to return a std::string to avoid fixed size buffersNeil1-6/+5
and the possibility of truncation.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil1-0/+1
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-26Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell andNeil1-0/+1
pixel oriented platforms.
2021-03-26Bug [#2224]. Switch XYPOSITION to double so it has more precision to fixNeil1-1/+1
problems with very long documents. Fixes uneven line heights on Cocoa after around 1.1 million lines.
2021-03-22Remove IntegerRectangle.h as not widely usefulNeil1-4/+0
Add IntegerRectangle struct for local use in PlatGTK.cxx.
2021-03-25Remove old Surface methods that have been replaced.Neil2-309/+0
2021-03-22Replace InitPixMap on Cocoa for drag & drop and XPM images in lists.Neil3-17/+20
2021-03-22Implement more support values.Neil1-0/+2
2021-03-22Replace multiple mode setting calls on Surface with SetMode as this isNeil1-4/+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-20Replace FillRectangle with FillRectangleAligned as FillRectangle will stopNeil1-2/+2
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed.
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil1-1/+1
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.Neil2-22/+28
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil2-0/+54
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil2-17/+26
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 beforeNeil2-0/+7
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil2-0/+35
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil2-0/+56
2021-03-20Implement RectangleFrame.Neil2-0/+19
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil2-0/+146
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil2-0/+62
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil2-0/+23
2021-03-19UTF-8 text drawing and measurement.Neil2-0/+108
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil2-0/+4
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.Neil2-0/+6
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil2-0/+18
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.Neil2-0/+15
2021-03-19Add Geometry.cxx for geometric and colour operations too complex for headers.Neil1-0/+12
Add FillStroke to hold parameters for drawing shapes.
2021-03-19Switch enum to enum class.Neil2-37/+35
2020-06-24Converting between UTF-8 and current encoding.Neil2-0/+35
Allows platform-independent code to be written just to handle Unicode.
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil2-2/+2
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.Neil2-5/+5