aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2021-09-19Respond to changes in system font scaling by clearing any cached layout data.Neil Hodgson2-0/+14
2021-09-13Hold onto global GtkSettings object as used multiple times.Neil Hodgson2-12/+26
2021-09-12Round up ascent and descent of fonts on GTK to make it more likely thatNeil Hodgson1-2/+2
underscores and accents will be visible.
2021-07-17Updated dependencies.Neil1-0/+1
2021-07-03Remove remnants of support for including lexers in Scintilla.Neil1-10/+4
2021-06-17Implement GetDirectStatusFunction on GTK.Neil1-0/+3
2021-06-17Add SciFnDirectStatus, a direct access function which also returns status so canNeil2-1/+12
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
2021-05-25Update dependencies.Neil1-55/+41
2021-05-25Use correct enumeration.Neil Hodgson1-1/+1
2021-05-25Place functions in correct internal namespace.Neil Hodgson1-1/+2
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil6-257/+293
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-27/+27
will be published in externally visible header.
2021-04-28Bug [#2227]. On GTK 3 with Wayland, fix primary selection.Neil Hodgson2-48/+64
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil4-24/+24
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.Neil3-9/+9
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-23Remove volatile qualifiers as they cause an error with Clang 12.Neil Hodgson1-2/+2
The glib documentation shows use without volatile and mentions that - While location has a volatile qualifier, this is a historical artifact and the pointer passed to it should not be volatile. https://developer.gnome.org/glib/stable/glib-Threads.html#g-once-init-enter
2021-04-15Add default case to IME checking of underline type to prevent warnings.Neil Hodgson1-0/+1
2021-04-15Add casts to prevent warnings from MSVC.Neil1-21/+23
2021-04-15Avoid warning from MSVC.Neil1-1/+3
2021-04-15Widen some position and length values to match core APIs.Neil2-6/+6
2021-04-15Avoid crash on Win32 as it doesn't support font options.Mitchell Foral1-4/+6
2021-04-06Minor fixes - noexcept, unnamed namespace, initialisation, casting.Neil1-61/+81
Leaves GTK object definition as is since this is essentially C code with documentation and examples in C.
2021-04-06Explicit wide call to prevent fail if built in different Unicode mode on Win32.Neil1-1/+1
2021-04-05More noexcept on Cocoa, GTK, and Qt.Neil1-3/+3
2021-04-05Change CaseConversion to an enum class.Neil1-1/+1
2021-04-05Detect (some) changes to font options and clear position caches when changed.Neil2-0/+44
To experiment, use the Fonts panel of the Tweaks application.
2021-04-04Respond to changes in font antialiasing and hinting options on GTK 2.Neil1-4/+8
2021-03-30Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols.Neil1-1/+2
2021-03-29Modify ListBox::GetValue to return a std::string to avoid fixed size buffersNeil1-6/+6
and the possibility of truncation.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil2-0/+2
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-26Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell andNeil1-0/+1
pixel oriented platforms.
2021-03-22Remove IntegerRectangle.h as not widely usefulNeil2-2/+14
Add IntegerRectangle struct for local use in PlatGTK.cxx.
2021-03-25Remove old Surface methods that have been replaced.Neil1-217/+1
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-22Use PolyLine to simplify wrap marker arrows and allow thicker strokes when thereNeil1-1/+0
is space.
2021-03-22Replace multiple calls when drawing boxes with Surface::RectangleFrame.Neil1-1/+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.Neil1-1/+0
2021-03-20Use new Surface APIs for marker drawing. Clipping allows rounded fold markers toNeil1-1/+0
be highlighted better.
2021-03-20Use new Surface APIs that can adapt to different stroke widths and use clippingNeil1-1/+0
to allow more accurate less complex drawing code.
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.Neil1-16/+16
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil1-15/+38
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil1-3/+28
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/+5
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil1-0/+27
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil1-2/+61
2021-03-20Implement RectangleFrame.Neil1-0/+10