aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-07-14Feature [feature-requests:#1488] Stop aligning IME candidate window to target onjohnsonj1-5/+0
Win32 and Qt.
2023-06-23Ensure local variable initialised.Neil1-1/+1
2023-06-22Bug [#2382]. Fix reverse arrow cursor when scaled.Markus Nißl1-6/+10
2023-06-08Bug [#2333]. Hide cursor when typing if SPI_GETMOUSEVANISH system setting is on.johnsonj1-8/+27
2023-05-06Feature [feature-requests:#1310] Implement IME context with IMR_DOCUMENTFEED.johnsonj1-0/+48
2023-04-09Feature [feature-requests:#1485] Change COM class implementation from C to C++.Zufu Liu1-166/+139
2022-11-29Bug [#2344]. When GDI scaling is active, ensure correct monitor used forNeil1-1/+1
determining scale factor. Function name changed to avoid possibility of confusion with Win32 API.
2022-11-26Bug [#2344]. Avoid blurry display with DirectWrite in GDI scaling mode.Markus Nißl1-10/+27
https://sourceforge.net/p/scintilla/code/merge-requests/28/
2022-10-29Bug [#2344]. Use the top-level window to find the monitor for DirectWriteMarkus Nißl1-1/+2
rendering parameters. Temporarily switch DPI awareness to find correct monitor in GDI scaling mode. https://sourceforge.net/p/scintilla/code/merge-requests/34/
2022-10-23Feature [feature-requests:#1457] Reuse MouseWheelDelta for autocompletion lists.Zufu Liu1-14/+0
This code triggers when wheel rotated and mouse is outside list.
2022-09-29Feature [feature-requests:#749] Implement horizontal scrolling with Shift +Zufu Liu1-32/+40
mouse wheel. Also feature [feature-requests:#1451].
2022-09-29Create MouseWheelDelta class to accumulate mouse wheel movement. This will alsoZufu Liu1-9/+17
be used for horizontal scrolling.
2022-09-29Ensure page and step clicks on horizontal scroll bar do not overshoot ↵Neil1-12/+25
document width.
2022-09-21Feature [feature-requests:#1450] Implement horizontal scrolling mouse wheelMarkus Nißl1-24/+33
through WM_MOUSEHWHEEL.
2022-09-05Add const where reasonable.Neil1-1/+1
2022-08-01Avoid some warnings from Code Analysis.Neil1-3/+9
2022-04-08Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII soNeil1-2/+0
subclasses do not need to call StandardASCII. Avoid some lint warnings.
2022-03-15Feature [feature-requests:#1432] Always redraw for WM_SETTINGCHANGE.Zufu Liu1-2/+1
2022-03-12Feature [feature-requests:#1432] Support per-monitor text rendering parametersNeil1-2/+71
and update when changed by user. Includes code from Zufu Liu.
2022-03-05Feature [feature-requests:#1432] Simplify setting surface modes withZufu Liu1-1/+1
EditModel::CurrentSurfaceMode.
2022-03-05Feature [feature-requests:#1432] Remove redundant calls to DropGraphics.Zufu Liu1-2/+0
InvalidateStyleRedraw calls DropGraphics and the unique_ptr destructors will ensure that the pixmaps are destroyed when Editor is destroyed.
2022-03-04Feature [feature-requests:#1432] Cosmetic - comment position and trailing space.Zufu Liu1-1/+1
2022-03-01Update Windows API version to Windows 10 (0x0A00) as released in 2015 and SDKsNeil1-39/+2
should now be compatible.
2022-01-31Place CaseFolderDBCS in unnamed namespace to avoid one definition rule warningsNeil Hodgson1-0/+4
(ctuOneDefinitionRuleViolation) from Cppcheck.
2022-01-13Remove tests for pD2DFactory and pIDWriteFactory that can not fail.Zufu Liu1-1/+1
Use constexpr.
2021-11-22Move common Win32 functions for releasing IUnknown* and DLL function access intoNeil1-0/+1
new WinType.h header.
2021-11-22Bug [#2295] Fix potential memory leak with Korean language input.Zufu Liu1-3/+3
2021-11-16Remove some casts that are not needed and a long-disused assertion.Neil1-3/+2
2021-10-19Extract ChangeScrollRange from common scroll range setting code.Neil1-32/+18
2021-10-18Normalize indentation whitespace.Neil1-3/+3
2021-10-16Bug [#2288] When window wider than scroll width, compute horizEndPreferredDerek1-2/+2
correctly so that SetScrollInfo is not called nor dwell end notified unnecessarily.
2021-09-28Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow stylesNeil1-0/+1
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that.
2021-08-24Remove line end white space.Neil1-1/+1
2021-08-14Cache the client rectangle to avoid system calls during intensive operations.Neil1-0/+7
2021-07-23Feature [feature-requests:#1411] Implement WM_SETREDRAW to turn off scroll barNeil1-0/+22
updates.
2021-07-06Feature [feature-requests:#1408] For DBCS on Win32, change WM_GETTEXTLENGTH andNeil1-15/+45
WM_GETTEXT to not use CountUTF16 or GetRelativePositionUTF16, instead using the Win32 API MultiByteToWideChar for consistency between reported length and text as UTF-16.
2021-06-25Feature [feature-requests:#1400] Set buffering when technology set.Zufu Liu1-0/+1
2021-06-17Add SciFnDirectStatus, a direct access function which also returns status so canNeil1-2/+18
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
2021-06-09Reduce casts by defining methods for common conversions.Neil1-2/+2
2021-06-05Bug [#2259]. Fix gcc link-time-optimization compilation.Neil1-0/+1
2021-05-28Merge init into ScintillaWin constructor as not called from anywhere else.Neil1-29/+14
Ensure variables initialised. Remove dead code.
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-236/+247
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 typedefNeil1-5/+5
will be published in externally visible header.
2021-05-17Fix issues reported by Coverity and Visual C++ Analysis.Neil1-13/+11
Throw when (impossible) dynamic_cast failures occur as it isn't reasonable to recover. That removes 'noexcept' from some methods. Cast to avoid 'sub-expression overflow' warnings. Add default initializations and noexcept where safe. Move DropRenderTarget out of #if to avoid some preprocessor use.
2021-05-11Implement UpdateBaseElements on Win32 to update colours to match current systemNeil1-0/+21
settings. Trigger UpdateBaseElements when system settings change.
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil1-1/+1
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-26Extract related groups of fields out of ViewStyle into new structs.Neil1-2/+2
Size of ViewStyle makes it more difficult to understand and this helps a bit.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-4/+4
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-15Bug [#2228]. Ensure sysCaretBitmap does not leak.Mat Berchtold1-1/+6
2021-04-05Change CaseConversion to an enum class.Neil1-3/+3