aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-06-22Backport: Bug [#1924]. Option to allow block carets to trail selection ranges.Neil1-1/+4
Bit flag value is CARETSTYLE_BLOCK_AFTER=256. Backport of changeset 7609:340a0f51fb3c.
2019-06-21Backport: Bug [#2106]. Place line caret in correct location for line caret ↵Neil1-0/+6
with block OVR. That is for CARETSTYLE_LINE | CARETSTYLE_BLOCK mode. Backport of changeset 7608:b725657be4ae.
2019-06-22Backport: Feature [feature-requests:#1297] Update to use INDICATOR_ instead ↵Neil1-2/+2
of INDIC_ as INDIC_ is also used for indicator styles. Backport of changeset 7594:190079cd334f.
2019-05-11Backport: Feature [feature-requests:#1283]. Standardise spelling - "color" ↵Neil1-4/+4
-> "colour". Backport of changeset 7498:7dd63f4402ae.
2019-04-08Backport: Use noexcept where reasonable in ViewStyle.Neil1-17/+16
Backport of changeset 7410:af839955afad.
2019-04-08Backport: Rename FontNames to UniqueStringSet and move into UniqueString.Neil1-26/+0
It may be useful in more situations than just font names. Backport of changeset 7409:a70a4ee51448.
2019-02-05Backport: Feature [feature-requests:#1217]. Change API so block just for ↵Zufu Liu1-0/+13
overstrike. Backport of changeset 7249:06b6a93d8e3f.
2019-01-06Backport: Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-1/+1
Backport of changeset 7195:ce4394f12c76.
2018-10-11Backport: Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-1/+1
Backport of changeset 7111:e3cecaf6bd37.
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