aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
AgeCommit message (Collapse)AuthorFilesLines
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.
2017-01-04Mark some const methods as const.Neil1-1/+1
2016-12-09Warning suppression and documentation of previous change 6082.Neil1-1/+2
2016-12-09Use double coordinates instead of float in some cases as float ran out ofNeil1-1/+1
precision in long documents. This meant that individual lines could not be selected by mouse when the document exceeded 16.7 million lines.
2016-11-29Textual tags may be displayed on folded lines with SCI_TOGGLEFOLDSHOWTEXT.Tse Kit Yam1-15/+124
2016-11-14Added alternate appearance for visible tabs which looks like a horizontal line.jedailey1-11/+15
2016-11-05Add options to choose between the locations of a position when thereNeil Hodgson1-8/+38
are multiple locations for one position. The main current use is to find the location at the end of a line or display line when the commonly used location is at the start of the next line.
2016-10-26INDIC_POINT and INDIC_POINTCHARACTER indicators added to display small arrowsNeil1-6/+19
underneath positions or characters.
2016-10-06Word selection, navigation, and manipulation is now performed on charactersNeil1-12/+13
instead of bytes leading to more natural behaviour for multi-byte encodings like UTF-8.
2016-09-29The number of margins can be changed with SCI_SETMARGINS.Neil1-2/+2
2016-09-23EDGE_MULTILINE and SCI_MULTIEDGEADDLINE added to allow displaying multipleA-R-C-A1-6/+27
vertical edges simultaneously.
2016-04-21Correct comments.Neil1-1/+1