aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+1
be needed for adding a CharacterCategory feature.
2019-03-25Use generic std::abs instead of abs and fabs.Neil1-2/+2
2019-03-19Make destructors public to avoid warnings.Neil1-1/+3
2019-03-18Add some operators to Point to simplify client code.Neil1-3/+4
2019-03-18Minor warnings fixed - uninitialized, nullptr, type agreement, avoid casts.Neil1-6/+5
2019-03-18Use noexcept where allowed, not inherited from base class, and not a COM method.Neil1-57/+57
2019-03-05Implement QueueIdleWork on Win32.Neil1-1/+32
2019-03-05Validate window after FullPaint caused by abandoning paint.Neil1-0/+1
2019-03-05Remove feature where WM_PAINT treated wParam as a PAINTSTRUCT*.Neil1-23/+10
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments.
2018-12-07Feature [feature-requests:#1246]. Replace MAKELONG with MAKELRESULT andZufu Liu1-3/+3
MAKEWPARAM which are more specific.
2018-10-17Use nullptr, default brace and member initialisation for some simple cases.Neil1-13/+13
2018-10-11Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-3/+5
This can reduce the time taken to fold a document by half.
2018-08-09Avoid some casts.Neil1-3/+4
2018-08-09Bug [#2030]. Fix Win32 crash setting technology to default after bidirectionalZufu Liu1-0/+2
mode set.
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-21/+21
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-0/+1
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-3/+2
2018-05-15Encapsulate WideCharToMultiByte and MultiByteToWideChar to simplify calling ↵Neil1-58/+64
sites and standardize use of options.
2018-05-14Use string_view for UniConversion functions.Neil1-21/+25
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-2/+3
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-01Use RectFromPRectangle to avoid casts.Neil1-2/+2
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-2/+2
2018-04-30Add conversion function from Scintilla Point to Win32 POINT.Neil1-23/+49
Use namespaces more consistently. Fix typo.
2018-04-30Use const where possible.Neil1-21/+21
2018-04-30Use const for IME, code page and related code.Neil1-28/+27
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.