aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-02-09Bug [#2078]. Fix garbage text from SCI_MOVESELECTEDLINESUP andNeil1-1/+5
SCI_MOVESELECTEDLINESDOWN for rectangular or thin selection by performing no action.
2019-02-05Feature [feature-requests:#1217]. Change API so block just for overstrike.Zufu Liu1-2/+2
2019-02-02Feature [feature-requests:#1217]. Implement CARETSTYLE_BLOCK_ALWAYS.Zufu Liu1-2/+2
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.
2019-01-06Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-2/+2
2018-11-29Notify with SC_UPDATE_SELECTION when user performs a multiple selection add.Neil1-0/+1
2018-10-17Use nullptr and default brace initialisation for some simple cases.Neil1-1/+1
2018-10-15Set number of lines wrapped in one go to maintain responsiveness and efficiencyNeil1-2/+12
by measuring speed and limiting to around 10 milliseconds.
2018-10-15Extract duration measurement damping and clamping into ActionDuration class soNeil1-1/+2
that it can be reused.
2018-10-11Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-3/+13
This can reduce the time taken to fold a document by half.
2018-10-09Improve performance of Editor::RangeText by avoding per-character checks.Neil1-3/+1
Helps applications that call SCI_GETTARGETTEXT.
2018-09-29Use nullptr when simple.Neil1-6/+6
2018-09-29Normalize formatting with astyle.Neil1-5/+5
2018-09-29Remove dead code.Neil1-1/+0
2018-09-29Bug [#2047]. Avoid processing when SCI_SETZOOM to same value as before.Zufu Liu1-5/+9
2018-07-10Optional indexing of line starts in UTF-8 documents by UTF-32 code points andNeil1-0/+26
UTF-16 code units added.
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-12/+12
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-6/+9
2018-05-21Draw invalid bytes in DBCS when detected as blobs in a similar way to UTF-8.Neil Hodgson1-0/+11
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-2/+1
2018-05-14Use string_view for UniConversion functions.Neil1-1/+1
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-1/+1
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-28/+28
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed.
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.