aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/MarginView.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-15Backport: Drop inclusion of StringCopy.h where possible.Neil1-1/+0
Backport of changeset 6951:b2a17a08a1f8.
2018-05-01Backport: Add IntegerRectangle to simplify drawing lines without casting.Neil1-5/+8
Backport of changeset 6773:9a027c16f8c3.
2018-04-27Backport: Use nullptr for custom draw functions.Neil1-2/+2
Backport of changeset 6752:ad7b3c0b64e3.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil1-1/+1
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-5/+8
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-03-27Backport: Use an interface for ContractionState so that there can be differentNeil1-14/+14
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-01Backport: Mark variables as const where simple.Neil1-10/+10
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-1/+2
types used in core to allow the Sci_Position.h types to widen to 64-bits. Backport of changeset 6324:95346e626cf8.
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-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-12/+6
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-06Added const where possible.Neil1-7/+7
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-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-9/+9
and lines.
2016-09-29The number of margins can be changed with SCI_SETMARGINS.Neil1-1/+1
2016-09-29Margin type SC_MARGIN_COLOUR and API SCI_SETMARGINBACKN added.Neil1-0/+3
Allows choosing any colour for a margin.
2016-01-31Replace expressions to find level number of a fold level with function call.Neil1-5/+5
Simplifies code by removing any precedence issues and is shorter.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2014-12-16When a text margin is displayed, for annotation lines, use the background colourNeil1-5/+13
of the base line. From Joe Mueller.
2014-11-19Platform overrides for some drawing and behaviour to benefit PLAT_CURSES.Neil1-2/+8
From Mitchell Foral.
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-07-18Allow extreme ascenders and descenders to overlap into adjacent lines withNeil1-89/+3
multiple phase drawing option.
2014-07-08Made recent refactor work on Cocoa.Neil Hodgson1-0/+9
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+532