aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/MarginView.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-04-27Use nullptr for custom draw functions.Neil1-2/+2
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-1/+1
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-5/+8
This option is provisional and experimental.
2018-03-27Use an interface for ContractionState so that there can be differentNeil1-14/+14
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-01Mark variables as const where simple.Neil1-10/+10
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-6/+0
interfaces ILexer4 and IDocument.
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-06-22Cast between Sci_Position.h types used for lexers and Position.h types used inNeil1-1/+2
core to allow the Sci_Position.h types to widen to 64-bits.
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