aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-06-06Backport: Added brace for multi-line if and normalized space.Neil1-6/+7
Backport of changeset 7025:f17e1a7e02e3.
2018-06-06Backport: SC_WRAPINDENT_DEEPINDENT added to indent two tabs from previous line.Henrik Hank1-3/+9
Backport of changeset 7024:72c92ed3dc10.
2018-05-24Backport: Fix warnings. Add const, constexpr, and noexcept. Initialize. ↵Neil1-6/+6
Standard methods. Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. Backport of changeset 6974:e99161ef7bdd.
2018-05-13Backport: When line end characters are displayed, indicators are drawn ↵Neil1-6/+7
under/over them. Backport of changeset 6934:c0ca57c954c8.
2018-05-01Backport: Add IntegerRectangle to simplify drawing lines without casting.Neil1-24/+28
Backport of changeset 6773:9a027c16f8c3.
2018-04-27Backport: Use nullptr for custom draw functions.Neil1-7/+8
Backport of changeset 6752:ad7b3c0b64e3.
2018-04-26Backport: Specify concrete class for ldTabstops and use directly instead of ↵Neil1-7/+4
copying value of .get() before use. Backport of changeset 6745:f8cf44b26722.
2018-05-06Backport: Use <chrono> for platform-independent timing and remove ↵mitchell1-19/+30
ElapsedTime. Also use #if for painting measurement as there are 7 sections of code to enable. Backport of changeset 6741:af5d9064c25c.
2018-05-06Backport: More const and cast avoidance.mitchell1-4/+5
Backport of changeset 6722:9a20edc44615.
2018-04-20Backport: Mark pointer to constant parameter as const.Neil1-1/+1
Backport of changeset 6721:33bf16396488.
2018-05-06Backport: Feature [feature-requests:#1215]. Use standard functions in ↵mitchell1-4/+4
prference to RoundXYPosition, XYMinimum, and XYMaximum. Backport of changeset 6713:fadc4c551b6d.
2018-04-20Backport: Avoid casts for DrawIndentGuide.Neil1-6/+6
Backport of changeset 6709:0e77bb893e18.
2018-04-19Backport: Templatize MakeUpperCase/MakeLowerCase so they work on char/int ↵Neil1-4/+4
without casts. Backport of changeset 6707:29e80e764b46.
2018-04-19Backport: Use ColourDesired constructor explicitly to make more obvious.Neil1-1/+1
Constructor not marked explicit as may be used in external platform layers. Backport of changeset 6706:73c8bc321f62.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil1-44/+44
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-04-19Backport: SC_PRINT_SCREENCOLOURS doesn't force the background colour of line ↵Nicholai Benalal1-2/+3
numbers white. Backport of changeset 6700:daa126b86c17.
2018-05-05Backport: Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than ↵mitchell1-4/+3
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-05Backport: Backed out changeset: 7402342dc7a3 Caching client rectangle on ↵Neil1-8/+0
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-0/+8
EditView. Backport of changeset 6669:7402342dc7a3.
2018-05-05Backport: Split decorations into interface and implementation.mitchell1-10/+10
Backport of changeset 6658:693e737f3155.
2018-03-27Backport: Use an interface for ContractionState so that there can be differentNeil1-15/+15
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-22/+24
documents. Backport of changeset 6480:f2650eaa75e6.
2018-03-01Backport: Mark variables as const where simple.Neil1-46/+46
Backport of changeset 6470:d78a4b522662.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-6/+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-06-22Backport: Cast between Sci_Position.h types used for lexers and Position.h ↵Neil1-41/+49
types used in core to allow the Sci_Position.h types to widen to 64-bits. Backport of changeset 6324:95346e626cf8.
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-10Simplify DecorationList and its clients by using a vector instead of anNeil1-2/+2
intrusive linked list. Restrict clients to a read-only view.
2017-05-10Use unique_ptr fpr Partitioning, RunStyles, SparseVector, PositionCache andNeil1-8/+8
Document.
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-22/+12
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-12For speed, store height of capital letters in FontMeasurements so notNeil1-2/+1
recalculated for every character blob.
2017-04-09Further use of range-for.Neil1-5/+5
2017-04-09Modernise ViewStyle with vector, unique_ptr, any_of, and method deletion.Neil1-1/+1
2017-04-06Added const where possible.Neil1-36/+36
2017-04-06Added a caret line frame as an alternative visual for highlighting the caret ↵A-R-C-A1-8/+62
line.
2017-04-01Fix DisplayFromPosition pos argument to be correct type.Neil1-1/+1
2017-04-01More encapsulation for Decoration and DecorationList.Neil1-6/+6
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-6/+7
where it may be needed in the future.
2017-03-31Prefer standard min/max over Platform's as adapts to changed types.Neil1-7/+7
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-108/+108
and lines.
2017-03-19Group non-single-phase drawing before text.Neil1-11/+11
2017-03-16For single phase drawing ensure remainder of line filled by always fillingNeil1-1/+1
in tag fold drawing.
2017-03-16For single phase drawing ensure edges and mark underline drawn over fold tags byNeil1-5/+8
moving drawing of edge line and mark underline after fold tags.
2017-03-16For multiphase drawing ensure edges and mark underline drawn over fold tags byNeil1-0/+2
moving background drawing of fold tags before edge line and mark underline.
2017-03-17Round left and right sides of fold text box to ensure within the allocation.Neil1-8/+11
2017-03-16Fix 1 pixel unpainted as background.Neil1-1/+1
2017-03-16Fix difference between right of line end and left of fold tag.Neil1-1/+1
2017-01-22Display block caret over the character at the end of a selection to be similarJohn Ehresman1-1/+7
to other editors.