aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
AgeCommit message (Collapse)AuthorFilesLines
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil1-0/+3
completing a bitmap. Currently only has a real implementation on Direct2D. Avoiding implicit flushes inside Copy and FillRectangle produced a 23% speed improvement on files with about 1 indentation guide per line as the drawing pipeline was being flushed for each indentation guide.
2021-03-19Implement PopClip to allow local clipping.Neil1-1/+6
2021-03-19Switch enum to enum class.Neil1-50/+51
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil1-1/+1
2021-03-18Use unique_ptr for Surface::Allocate to show transfer of ownership.Neil1-3/+3
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-15/+15
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
2021-02-02Bug [#2231]. Inconsistent behaviour in navigation on a line containing Japanesecshnik1-1/+1
symbols #247
2020-08-27Bug [#2197]. Avoid rewrap when checkTextAndStyle finds unchanged from cache.Zufu Liu1-5/+4
2020-08-26Bug [#2199]. Fixed bug where a hovered INDIC_TEXTFORE indicator was not applyinguhf71-3/+6
the hover colour to the whole range.
2020-08-21Reduce code and variable lifetime.Zufu Liu1-6/+3
2020-08-21Bug [#2197]. Fixed bug where layout caching was ineffective.Neil1-1/+2
2020-07-16Make WrapMode an enum class for more type safety.Neil1-4/+4
2020-07-16Rename validLevel to ValidLevel and make an enum class.Neil1-8/+8
2020-07-16Add some const, constexpr.Neil1-1/+1
2020-07-11Removed calls that had no effect as drawing in indent guides uses FillRectangleNeil1-2/+0
with explicit arguments.
2020-07-11Treat DEL as a control character for determining block caret size.Zufu Liu1-5/+6
Moved IsControlCharacter to anonymous namespace.
2020-06-12Bug [#2141]. Implement end of line annotations.Prakash Sahni1-1/+93
2020-06-11Use noexcept where safe and maintainable.Neil1-3/+3
2020-06-10Convert enum to enum class. Add noexcept and const.Neil1-6/+6
2020-03-26Fix spelling mistakes.Neil1-1/+1
2020-03-19Minor improvements - noexcept, constexpr, cast removal.Neil1-10/+8
2020-03-19Feature [feature-requests:1302] Simplify DrawCarets.Zufu Liu1-5/+4
2020-03-19Feature [feature-requests:1302] Add IsCaretVisible to simplify DrawCarets.Zufu Liu1-1/+1
2019-06-21Bug [#2106]. Place line caret in correct location for line caret with block OVR.Neil1-1/+3
That is for CARETSTYLE_LINE | CARETSTYLE_BLOCK mode.
2019-05-11Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".Neil1-1/+1
2019-04-26Feature [feature-requests:#1238]. Simplify case forcing with CaseForce functionNeil1-29/+35
that hoists the repeated logic out of the 2 loops that check or set the cached visual line text.
2019-04-26Feature [feature-requests:#1238]. Simplify camel case forcing by checking onlyNeil1-4/+4
for upper and lower case characters instead of current word characters. This changes behaviour for words like "_word" -> "_Word" instead of remaining "_word" but that doesn't matter for this feature's intended use which is to allow display of ASCII-only keywords in the user's preferred casing (else/ELSE/Else) for languages with case-insensitive keywords.
2019-04-25Bug [#1238]. Removed redundant loop.Zufu Liu1-4/+0
2019-04-05Feature [feature-requests:#1272]. Add API to set default fold display text.Neil1-3/+4
2019-04-02Removed variable which duplicated meaning of earlier variable.Neil1-3/+2
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+1
be needed for adding a CharacterCategory feature.
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-9/+9
2019-03-03Use noexcept where reasonable.Neil1-8/+8
2019-02-05Feature [feature-requests:#1217]. Change API so block just for overstrike.Zufu Liu1-5/+6
2019-02-02Feature [feature-requests:#1217]. Implement CARETSTYLE_BLOCK_ALWAYS.Zufu Liu1-3/+3
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments.
2019-01-06Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-1/+1
2018-06-06Added brace for multi-line if and normalized space.Neil1-6/+7
2018-06-06SC_WRAPINDENT_DEEPINDENT added to indent two tabs from previous line.Henrik Hank1-3/+9
2018-06-02Make virtual space selections visible in bidirectional mode.Neil1-1/+10
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-5/+10
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-13/+13
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-37/+163
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-1/+0
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-31/+28
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-13When line end characters are displayed, indicators are drawn under/over them.Neil1-6/+7