aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
AgeCommit message (Collapse)AuthorFilesLines
2021-04-26Avoid some warnings.Neil1-11/+14
2021-04-26Extract related groups of fields out of ViewStyle into new structs.Neil1-70/+56
Size of ViewStyle makes it more difficult to understand and this helps a bit.
2021-04-26Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, notNeil1-2/+0
appearance.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-37/+34
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-20Add header to make recent change compile with Xcode.Neil Hodgson1-0/+1
2021-04-20Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.Neil1-3/+12
2021-04-05Change IndentView, WhiteSpaceVisibility, and TabDrawMode to enum class.Neil1-7/+7
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil1-0/+15
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-19Switch enum to enum class.Neil1-2/+2
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil1-8/+7
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-08-25Move SCI_MULTIEDGEADDLINE impleemntation into ViewStyle as it is too complex forNeil1-0/+11
switch case in Editor.
2020-07-16Make WrapMode an enum class for more type safety.Neil1-5/+5
2020-06-12Bug [#2141]. Implement end of line annotations.Prakash Sahni1-0/+4
2020-06-11Use noexcept where safe and maintainable.Neil1-5/+5
2020-05-01Make lambdas noexcept.Zufu Liu1-4/+4
2020-03-19Feature [feature-requests:1302] Add IsCaretVisible to simplify DrawCarets.Zufu Liu1-0/+4
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