aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-2/+1
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-03Avoid casts.Neil1-4/+4
2018-05-03Specify type of std::clamp to avoid casting arguments.Neil1-17/+17
2018-05-03Eliminate XFromPosition overload for Sci::Position as SelectionPosition overloadNeil1-7/+2
can always be used.
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
2018-04-30Feature [feature-requests:#1215]. Use std::clamp to shorten code.Neil1-6/+1
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-24/+20
2018-04-25Remove casts that are not needed since sptr_t and Sci::Position are the same ↵Neil1-29/+29
type.
2018-04-24Feature [feature-requests:#1215]. Make a parameter const.Neil1-1/+1
2018-04-20More const and cast avoidance.Neil1-10/+10
2018-04-20Mark pointer to constant parameter as const.Neil1-1/+1
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-347/+341
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-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil1-3/+6
This option is provisional and experimental.
2018-04-16Convert topLine from a screen line to a document line before using it to find aNeil1-1/+2
position.
2018-04-11Set the last X chosen when SCI_REPLACESEL called to ensure macros work when textNeil1-0/+1
insertion followed by line up or down.
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-20/+18
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-18/+20
2018-03-28Split decorations into interface and implementation.Neil1-14/+14
2018-03-27Use an interface for ContractionState so that there can be differentNeil1-78/+81
implementations of that interface.
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-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-26/+27
2018-03-01Mark variables as const where simple.Neil1-100/+100
2018-03-01Use C++ cast in preference to C cast.Neil1-1/+1
2018-03-01Mark pointer argument as const as not written to.Neil1-6/+6
2018-02-24Fix move-extends-selection mode for rectangular and line selections.Mitchell Foral1-17/+52
2018-02-17For rectangular selections, pressing Home or End now moves the caret to the HomeVicente1-3/+14
or End position instead of the limit of the rectangular selection.
2018-02-06[Bug #1983] Fix double tap word selection on Windows 10 1709 Fall Creators ↵Dimitar Radev1-1/+1
Update. Times of observed mouse events went backwards causing unsigned overflow.
2018-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-3/+3
2018-01-26Add documentOption argument to SCI_CREATELOADER.Neil1-0/+1
2018-01-28Replace Sci::clamp with C++ standard std::clamp function.Neil1-21/+21
std::clamp is from C++17.
2018-01-28Use std::abs in preference to abs as std::abs is generic and abs casts to intNeil1-2/+2
which may drop information.
2017-12-19Start of bidirectional code - implement SCI_SETBIDIRECTIONAL.Neil1-0/+7
2017-11-20Add SCI_GETMOVEEXTENDSSELECTION.Mitchell Foral1-0/+2
2017-09-13Bug [#1971]. Fix line selection by clicking in the margin when scrolled.Neil Hodgson1-0/+2
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-08-25Moved *StyleBits* APIs into deprecated category.Neil1-0/+3
2017-07-23Avoid warning although it appears incorrect.Neil Hodgson1-1/+1
2017-07-07Redraw when overtype changed so caret change visible even when not blinking.Justin Dailey1-3/+6
Notify application with SC_UPDATE_SELECTION when overtype changed - previously sent SC_UPDATE_CONTENT.
2017-07-01Deprecate single phase drawing.Neil1-0/+2
2017-06-22Update IDocument for version 4. Drop IDocumentWithLineEnd interface to just haveNeil1-3/+3
IDocument but with all the methods from IDocumentWithLineEnd. This removes version checking (for now). Use dvRelease4 ID. Drop mask argument to StartStyling.
2017-06-22Cast between Sci_Position.h types used for lexers and Position.h types used inNeil1-135/+173
core to allow the Sci_Position.h types to widen to 64-bits.
2017-06-13Bug [#1949]. Fix drawing failure in wrap mode for delete to start/end of line.Neil1-4/+10
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-97/+22
2017-06-12Simplify mouse and keyboard handling by only retaining the 'WithModifiers" form.Neil1-42/+6
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-47/+52
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-21Use unique_ptr and forward_list to regularize PerLine data structures.Neil1-0/+1
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-10Feature [feature-requests:#1187]. Update scroll bar when annotations added,Neil1-1/+4
removed, or visibility changed.