aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
AgeCommit message (Collapse)AuthorFilesLines
2023-03-02Add multithreaded wrap to significantly improve performance of wrapping largeNeil1-1/+1
files.
2023-02-12Feature [feature-requests:#1476] Move default representation code intoNeil1-1/+0
SpecialRepresentations class.
2023-01-15Replace XYACCUMULATOR with XYPOSITION as will not return to single-precisionNeil1-3/+3
float calculations. Remove unnecessary casts.
2023-01-15Simplify DrawIndentGuide and move decision to offset out of loop.Neil1-1/+1
2022-12-12Reorder arguments to drawing functions to be consistent.Neil1-19/+16
Make methods private or make into functions where possible to hide more implementation. Reorder methods and functions so related code closer and header and implementation match order. Use unnamed namespace instead of static.
2022-12-09Shorten code with ColourOptional alias for std::optional<ColourRGBA>.Neil1-3/+3
2022-07-22Move EditView::hideSelection to (inverted) SelectionAppearance::visible so thatNeil1-1/+0
it can differ between screen and print. Add GetSelectionHidden to allow testing of HideSelection.
2022-05-17Duplicate APIs to support 64-bit document positions on Win32:Neil1-1/+1
SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL, and SCI_FORMATRANGEFULL.
2022-02-02Feature [feature-requests:#1427] Add multithreaded layout which improvesNeil1-0/+6
performance significantly for very wide lines.
2022-01-22Feature [feature-requests:#1422] Minor improvements to line layout and wrapping.Zufu Liu1-1/+1
May avoid some small costs and be clearer.
2022-01-20Hide details of PositionCache.Neil1-1/+1
Move class declarations of PositionCache and PositionCacheEntry into cxx file and only define IPositionCache interface and CreatePositionCache factory function in header.
2021-07-03Feature [feature-requests:#1408] Avoid sprintf for hexadecimal character blobs.Zufu Liu1-0/+1
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-6/+5
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil1-3/+3
will be published in externally visible header.
2021-05-07Use shared_ptr for LineLayoutCache as it simpifies lifetime management.Neil1-29/+1
AutoLineLayout and other code no longer needed so removed.
2021-05-07Add lineNumber_ argument to LineLayout constructor so always knows which line itNeil1-1/+1
is for. Add accessor for line number and method to say whether compatible with a line number and number of characters. Since LineLayout can report its line number, remove line argument from EditView::LayoutLine which simplifies calling it.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-3/+3
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-01Changed parameters for DrawTabArrow and DrawTabArrowFn to allow additionalNeil1-1/+2
traits in the future.
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil1-3/+2
InitPixMap. Changed DropGraphics from releasing surfaces to deleting them. This simplifies code and the added cost of allocating a new Surface is small.
2021-03-19Switch enum to enum class.Neil1-12/+13
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil1-1/+1
2020-06-12Bug [#2141]. Implement end of line annotations.Prakash Sahni1-0/+2
2020-06-11Use noexcept where safe and maintainable.Neil1-3/+3
2020-03-19Minor improvements - noexcept, constexpr, cast removal.Neil1-1/+1
2019-03-03Use noexcept where reasonable.Neil1-7/+7
2019-02-02Feature [feature-requests:#1217]. Implement CARETSTYLE_BLOCK_ALWAYS.Zufu Liu1-1/+1
2018-06-02UpdateBidiData is called by EditView but doesn't use any EditView fields so makeNeil1-1/+1
it static.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-2/+4
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-1/+1
2018-05-01Fix minor issues with AutoSurface, AutoLineLayout and SelectionText.Neil1-4/+4
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-1/+5
2018-04-26Specify concrete class for ldTabstops and use directly instead of copying valueNeil1-1/+3
of .get() before use.
2018-04-20Mark pointer to constant parameter as const.Neil1-1/+1
2018-04-20Avoid casts for DrawIndentGuide.Neil1-1/+1
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-4/+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/+4
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-4/+4
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-21More consistent deletion of standard methods.Neil1-0/+3
2017-04-20More consistent deletion of standard methods.Neil1-1/+2
2017-04-07Use same parameter names in declarations and definitions.Neil1-1/+1
2017-04-01Fix DisplayFromPosition pos argument to be correct type.Neil1-1/+1
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-24/+24
and lines.
2017-01-04Mark some const methods as const.Neil1-1/+1
2016-12-09Use double coordinates instead of float in some cases as float ran out ofNeil1-1/+1
precision in long documents. This meant that individual lines could not be selected by mouse when the document exceeded 16.7 million lines.
2016-11-29Textual tags may be displayed on folded lines with SCI_TOGGLEFOLDSHOWTEXT.Tse Kit Yam1-0/+4
2016-11-05Add options to choose between the locations of a position when thereNeil Hodgson1-1/+3
are multiple locations for one position. The main current use is to find the location at the end of a line or display line when the commonly used location is at the start of the next line.
2015-03-11Allow minimum tab width to be tweaked to allow character cell implementationNeil1-0/+1
to work better.
2014-11-19Platform overrides for some drawing and behaviour to benefit PLAT_CURSES.Neil1-0/+10
From Mitchell Foral.