aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-08-16Backport: On Cocoa, clicks in the blank text margin now put the caret at the ↵Neil Hodgson1-1/+1
start of text instead of performing a margin click action. This matches the I-beam cursor appearance. Backport of changeset 7076:da262571a2a2.
2018-05-25Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵mitchell1-2/+3
size_t for Polygon and delete the standard copy and assignment methods. Backport of changeset 6940:89fd29243232.
2018-04-26Backport: Change type to avoid casts.Neil1-2/+2
Backport of changeset 6747:6f6113f848b1.
2018-03-16Backport: Remove line-end white space.Neil1-1/+1
Backport of changeset 6625:2dd6b8049c4e.
2018-03-01Backport: Mark variables as const where simple.Neil1-3/+3
Backport of changeset 6470:d78a4b522662.
2017-10-15Backport: Bug [#1978]. Minor undefined behaviour fixed.Zufu Liu1-1/+1
Backport of changeset 6398:2db0528f34b5.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-2/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-06-12Backport: Removed unused functions and methods from Platform.h.Neil1-1/+1
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f.
2017-05-21Use UniqueString to simplify FontNames.Neil1-15/+8
2017-04-12For speed, store height of capital letters in FontMeasurements so notNeil1-0/+1
recalculated for every character blob.
2017-04-09Modernise ViewStyle with vector, unique_ptr, any_of, and method deletion.Neil1-85/+69
2017-04-06Added const where possible.Neil1-5/+5
2017-04-06Added a caret line frame as an alternative visual for highlighting the caret ↵A-R-C-A1-1/+13
line.
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-2/+3
where it may be needed in the future.
2016-11-14Added alternate appearance for visible tabs which looks like a horizontal line.jedailey1-0/+2
2016-10-26Moved location to margin code from Editor to ViewStyle.Neil1-0/+11
2016-09-29The number of margins can be changed with SCI_SETMARGINS.Neil1-4/+3
2016-09-23EDGE_MULTILINE and SCI_MULTIEDGEADDLINE added to allow displaying multipleA-R-C-A1-5/+4
vertical edges simultaneously.
2015-09-26Add parentheses to fix warning from Clang.Neil Hodgson1-2/+2
2015-09-26Whitespace may be made visible just in indentation.nkmathew1-0/+6
2015-09-23When SC_MARK_UNDERLINE if not assigned to a margin, stop drawing the whole line.Neil1-15/+30
Optimise drawing of markers that appear in the text area.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
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>.
2015-02-15Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicatorNeil1-0/+7
colours and to change the colour of text.
2015-02-04Implement hover style and colour for indicators.Neil1-0/+9
2014-09-22Add a constructor that takes arguments for each attribute to make it easier toNeil1-9/+3
set up indicators. Changed field order so that the colour, which is likely to be set, is before under which is likely to be left default.
2014-07-18Allow extreme ascenders and descenders to overlap into adjacent lines withNeil1-0/+6
multiple phase drawing option.
2014-07-17Refactored Drawline into separate methods for each aspect of drawing.Neil1-0/+8
Standardised order of arguments to drawing methods.
2014-06-26Move calculation of line background colour to ViewStyle and represent as aNeil1-0/+37
ColourOptional to tightly bind the value with whether it is set.
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-4/+4
conversions and other conversions more consistent.
2014-03-18Minor tweaks to avoid ststic checking warnings.Neil1-3/+3
2014-02-02Added wrap mode SC_WRAP_WHITESPACE which only wraps on whitespace, not on ↵Neil1-0/+3
style changes. From Robert Gieseke.
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-2/+3
guaranty termination where possible.
2013-09-10Fix variable shadowing issues.nyamatongwe1-2/+2
2013-08-20Fix bug where coordinates were relative to the text view instead of the ↵nyamatongwe1-0/+4
whole view.
2013-08-16Initialize extended styles to the default style.Neil1-0/+4
2013-08-09Structure colour settings into ColourOptional and ForeBackColours types.Neil1-34/+15
2013-08-09Move wrapping, edge and visual adjustments from Editor to ViewStyle.Neil1-0/+66
Move printing parameters into a separate struct.
2013-08-08Move functionality from Editor to ViewStyle.Neil1-1/+19
controlCharSymbol setting moved along with calculated fields for tab width and control symbols. Use of TextSegment simplified and variables made const where possible.
2013-07-08Bug: [#1494]. Avoid crash if SC_MARK_PIXMAP used without a pixmap.Neil1-2/+2
2013-06-13Bug: [#1487]. Fix memory leak of font names.nyamatongwe1-0/+3
2013-05-02Replacing raw pointers and allocations with std::vector and std::map.nyamatongwe1-121/+79
2013-03-15Use an NSScrollView on Cocoa for kinetic scrolling and hiding scrollbars ↵nyamatongwe1-2/+7
unless wanted. Also affects platform-independent code.
2013-02-22Define the maximum number of margins in Scintilla.iface.nyamatongwe1-4/+4
2013-02-05Add allocation of extended styles.nyamatongwe1-1/+12
2013-01-30Added assert to silence Xcode analyse warning.nyamatongwe1-0/+2
2013-01-01Feature #3592730. Option for caret line to be visible without focus.nyamatongwe1-0/+2
From Vidya Wasi.
2012-04-06Remove unused variable.nyamatongwe1-2/+0
From Marko Njezic.
2012-03-03Remove unused variables. Bug #3494744. From Marko Njezic.nyamatongwe1-2/+0
2012-02-25Remove unused variable.Marko Njezic1-5/+0