aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-04-30Use Win32 types and avoid casting. Move code to avoid warnings.Neil1-8/+7
Use const where there is a benefit.
2018-04-30Use message parameter access macros provided by Windows instead of casting.Neil1-30/+8
2018-04-30Use C++ casts in preference to C casts. Use nullptr instead of 0.Neil1-1/+2
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-0/+12
2018-04-28Remove unused definition and replace 0 with nullptr.Neil1-2/+1
2018-04-28Initialize timers in definition instead of looping to avoid cast and warning.Neil1-4/+1
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-2/+4
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-7/+7
2018-04-25Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil1-2/+2
2018-04-25Remove casts that are not needed since sptr_t and Sci::Position are the same ↵Neil1-1/+1
type.
2018-04-22Remove casts between char and unsigned char where possible.Neil1-4/+4
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-13/+13
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened.
2018-04-11Bug [#2008]. Avoid warning unsigned >= 0.Neil1-1/+1
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-2/+2
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Remove automatic detection of Direct2D support during build.Neil1-1/+1
DISABLE_D2D may still be defined to remove Direct2D features.
2018-04-04Move DLL entry points DllMain and Scintilla_DirectFunction into ScintillaDLL.cxxNeil1-22/+12
to simplify build process by eliminating the compilation of ScintillaWin.cxx into ScintillaWinS.o|obj.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-2/+2
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-1/+0
needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage.
2018-01-21Type casts in case Sci::Position and Sci::Line are extended to 64-bits.Neil1-14/+14
Use of const where reasonable.
2017-12-19Start of bidirectional code - implement SCI_SETBIDIRECTIONAL.Neil1-0/+11
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
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.