aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil1-24/+20
into pointers. Backport of changeset 6738:5b39367ee7da.
2018-05-06Backport: Remove casts that are not needed since sptr_t and Sci::Position ↵mitchell1-28/+28
are the same type. Backport of changeset 6735:ed52dd761341.
2018-04-24Backport: Feature [feature-requests:#1215]. Make a parameter const.Neil1-1/+1
Backport of changeset 6733:f6be8941c4b8.
2018-05-06Backport: More const and cast avoidance.mitchell1-8/+8
Backport of changeset 6722:9a20edc44615.
2018-04-20Backport: Mark pointer to constant parameter as const.Neil1-1/+1
Backport of changeset 6721:33bf16396488.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil1-347/+341
for 64-bit 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. Backport of changeset 6705:5c0a80740b8c.
2018-05-05Backport: Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than ↵mitchell1-3/+6
2 GigaBytes. This option is provisional and experimental. Backport of changesets 6696:9729ff36c5b1 and 6723:cffe824ab55e. Also added '#include <cstddef>' to top of src/RESearch.cxx to fix 32-bit build error.
2018-04-16Backport: Convert topLine from a screen line to a document line before using ↵Neil1-1/+2
it to find a position. Backport of changeset 6691:372b160180b3.
2018-04-11Backport: Set the last X chosen when SCI_REPLACESEL called to ensure macros ↵Neil1-0/+1
work when text insertion followed by line up or down. Backport of changeset 6679:480de02f71f2.
2018-04-05Backport: Backed out changeset: 7402342dc7a3 Caching client rectangle on ↵Neil1-20/+18
EditView. This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based. Backport of changeset 6673:a22abea8d41e.
2018-04-04Backport: Cache client rectangle on EditView so it can be used easily inside ↵Neil1-18/+20
EditView. Backport of changeset 6669:7402342dc7a3.
2018-05-05Backport: Split decorations into interface and implementation.mitchell1-14/+14
Backport of changeset 6658:693e737f3155.
2018-03-27Backport: Use an interface for ContractionState so that there can be differentNeil1-78/+81
implementations of that interface. Backport of changeset 6656:ffa2a06d3987.
2018-03-15Backport: Use forward class definitions of XPM and RGBAImage so only code ↵Neil1-1/+0
that uses them 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. Backport of changeset 6624:32adac0930bb.
2018-03-09Backport: Use Position/Line/int more accurately in preparation for large ↵Neil1-26/+27
documents. Backport of changeset 6480:f2650eaa75e6.
2018-03-01Backport: Mark variables as const where simple.Neil1-113/+113
Backport of changeset 6470:d78a4b522662.
2018-03-01Backport: Use C++ cast in preference to C cast.Neil1-1/+1
Backport of changeset 6469:67f7890eac1d.
2018-03-01Backport: Mark pointer argument as const as not written to.Neil1-6/+6
Backport of changeset 6468:9ed7929c7900.
2018-02-24Backport: Fix move-extends-selection mode for rectangular and line selections.Mitchell Foral1-17/+52
Backport of changeset 6458:0a8a766722c0.
2018-02-17Backport: For rectangular selections, pressing Home or End now moves the ↵Vicente1-3/+14
caret to the Home or End position instead of the limit of the rectangular selection. Backport of changeset 6456:eaa6c7fa1a81.
2018-02-06Backport: [Bug #1983] Fix double tap word selection on Windows 10 1709 Fall ↵Dimitar Radev1-1/+1
Creators Update. Times of observed mouse events went backwards causing unsigned overflow. Backport of changeset 6449:1280ef150bbb.
2018-02-02Backport: Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-3/+3
Backport of changeset 6448:431b814a54a6.
2018-01-26Backport: Add documentOption argument to SCI_CREATELOADER.Neil1-0/+1
Backport of changeset 6441:92c8f0f1b3e6.
2018-01-28Backport: Use std::abs in preference to abs as std::abs is generic and abs ↵Neil1-2/+2
casts to int which may drop information. Backport of changeset 6434:ed27432729c3.
2017-11-20Backport: Add SCI_GETMOVEEXTENDSSELECTION.Mitchell Foral1-0/+2
Backport of changeset 6418:85205da6ec1b.
2017-09-13Backport: Bug [#1971]. Fix line selection by clicking in the margin when ↵Neil Hodgson1-0/+2
scrolled. Backport of changeset 6389:96506cab38bd.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-2/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-08-28Backport: New header ILoader.h defines ILoader interface as it does not ↵Neil1-0/+1
belong in ILexer.h. Backport of changeset 6383:9c8257ff60b7.
2017-08-25Backport: Moved *StyleBits* APIs into deprecated category.Neil1-0/+3
Backport of changeset 6379:b44bb3627bbd.
2017-07-23Backport: Avoid warning although it appears incorrect.Neil Hodgson1-1/+1
Backport of changeset 6359:4a203fb1684e.
2017-07-07Backport: Redraw when overtype changed so caret change visible even when not ↵Justin Dailey1-3/+6
blinking. Notify application with SC_UPDATE_SELECTION when overtype changed - previously sent SC_UPDATE_CONTENT. Backport of changeset 6337:79f86be9e988.
2017-06-22Backport: Cast between Sci_Position.h types used for lexers and Position.h ↵Neil1-135/+173
types used in core to allow the Sci_Position.h types to widen to 64-bits. Backport of changeset 6324:95346e626cf8.
2017-06-13Backport: Bug [#1949]. Fix drawing failure in wrap mode for delete to ↵Neil1-4/+10
start/end of line. Backport of changeset 6313:82cb780a04d1.
2017-06-12Backport: Remove old timer code in favour of the FineTicker* methods.Neil1-97/+22
Backport of changeset 6311:3a180dc6e9c8.
2017-06-12Backport: Simplify mouse and keyboard handling by only retaining the ↵Neil1-42/+6
'WithModifiers" form. All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed. Backport of changeset 6310:af83baede430.
2017-06-12Backport: Removed unused functions and methods from Platform.h.Neil1-47/+52
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f.
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.
2017-05-10Simplify DecorationList and its clients by using a vector instead of anNeil1-11/+2
intrusive linked list. Restrict clients to a read-only view.
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-1/+1
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-25Bug [#1940]. Canceling modes with the Esc key preserves a rectangular selection.Neil1-1/+1
2017-04-22Using unique_ptr to simplify ownership of images, case folder, and list box.Neil1-1/+1
2017-04-15Use bool literals true and false instead of 1 and 0.Neil1-3/+3
2017-04-09Further use of range-for.Neil1-3/+2
2017-04-09Modernise ViewStyle with vector, unique_ptr, any_of, and method deletion.Neil1-6/+6
2017-04-08Use reference for efficiency.Neil1-1/+1
2017-04-07Use same parameter names in declarations and definitions.Neil1-5/+5
2017-04-06Added const where possible.Neil1-71/+71
2017-04-06Added a caret line frame as an alternative visual for highlighting the caret ↵A-R-C-A1-0/+6
line.