aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil1-0/+13
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/+1
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil1-0/+2
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil1-0/+9
2021-03-20Implement RectangleFrame.Neil1-0/+1
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil1-0/+4
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil1-0/+1
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil1-0/+1
2021-03-25Shorten names as containers provide context.Neil1-7/+7
2021-03-19UTF-8 text drawing and measurement.Neil1-0/+7
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil4-0/+7
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.Neil3-1/+12
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil1-0/+1
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-2/+4
2021-03-19Add Geometry.cxx for geometric and colour operations too complex for headers.Neil2-7/+191
Add FillStroke to hold parameters for drawing shapes.
2021-03-19Add localeName to FontParameters for Bug [#2027].Neil1-2/+7
2021-03-19Switch enum to enum class.Neil15-279/+306
2021-03-19Protect against exceptions from ILexer5::Release as called inside destructor.Neil1-2/+10
2021-03-19Make simple constructor constexpr.Neil1-1/+1
2021-03-19Add SupportsFeature API but leave empty for now with no features defined.Neil2-0/+8
2020-06-24Converting between UTF-8 and current encoding.Neil1-0/+3
Allows platform-independent code to be written just to handle Unicode.
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil7-7/+7
2021-03-18Use unique_ptr to add to RGBAImageSet.Neil2-8/+3
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.Neil4-6/+6
2021-03-18Use unique_ptr for Surface::Allocate to show transfer of ownership.Neil5-10/+10
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil21-0/+21
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil23-35/+65
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-18ListBox options API. ListOptions is currently empty but may contain list itemNeil1-0/+4
colours in the future.
2021-03-17Use unique_ptr for ListBox::Allocate to show transfer of ownership.Neil2-2/+2
2021-03-17Change Window::Cursor to an enum class.Neil2-12/+12
2021-03-17Remove Window::SetFont as never used.Neil1-2/+1
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil15-111/+60
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Make Window argument to Menu::Show const as that avoids warnings and the WindowNeil1-1/+1
is not altered by showing a menu.
2021-03-17Mark Window::Destroy, ListBox::Clear, and Menu::Destroy as noexcept sinceNeil1-3/+3
destroying state should not throw.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil23-194/+230
2021-03-17Remove DynamicLibrary as loading lexers with SCI_LOADLEXERLIBRARY was removedNeil1-17/+0
for Scintilla 5.
2021-03-16Convert Platform from a class to a namespace. Does not change callers.Neil1-24/+19
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw.
2021-03-16Moved Platform.h to src as it is private to Scintilla.Neil1-0/+579
2021-03-12Remove declarations of methods that are no longer implemented.Neil1-2/+0
2021-02-04Use message parameter converter as passing pointers in sptr_t is a standard partNeil1-2/+2
of message handling and this avoids reinterpret-cast warnings.
2021-02-04Make LexState constructor noexcept as it only calls its superclass constructorNeil1-2/+2
which is noexcept.
2021-02-04Feature [feature-requests:1391]. Remove unused fields from LexState.Zufu Liu1-15/+5
Removes checks for ILexer version so requires ILexer5 to be fully implemented.
2021-02-02Bug [#2231]. Inconsistent behaviour in navigation on a line containing Japanesecshnik1-1/+1
symbols #247
2020-11-02Remove support for local lexers and loading lexers from ScintillaBase.Neil1-82/+26
2021-01-29Remove Lexilla files from ScintillaNeil4-460/+0
2021-01-29Move CharacterSet and CharacterCategory from lexlib to src as in both ↵Neil4-0/+4358
Lexilla and Scintilla
2020-09-18Fix building with Xcode 12 by defining move constructors for FontAlias, Style,Neil3-4/+9
and PositionCacheEntry.
2020-08-27Bug [#2197]. Avoid rewrap when checkTextAndStyle finds unchanged from cache.Zufu Liu1-5/+4
2020-08-26Bug [#2199]. Fixed bug where a hovered INDIC_TEXTFORE indicator was not applyinguhf71-3/+6
the hover colour to the whole range.
2020-08-25Move SCI_MULTIEDGEADDLINE impleemntation into ViewStyle as it is too complex forNeil3-12/+17
switch case in Editor.