aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
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-22Replace multiple mode setting calls on Surface with SetMode as this isNeil1-3/+1
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-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil1-3/+3
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-19Switch enum to enum class.Neil1-33/+36
2020-06-24Converting between UTF-8 and current encoding.Neil1-0/+23
Allows platform-independent code to be written just to handle Unicode.
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.Neil1-5/+5
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Change Window::Cursor to an enum class.Neil1-6/+6
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-08-03Bug [#2170]. Fixed cursor flicker when click past end of file and there is anuhf71-1/+4
indicator at file end.
2020-07-31Refactored ContextCursor to avoid multiple Point conversions.Neil1-15/+15
Reversed order of selection checks as SelectionEmpty is lighter than PointInSelection.
2020-07-31Bug [#2170]. Fixed cursor flicker over an indicator with hover style.uhf71-0/+2
2020-06-15Use ReleaseUnknown to extend noexcept over finalisation.Zufu Liu1-1/+1
2020-06-11Fix bug on Win32 where calling WM_GETTEXT for more text than in document couldNeil1-1/+1
return less text than in document.
2020-06-11Avoid warning for potential nullptr dereference that is not actually possible.Neil1-2/+4
2020-06-06Add ReleaseUnknown to safely release IUnknown* and avoid warnings when done inNeil1-6/+2
noexcept context.
2020-06-06Defer most initialisation until Scintilla window is created.Neil1-17/+21
Previously, more initialisation was performed inside DllMain but some actions such as loading libraries are unsafe inside DllMain. Avoid listbox UnregisterClass if no attempt to register which will occur if no Scintilla windows were created. std::call_once is used to ensure initialisation is performed at most once.
2020-05-28Bug [#2171]. Check for DPI change in WM_DPICHANGED_AFTERPARENT instead of everyZufu Liu1-11/+12
paint.
2020-05-27Bug [#2063]. Make reverse arrow cursor scale with DPI.Zufu Liu1-0/+44
2020-05-27Bug [#2063]. Add SystemMetricsForDpi and use for ListBox and mouse drag and ↵Zufu Liu1-9/+4
drop. Simplify IME font definition.
2020-05-25Ensure dpi initialized and updated after WM_DPICHANGED.Zufu Liu1-0/+3
2020-05-20Fix some minor warnings.Neil1-7/+7
2020-05-19Bug [#2171]. Implement per-monitor DPI Awareness on Windows.Neil1-0/+21
2020-05-19Encapsulate GetProcAddress in a way that avoids undefined and conditionallyNeil1-5/+2
defined behaviour.
2020-05-02Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not ↵Neil1-7/+0
subclass.
2020-04-17Arithmetic between enums is deprecated so use constexpr instead of enum or cast.Neil1-3/+4
Added constexpr where reasonable.
2020-04-05Feature [feature-requests:1345] Use more typesafe code to clear window pointers,Neil1-10/+2
share implementation of window pointers between files, use GetWindowStyle.
2020-03-26Fix spelling mistakes.Neil1-1/+1
2020-03-13Using constexpr in UniConversion and CaseConvert.Neil1-1/+1
2020-03-13Mark ImmEscapeW as global.Neil1-1/+1
2020-03-11Handle Japanese IME input when both GCS_COMPSTR and GCS_RESULTSTR set.Zufu Liu1-2/+4
2020-03-06Fix bug where all drops were treated as rectangular.Neil1-1/+1
2020-02-18Bug [#2156]. Move IME method declarations together.Neil1-5/+4
2020-02-12Bug [#2151]. Minor improvements.Zufu Liu1-20/+16
2020-02-12Bug [#2156]. Process IME messages that were broken by [983d35].Neil1-7/+19
Move WM_INPUTLANGCHANGE[REQUEST] into IMEMessage.
2020-02-09Use uniform initialization for resetting GDI handles to avoid NULL/0 warnings.Neil1-5/+5
Changed HDC, HPEN, HBRUSH, HFONT, HRGN, and HBITMAP.
2020-02-09Add noexcept to avoid warning.Neil1-2/+2
2020-02-09Add a size to timer enumeration to avoid warnings.Neil1-1/+1
2020-02-09Feature [feature-requests:#1340] Use Win32 types for EM_ messages.Zufu Liu1-9/+9
2020-02-09Feature [feature-requests:#1340] Move and use Point functions to avoid casting.Zufu Liu1-10/+3
2020-01-31Use more typesafe functions to remove casts.Neil1-6/+6
2020-01-28Break WndProc up into shorter, more focussed methods.Neil1-411/+521
2020-01-25Bug [#2152]. Ignore Alt+Keypad keys that will result in a WM_CHAR.Neil1-2/+31
2020-01-23Improve tracing of key down messages with more information.Neil1-1/+7
This is commented out and may be enabled by changing source code.
2020-01-18Bug [#2151]. Fix drag and drop between different encodings.Neil1-119/+61
2020-01-11Clean up the code changed with 7883 dropping CF_TEXT.Neil1-24/+17
2020-01-09Remove support for CF_TEXT clipboard format. CF_UNICODETEXT is now used in allNeil1-45/+1
cases. Windows automatically provides CF_UNICODETEXT when CF_TEXT on clipboard. This does not change drag-and-drop as that depends on CF_TEXT such as when dragging from DBCS.
2019-12-31Move collection of modules from Catalogue.cxx to CatalogueModules.h so it canNeil1-3/+0
be reused.
2019-12-13Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-16/+0
This allows removal of related #include statements.