aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-06-22Bug [#1924]. Option to allow block carets to trail selection ranges.Neil1-1/+4
Bit flag value is CARETSTYLE_BLOCK_AFTER=256.
2019-06-21Bug [#2106]. Place line caret in correct location for line caret with block OVR.Neil1-0/+6
That is for CARETSTYLE_LINE | CARETSTYLE_BLOCK mode.
2019-06-22Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ asNeil1-2/+2
INDIC_ is also used for indicator styles.
2019-05-11Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".Neil1-4/+4
2019-04-08Use noexcept where reasonable in ViewStyle.Neil1-17/+16
2019-04-08Rename FontNames to UniqueStringSet and move into UniqueString.Neil1-26/+0
It may be useful in more situations than just font names.
2019-03-12Feature [feature-requests:#1217]. Add CARETSTYLE_INS_MASK definition.Neil1-2/+0
2019-03-07Move CARETSTYLE_INS_MASK from Scintilla.iface as it is not documented.rel-4-1-4Neil1-0/+2
2019-02-05Feature [feature-requests:#1217]. Change API so block just for overstrike.Zufu Liu1-0/+13
2019-01-06Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-1/+1
2018-10-11Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-1/+1
2018-08-16On Cocoa, clicks in the blank text margin now put the caret at the start of textNeil Hodgson1-1/+1
instead of performing a margin click action. This matches the I-beam cursor appearance.
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-2/+2
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-2/+3
Polygon and delete the standard copy and assignment methods.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-03Specify type of std::clamp to avoid casting arguments.Neil1-1/+1
2018-04-26Change type to avoid casts.Neil1-2/+2
2018-03-16Remove line-end white space.Neil1-1/+1
2018-03-01Mark variables as const where simple.Neil1-3/+3
2018-03-01Use make_unique in preference to new.Neil1-1/+1
From Effective Modern C++ Item 21.
2018-01-28Replace Sci::clamp with C++ standard std::clamp function.Neil1-1/+1
std::clamp is from C++17.
2017-10-15Bug [#1978]. Minor undefined behaviour fixed.Zufu Liu1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-06-12Removed unused functions and methods from Platform.h.Neil1-1/+1
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux.
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