aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16Use enum class for selectionUnit (previously selectionType) for more type ↵Neil1-1/+1
safety.
2020-06-12Bug [#2141]. Implement end of line annotations.Prakash Sahni1-0/+1
2020-06-10Feature [feature-requests:1355]. Round instead of truncating for SCI_TEXTWIDTH.Neil1-1/+1
2020-05-02Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not ↵Neil1-1/+1
subclass.
2020-02-29Add const and noexcept where they make sense.Neil1-4/+4
2020-02-27Feature [feature-requests:497] Structure caret policy data and pass policy forNeil1-9/+18
dragging instead of manipulating global state..
2019-11-15Feature [feature-requests:#1316] Allow target to have virtual space.Neil1-2/+1
2019-07-05Add SetAppearance method to make changes to appearance settings and only performNeil1-0/+13
invalidation if the setting is actually changed.
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-2/+2
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-06-17Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.Zufu Liu1-1/+1
2019-03-19Make destructors public to avoid warnings.Neil1-1/+3
2019-03-05Avoid hangs in idle styling modes caused by high-priority idle work styling.Neil1-0/+3
2019-03-03Use noexcept where reasonable.Neil1-37/+37
2018-10-15Set number of lines wrapped in one go to maintain responsiveness and efficiencyNeil1-0/+1
by measuring speed and limiting to around 10 milliseconds.
2018-10-11Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-0/+1
This can reduce the time taken to fold a document by half.
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-1/+1
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-0/+2
2018-05-03Eliminate XFromPosition overload for Sci::Position as SelectionPosition overloadNeil1-1/+0
can always be used.
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/+3
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-0/+23
2018-04-25Removed mention of class that no longer exists.Neil1-1/+0
2018-04-24Feature [feature-requests:#1215]. Make a parameter const.Neil1-1/+1
2018-04-20More const and cast avoidance.Neil1-1/+1
2018-04-20Mark pointer to constant parameter as const.Neil1-1/+1
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-4/+4
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-14Make some changes recommended by clang-tidy.Neil Hodgson1-2/+2
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-4/+4
2018-03-01Mark pointer argument as const as not written to.Neil1-1/+1
2018-02-24Fix move-extends-selection mode for rectangular and line selections.Mitchell Foral1-0/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-3/+0
2017-06-12Simplify mouse and keyboard handling by only retaining the 'WithModifiers" form.Neil1-11/+2
All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed.
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-18/+13
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-21More consistent deletion of standard methods.Neil1-1/+4
2017-04-19Use =delete for unwanted functions.Neil1-4/+3
2017-04-07Use same parameter names in declarations and definitions.Neil1-3/+3
2017-04-02Added "Reverse Selected Lines" as SCI_LINEREVERSE.Vicente1-0/+1
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-92/+92
and lines.
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-2/+2
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-03-04Use "override" for Cocoa platform code and add to Editor where possible.Neil Hodgson1-16/+16
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-06-17Bug [#1888]. Only invalidate selection when using SCI_SETSELECTIONN api'sJohn Ehresman1-0/+1
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-0/+2
2016-11-05Add options to choose between the locations of a position when thereNeil Hodgson1-2/+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.
2016-10-26Marked method const as it can be.Neil1-1/+1
2016-09-29The number of margins can be changed with SCI_SETMARGINS.Neil1-0/+1
2016-09-27On Win32, mouse wheel scrolling can be restricted to only occur when the mouseStefan Küng1-0/+1
is within the window.
2016-08-31Bug [#1850]. Use tabs for virtual space in indentation when tabs enabled.jedailey1-1/+2
2016-05-14Post a caret moved accessibility event in Editor::MovedCaret so that screenNeil1-0/+1
readers like NVDA will speak when extending the selection with a Shift+Down key combination scrolls but does not move the caret position relative to the screen.