Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-19 | Add an explicit FlushDrawing method to Surface that should be called after | Neil | 1 | -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-19 | Implement PopClip to allow local clipping. | Neil | 1 | -1/+7 | |
2021-03-19 | Add Surface::PixelDivisions which detects 'retina' displays that use | Neil | 1 | -0/+6 | |
multiple display pixels per logical pixel. Likely will only return >1 for Apple displays. Can be used for finer placement of elements. | |||||
2021-03-19 | Add Platform::Supports for SupportsFeature API. | Neil | 1 | -0/+13 | |
2021-03-18 | Make Surface::Release and callers (where possible) noexcept. | Neil | 1 | -1/+1 | |
2021-03-18 | Use unique_ptr for Surface::Allocate to show transfer of ownership. | Neil | 1 | -2/+2 | |
2021-03-18 | ListBox options API. ListOptions is currently empty but may contain list item | Neil | 1 | -0/+4 | |
colours in the future. | |||||
2021-03-17 | Use unique_ptr for ListBox::Allocate to show transfer of ownership. | Neil | 1 | -2/+2 | |
2021-03-17 | Change Window::Cursor to an enum class. | Neil | 1 | -8/+8 | |
2021-03-17 | Remove Window::SetFont as never used. | Neil | 1 | -6/+0 | |
2021-03-17 | Change Font to an interface and stop using FontID. Fonts are shared and | Neil | 1 | -68/+54 | |
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs. | |||||
2021-03-17 | Make Window argument to Menu::Show const as that avoids warnings and the Window | Neil | 1 | -1/+1 | |
is not altered by showing a menu. | |||||
2021-03-17 | Mark Window::Destroy, ListBox::Clear, and Menu::Destroy as noexcept since | Neil | 1 | -4/+4 | |
destroying state should not throw. | |||||
2021-03-17 | Remove DynamicLibrary as loading lexers with SCI_LOADLEXERLIBRARY was removed | Neil | 1 | -44/+0 | |
for Scintilla 5. | |||||
2021-03-16 | Convert Platform from a class to a namespace. Does not change callers. | Neil | 1 | -4/+4 | |
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw. | |||||
2020-07-13 | Minor warning fixes. 0 -> nullptr and static_cast -> dynamic_cast. | Neil | 1 | -3/+3 | |
2020-07-13 | Use float for text size in case application calls SCI_STYLESETSIZEFRACTIONAL. | Neil | 1 | -1/+1 | |
2020-07-08 | Fix translucent rectangle drawing on Qt. | Neil | 1 | -12/+28 | |
2020-07-08 | Use correct signature to override QListWidget::selectionChanged and use this to | Neil | 1 | -14/+21 | |
call ListNotify on delegate. This avoids need to override mouseReleaseEvent. As currentRow() is not updated for selectionChanged, use selectedRows to find selection. Fixes a compiler warning. | |||||
2020-07-08 | Fix deprecated QDesktopWidget::availableGeometry call to use currently supported | Neil | 1 | -8/+21 | |
QScreen::availableGeometry call when available. | |||||
2020-07-08 | Fix deprecated Qt call to use currently supported call. | Neil | 1 | -1/+1 | |
2020-04-07 | Use const as avoids warning. | Neil | 1 | -1/+1 | |
2020-01-05 | Fix some warnings. | Neil | 1 | -2/+2 | |
2019-12-13 | Use safe mechanism for converting between function pointers and void*. | Neil | 1 | -8/+8 | |
2019-11-04 | Avoid warnings where const reasonable. | Neil | 1 | -4/+14 | |
2018-07-10 | Delete standard methods to avoid warnings. | Neil | 1 | -0/+5 | |
2018-06-02 | Define IScreenLineLayout as the main interface for implementing bidirectional | Neil | 1 | -12/+2 | |
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout. | |||||
2018-05-26 | Add necessary headers and move includes to be in same order. | Neil | 1 | -1/+2 | |
2018-05-23 | Add definitions for bidirectional support to Platform.h and provide empty | Neil | 1 | -0/+19 | |
implementations for each platform. | |||||
2018-05-22 | Add GradientRectangle method to Surface to draw rectangles with vertical or | Neil | 1 | -0/+20 | |
horizontal gradients. | |||||
2018-05-14 | Modernize Platform.h (4) - update Surface to use string_view for text arguments. | Neil | 1 | -23/+23 | |
2018-05-14 | Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t for | Neil | 1 | -9/+3 | |
Polygon and delete the standard copy and assignment methods. | |||||
2018-05-14 | Modernize Platform.h (1) - noexcept, const, standard methods. | Neil | 1 | -8/+8 | |
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. | |||||
2018-05-02 | Replace NULL and 0 with nullptr. | Neil Hodgson | 1 | -41/+20 | |
2018-05-02 | Define ListBoxImpl::GetWidget method to avoid casts. | Neil Hodgson | 1 | -55/+37 | |
2018-04-26 | Use <chrono> for platform-independent timing and remove ElapsedTime. | Neil | 1 | -27/+0 | |
Also use #if for painting measurement as there are 7 sections of code to enable. | |||||
2018-04-25 | Remove variables and casts that are not needed. | Neil | 1 | -2/+2 | |
2018-04-15 | Feature [feature-requests:#1215]. Stop warning about virtual call in destructor. | Neil | 1 | -13/+18 | |
2018-03-22 | Feature [feature-requests:#1211]. Use pre-computed table for UTF8BytesOfLead. | Zufu Liu | 1 | -16/+4 | |
Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests. | |||||
2017-09-11 | The Scintilla namespace is always active for internal symbols and for the lexer | Neil | 1 | -4/+0 | |
interfaces ILexer4 and IDocument. | |||||
2017-06-12 | Removed unused functions and methods from Platform.h. | Neil | 1 | -104/+2 | |
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux. | |||||
2017-06-11 | Implement SCN_AUTOCSELECTIONCHANGE notification. | Neil | 1 | -12/+26 | |
2017-05-19 | Avoid explicit memory management. | Neil | 1 | -3/+2 | |
2017-04-19 | Use "override" for GTK+ and Qt platform layers. | Neil | 1 | -25/+25 | |
2017-04-07 | Use same parameter names in declarations and definitions. | Neil | 1 | -1/+1 | |
2016-01-26 | Fix flags to be compatible with Qt 4.x. | Neil | 1 | -2/+5 | |
2015-12-11 | Bug [#1669]. Prevent crash when clicking on autocompletion list. | Neil | 1 | -1/+2 | |
This appears to be a focus problem. Clicking on the list sets it as the focus which removes focus from the Scintilla text window. Scintilla responds to loss of focus by destroying any popups including the autocompletion list which is not in a state where it is safe to be destroyed. Adding the WindowDoesNotAcceptFocus flag to the list prevents it from getting focus and thus prevents the crash. | |||||
2015-11-20 | Remove line end whitespace. | Neil | 1 | -2/+2 | |
2015-05-13 | Bug [#1703]. Fix bug when drawing text margins in buffered mode which would use | Neil | 1 | -1/+4 | |
default encoding instead of chosen encoding. | |||||
2015-05-13 | Make single argument constructors explicit where simple to avoid possibility of | Neil | 1 | -2/+2 | |
unintended conversions. |