aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2018-05-01Add IntegerRectangle to simplify drawing lines without casting.Neil1-24/+28
2018-04-27Use nullptr for custom draw functions.Neil1-7/+8
2018-04-26Specify concrete class for ldTabstops and use directly instead of copying valueNeil1-7/+4
of .get() before use.
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-19/+30
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-20More const and cast avoidance.Neil1-5/+6
2018-04-20Mark pointer to constant parameter as const.Neil1-1/+1
2018-04-20Feature [feature-requests:#1215]. Use standard functions in prference toNeil1-4/+4
RoundXYPosition, XYMinimum, and XYMaximum.
2018-04-20Avoid casts for DrawIndentGuide.Neil1-6/+6
2018-04-19Templatize MakeUpperCase/MakeLowerCase so they work on char/int without casts.Neil1-4/+4
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil1-1/+1
Constructor not marked explicit as may be used in external platform layers.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-44/+44
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened.
2018-04-19SC_PRINT_SCREENCOLOURS doesn't force the background colour of line numbers ↵Nicholai Benalal1-2/+3
white.
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil1-4/+3
This option is provisional and experimental.
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-8/+0
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-0/+8
2018-03-28Split decorations into interface and implementation.Neil1-10/+10
2018-03-27Use an interface for ContractionState so that there can be differentNeil1-15/+15
implementations of that interface.
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-1/+0
needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage.
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-22/+24
2018-03-01Mark variables as const where simple.Neil1-46/+46
2018-03-01Use make_unique in preference to new.Neil1-1/+1
From Effective Modern C++ Item 21.
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-6/+0
interfaces ILexer4 and IDocument.
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-06-22Cast between Sci_Position.h types used for lexers and Position.h types used inNeil1-41/+49
core to allow the Sci_Position.h types to widen to 64-bits.
2017-05-21Use unique_ptr and forward_list to regularize PerLine data structures.Neil1-0/+1
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.