aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-14Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours.Neil1-1/+1
Use symbolic constants for colour components, fixing 'magic number' warnings.
2023-10-10Use global constants for opaque black and white and local constants for greys.Neil1-2/+2
Makes it easier to understand and reduces warnings.
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-8/+6
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil1-4/+4
will be published in externally visible header.
2021-05-14Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content areaNeil1-1/+1
markers can be drawn translucently under text.
2021-05-14Add SCI_MARKERSETLAYER to define layer on which to draw content area markers.Neil1-0/+5
This replaces the use of SC_ALPHA_NOALPHA for markers.
2021-03-29Align polygons so they are crisp.Neil1-0/+1
2021-03-27Add APIs for setting translucency and stroke width of markers.Neil1-3/+4
2021-03-20Use new Surface APIs for marker drawing. Clipping allows rounded fold markers toNeil1-2/+3
be highlighted better.
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil1-2/+2
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2020-07-16Rename typeOfFold to FoldPart and make an enum class.Neil1-2/+2
2019-04-07Make XPM, RGBAImage, and LineMarker copyable and noexcept moveable.Neil1-10/+14
This simplifies and optimizes their use in other classes and containers.
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-35/+7
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.
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-04-22Using unique_ptr to simplify ownership of images, case folder, and list box.Neil1-17/+11
2017-04-07Use same parameter names in declarations and definitions.Neil1-1/+1
2014-11-19Platform overrides for some drawing and behaviour to benefit PLAT_CURSES.Neil1-0/+10
From Mitchell Foral.
2014-06-23Make drawing of markers const.Neil1-1/+1
2013-07-21Whitespace cleanup.Neil1-1/+0
2012-07-21Scale factor implemented for RGBAImages to allow for high definition markers ↵nyamatongwe1-1/+1
on retina displays.
2012-04-21Avoid warning from cppcheck for not checking for self assignment.nyamatongwe1-12/+14
2012-02-17Draw markers horizontally off center only on textual margins. Bug #3488696.Marko Njezic1-1/+1
2011-09-25Palette support removed.nyamatongwe1-4/+3
2011-07-02Folding related fixes. Initiated by bug #3323805.Marko Njezic1-1/+1
Make fold highlighting follow closely the actual folding implementation. Introduce a concept of fold headers with a tail to accommodate certain fold highlighting situations. Optimize PaintSelMargin(), so it doesn't waste time with fold markers, unless really necessary. Make EnsureLineVisible() find right parent, when called on whitespace line. Fix wrong fold tail marker when needWhiteClosure is true.
2011-06-25Initial implementation of RGBA images.nyamatongwe1-0/+7
2011-04-07Add highlighting of current folding block. Feature #3147069.nyamatongwe1-1/+8
APIs MarkerEnableHighlight and MarkerSetBackSelected. From Jérôme Laforge.
2011-04-07Update copyright year.nyamatongwe1-1/+1
2010-02-17Formatting whitespace.nyamatongwe1-1/+1
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+8
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2006-05-21Added translucency for selection and markers.nyamatongwe1-0/+4
2003-02-19Made operator= safer if misused.nyamatongwe1-0/+1
2003-01-10Moved XPM code out to XPM file.nyamatongwe1-22/+1
2002-11-21Added copy constructor and operator= to avoid blind copy of XPM pointernyamatongwe1-0/+15
leading to problems when double freed.
2002-10-05Fixed compiler warnings.nyamatongwe1-2/+2
2002-10-02PixMap marker support.nyamatongwe1-0/+29
2001-10-28Removed platform-specific headers from Platform.h and thus stoppednyamatongwe1-2/+2
visibility of these headers to most code.
2001-09-07Marker can be any character.nyamatongwe1-1/+1
2001-02-24Updated documentation comments from Philippe.nyamatongwe1-1/+5
2001-01-28Updating copyright notices for 2001.nyamatongwe1-1/+1
2000-03-08Initial revisionnyamatongwe1-0/+22