aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-04Make std::exception visible to all core code to remove chance that a differentNeil1-0/+1
tool set will not indirectly include <stdexcept>.
2014-11-19Platform overrides for some drawing and behaviour to benefit PLAT_CURSES.Neil1-0/+5
From Mitchell Foral.
2014-07-24Remove false shadowing between local variables and enum values.Neil1-48/+48
2014-06-23Make drawing of markers const.Neil1-1/+1
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-41/+41
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-44/+44
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-2/+2
conversions and other conversions more consistent.
2014-05-03Convenience Point constructor from integers as common source of shapes.Neil1-5/+5
2014-01-21Added ELEMENTS macro and use it to clarify determining size of arrays.Neil Hodgson1-12/+8
2014-01-21Implement new marker symbol SC_MARK_BOOKMARK.Neil Hodgson1-1/+12
2014-01-18With Direct2D draw circles with a 1 pixel larger radius to better matchNeil1-4/+4
other platforms and ensure for folding markers that the '+' or '-' do not touch the circle. Change order of drawing so that circles are drawn after connecting lines so overwrite any tails.
2014-01-18For SC_MARK_ARROWS, scale the arrows to fit the line height.Neil1-4/+6
Avoid drawing one arm of each arrow longer than the other on Cocoa. The weight of the strokes is more uniform on Windows/Direct2D and Cairo.
2013-02-18Fix drawing of markers at negative coordinates due to integer truncation.nyamatongwe1-2/+3
For elastic over-shoot scrolling, Scintilla may draw lines before 0 so draws markers at negative coordinates. Normal float->int coercion uses truncation so that markers will be drawn a pixel away from where they should be for consistent placement within the marker space. If scrolling causes drawing in slices, a line may be drawn twice.
2012-07-21Scale factor implemented for RGBAImages to allow for high definition markers ↵nyamatongwe1-6/+6
on retina displays.
2012-03-01Bug #3494492. Change aveCharWidth in FontMeasurements to actually storenyamatongwe1-1/+1
fractional width. This change complements change set 3994. Make WidthText() and AverageCharWidth() actually return fractional widths under Direct2D. From Marko Njezic.
2012-02-29Centre RGBA markers in all cases including when larger than allocation. Bug ↵nyamatongwe1-1/+7
#3494184.
2012-02-17Draw markers horizontally off center only on textual margins. Bug #3488696.Marko Njezic1-3/+3
2012-02-17Make fold tail markers vertically centered.Marko Njezic1-13/+12
2011-09-25Palette support removed.nyamatongwe1-68/+59
2011-07-02Folding related fixes. Initiated by bug #3323805.Marko Njezic1-2/+10
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/+13
2011-06-20Properly highlight fold markers on sub lines. Bug #3323015.Marko Njezic1-3/+1
This complements fold markers highlighting change from revision 3619, which only fixed part of the problem. Changes from revision 3620 have been reverted, as they cause line to be drawn out of bounds and overlap with previously drawn marker above. They are also no longer needed, with this change.
2011-04-27Fix for fold markers not connecting. Bug #3292474.nyamatongwe1-1/+1
From Jérôme LAFORGE.
2011-04-27Fold marker fixes for wrapped lines. Bug #3291579.nyamatongwe1-0/+2
From Marko Njezic.
2011-04-07Add highlighting of current folding block. Feature #3147069.nyamatongwe1-37/+93
APIs MarkerEnableHighlight and MarkerSetBackSelected. From Jérôme Laforge.
2011-04-07Update copyright year.nyamatongwe1-1/+1
2010-11-05Undo previous change to folding markers as can be fixed Cairo drawingnyamatongwe1-13/+13
can be fixed in PlatGTK.cxx.
2010-11-05Change fold markers to connect better with Cairo drawing thatnyamatongwe1-13/+13
avoids last pixel with LineTo. Changed RectangleDraw and Ellipse to align better with lines and so match fold markers.
2010-02-17Formatting whitespace.nyamatongwe1-2/+2
2009-06-01Don't display SC_MARK_AVAILABLE markers.nyamatongwe1-1/+2
2009-05-27Added SC_MARK_UNDERLINE from Stephan Deibel.nyamatongwe1-1/+1
2008-01-19Added SC_MARK_LEFTRECT margin marker.nyamatongwe1-0/+4
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+4
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
2005-04-09SC_MARK_FULLRECT from Robert Roessler.nyamatongwe1-1/+3
2003-01-10Moved XPM code out to XPM file.nyamatongwe1-143/+5
2003-01-03Enable text form XPM for autocompletion lists.nyamatongwe1-3/+12
Enable line form XPM for markers.
2002-10-05Fixed compiler warnings.nyamatongwe1-2/+2
2002-10-05Fixed compiler warning.nyamatongwe1-1/+1
2002-10-03Cleaned up pixmap marker code.nyamatongwe1-20/+4
2002-10-02Fixed bad colour reading from XPM.nyamatongwe1-1/+0
2002-10-02PixMap marker support.nyamatongwe1-27/+200
2002-08-07New markers called DOTDOTDOT and ARROWS for emulating Python prompts.nyamatongwe1-0/+16
2001-10-28Removed platform-specific headers from Platform.h and thus stoppednyamatongwe1-4/+4
visibility of these headers to most code.
2001-09-24Patch from Stephan for the SC_MARK_BACKGROUND marker.nyamatongwe1-1/+1
2001-09-09Fixed warning from Borland.nyamatongwe1-3/+2
2001-09-07Marker can be any character.nyamatongwe1-1/+11
2001-08-17Made header blobs larger and odd number of pixels in size so that minusnyamatongwe1-40/+42
and plus signs can be centred.
2001-08-06Fold column gets outlining style appearence.nyamatongwe1-3/+141
2001-02-24Updated documentation comments from Philippe.nyamatongwe1-1/+3
2001-01-28Updating copyright notices for 2001.nyamatongwe1-1/+1