aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-03-16Convert Platform from a class to a namespace. Does not change callers.Neil1-4/+4
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw.
2020-07-13Minor warning fixes. 0 -> nullptr and static_cast -> dynamic_cast.Neil1-3/+3
2020-07-13Use float for text size in case application calls SCI_STYLESETSIZEFRACTIONAL.Neil1-1/+1
2020-07-08Fix translucent rectangle drawing on Qt.Neil1-12/+28
2020-07-08Use correct signature to override QListWidget::selectionChanged and use this toNeil1-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-08Fix deprecated QDesktopWidget::availableGeometry call to use currently supportedNeil1-8/+21
QScreen::availableGeometry call when available.
2020-07-08Fix deprecated Qt call to use currently supported call.Neil1-1/+1
2020-04-07Use const as avoids warning.Neil1-1/+1
2020-01-05Fix some warnings.Neil1-2/+2
2019-12-13Use safe mechanism for converting between function pointers and void*.Neil1-8/+8
2019-11-04Avoid warnings where const reasonable.Neil1-4/+14
2018-07-10Delete standard methods to avoid warnings.Neil1-0/+5
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-12/+2
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
2018-05-26Add necessary headers and move includes to be in same order.Neil1-1/+2
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+19
implementations for each platform.
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-0/+20
horizontal gradients.
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-23/+23
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-9/+3
Polygon and delete the standard copy and assignment methods.
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-8/+8
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-02Replace NULL and 0 with nullptr.Neil Hodgson1-41/+20
2018-05-02Define ListBoxImpl::GetWidget method to avoid casts.Neil Hodgson1-55/+37
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-27/+0
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-25Remove variables and casts that are not needed.Neil1-2/+2
2018-04-15Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.Neil1-13/+18
2018-03-22Feature [feature-requests:#1211]. Use pre-computed table for UTF8BytesOfLead.Zufu Liu1-16/+4
Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests.
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-06-12Removed unused functions and methods from Platform.h.Neil1-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-11Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-12/+26
2017-05-19Avoid explicit memory management.Neil1-3/+2
2017-04-19Use "override" for GTK+ and Qt platform layers.Neil1-25/+25
2017-04-07Use same parameter names in declarations and definitions.Neil1-1/+1
2016-01-26Fix flags to be compatible with Qt 4.x.Neil1-2/+5
2015-12-11Bug [#1669]. Prevent crash when clicking on autocompletion list.Neil1-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-20Remove line end whitespace.Neil1-2/+2
2015-05-13Bug [#1703]. Fix bug when drawing text margins in buffered mode which would useNeil1-1/+4
default encoding instead of chosen encoding.
2015-05-13Make single argument constructors explicit where simple to avoid possibility ofNeil1-2/+2
unintended conversions.
2015-04-22Use fractional positioning calls and avoid rounding to ensure consistency.Neil1-19/+17
From Jason Haslam.
2015-01-26Use QElapsedTimer::nsecsElapsed for more accurate measurement of durations.Neil1-6/+14
2014-08-06Bug [#1634]. Set qt list icon size to largest icon. Also adds padding on OS X.Neil1-4/+40
2014-01-20Fix typos in comments (qt)Stefan Weil1-2/+2
2014-03-13Put selected item at top of autocompletion list.Neil1-0/+7
2014-02-10Fix 'possible loss of data' warnings on 64-bit Windows.Neil1-2/+2
2013-10-18Fix Window::GetMonitorRect when top left of screen is not 0,0.Neil1-2/+1
From John Ehresman.
2013-07-26Avoid warnings for uninitialized fields.Unknown1-1/+1
2013-07-07Allow building with older versions of Visual C++ again.Neil1-3/+3
2013-06-25Specify paint device when creating QTextLayout. Fixes mis-layout of text whennyamatongwe1-1/+1
QApplication construction delayed. From John Ehresman.
2013-05-04Replacing raw pointers and allocations with std::vector and std::string.nyamatongwe1-20/+16
2013-05-02Removed variable which is no longer used due to change 4520.nyamatongwe1-1/+0
2013-05-01Monitor rect's top right is not necessarily 0, 0John Ehresman1-10/+8
2013-04-26Switch away from deprecated method.Neil Hodgson1-1/+1