aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-06-22Cast between Sci_Position.h types used for lexers and Position.h types used inNeil1-6/+6
core to allow the Sci_Position.h types to widen to 64-bits.
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-8/+0
2017-06-12Simplify mouse and keyboard handling by only retaining the 'WithModifiers" form.Neil1-23/+23
All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed.
2017-06-12Removed unused functions and methods from Platform.h.Neil1-16/+24
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-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-02More consistent use of size_t when converting Unicode formats.Neil1-20/+21
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-43/+39
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-20More consistent deletion of standard methods.Neil1-2/+3
2017-04-15Avoid calling virtual functions in constructors and destructors.Neil1-3/+3
2017-04-07Prefer C++ static cast over C-style casts.Neil1-5/+5
2017-04-07Use same parameter names in declarations and definitions.Neil1-2/+2
2017-04-06Added const where possible.Neil1-39/+39
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-7/+8
where it may be needed in the future.
2017-03-31Hide decorations details a little.Neil1-1/+1
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-42/+42
and lines.
2017-03-09Drop support for Windows NT 4 by statically linking to system APIs that areNeil1-20/+4
only available from Windows 2000 and later.
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+1
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-03-05For IMEs, do not clear selected text when there is no composition text to show.johnsonj1-1/+4
2017-03-04Use C++11 keyword "override" for methods that override a base class.Neil1-42/+42
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-15/+25
2016-11-25Bug [#1886]. Fix EM_SETSEL to match Microsoft documentation.Neil1-5/+1
2016-11-20Avoid warning with MinGW-w64 which defines D2DERR_RECREATE_TARGET differentlyNeil1-2/+2
to SDK headers.
2016-10-27Tidy CaseMapString by moving some mechanics into CaseConvert. Use StringEncodeNeil1-58/+42
and StringDecode more and make more likely to be optimized.
2016-10-27Suppress warning message from Code Analysis for code that does work.Neil1-0/+6
2016-09-27On Win32, mouse wheel scrolling can be restricted to only occur when the mouseStefan Küng1-0/+12
is within the window.
2016-08-28SC_CHARSET_DEFAULT now means code page 1252 on Windows unless code page set.Neil1-1/+1
Improved documentation for character sets.
2016-05-14Post a caret moved accessibility event in Editor::MovedCaret so that screenNeil1-0/+5
readers like NVDA will speak when extending the selection with a Shift+Down key combination scrolls but does not move the caret position relative to the screen.
2016-04-14Simplified IME caret positioning.johnsonj1-4/+4
2016-02-23Retry OpenClipboard if it fails as another application may have opened it.Neil1-2/+19
2016-02-09Simplified IME caret position discovery.johnsonj1-12/+8
2016-02-08Extract IME text insertion into AddWString method.johnsonj1-27/+19
2016-02-06Move IME code into IMContext.johnsonj1-22/+22
2016-02-01Simplified inline IME by using StringEncode.johnsonj1-26/+6
2016-01-22Encapsulate ImmGetCompositionStringW for GCS_COMPSTR and GCS_RESULTSTR.johnsonj1-19/+22
2016-01-09Factored out mapping IME state to indicators and finding caret position.johnsonj1-25/+36
2015-12-14Block IME when some selected text is protected.johnsonj1-1/+1
2015-12-10Fix warning in 64-bit builds.Neil1-1/+1
2015-12-07Cancel IME composition for read-only documents.johnsonj1-1/+4
2015-12-07Allow any style for IME instead of truncating style to 5 bits.Neil1-1/+1
2015-11-20Text layout whitespace fixes.Neil1-2/+2
2015-11-20Remove line end whitespace.Neil1-6/+6
2015-11-20Bug [#1779]. Better Unicode input support on Windows systems.Sam Hocevar1-25/+48
- support surrogate pairs in WM_CHAR messages - support characters from supplementary planes in WM_UNICHAR messages - support WM_UNICHAR messages in non-Unicode mode - fix some code duplication Also, do not return FALSE upon receiving a WM_UNICHAR message with a UNICODE_NOCHAR parameter, since WM_UNICHAR can actually be handled just fine (at least with the exact same level of support as WM_CHAR).
2015-09-25Replace reinterpret_cast with static_cast where possible.Neil1-10/+10
2015-09-10Handle reconversion when requested by IME.johnsonj1-0/+96
2015-09-10Fix IME caret movements for emoji.johnsonj1-1/+1
2015-09-04Change FillVirtualSpace to ClearBeforeTentativeStart and delete selected text.johnsonj1-1/+1
2015-08-25Encapsulate HIMC in a small class to ensure it is always freed.Neil1-32/+41
2015-07-28Avoid candidate box randomly popping up away from edit pane with (especiallyjohnsonj1-0/+1
Japanese) IME input.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1