aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16Backport: Make AddNumber an enum class for more type safety.Neil1-1/+1
Backport of changeset 8410:84c7d7b3c0b8.
2020-07-16Backport: Use enum class for selectionUnit (previously selectionType) for ↵Neil1-1/+1
more type safety. Backport of changeset 8409:74950c91ef69.
2020-06-12Backport: Bug [#2141]. Implement end of line annotations.Prakash Sahni1-0/+1
Backport of changeset 8306:1b383adfdf71.
2020-06-10Backport: Feature [feature-requests:1355]. Round instead of truncating for ↵Neil1-1/+1
SCI_TEXTWIDTH. Backport of changeset 8297:3665e2c20cd4.
2020-05-02Backport: Feature [feature-requests:1349] Define CopyAllowLine only on ↵Neil1-1/+1
Editor, not subclass. Backport of changeset 8223:a81895285b46.
2020-02-29Backport: Add const and noexcept where they make sense.Neil1-4/+4
Backport of changeset 7991:d7d83db0457a.
2020-02-27Backport: Feature [feature-requests:497] Structure caret policy data and ↵Neil1-9/+18
pass policy for dragging instead of manipulating global state.. Backport of changeset 7990:9716682f5120.
2019-11-15Backport: Feature [feature-requests:#1316] Allow target to have virtual space.Neil1-2/+1
Backport of changeset 7768:5d73aa55a6ee.
2019-07-05Backport: Add SetAppearance method to make changes to appearance settings ↵Neil1-0/+13
and only perform invalidation if the setting is actually changed. Backport of changeset 7699:ed73f7607752.
2019-07-11Backport: Bug [#2038]. Source of input reported in SCN_CHARADDED.mitchell1-2/+2
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT. Backport of changeset 7613:4cfac35c71bd.
2019-07-11Backport: Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.mitchell1-1/+1
Backport of changeset 7575:e1e9f53b0423.
2019-03-19Backport: Make destructors public to avoid warnings.Neil1-1/+3
Backport of changeset 7323:09b4042d7092.
2019-03-31Backport Avoid hangs in idle styling modes caused by high-priority idle work ↵mitchell1-0/+3
styling. Backport of changeset 7315:57ea0255c8aa, but without constexpr, as non-static data members cannot be constexpr in C++11.
2019-03-03Backport: Use noexcept where reasonable.Neil1-37/+37
Backport of changeset 7287:0272b3c3a03b.
2018-10-15Backport: Set number of lines wrapped in one go to maintain responsiveness ↵Neil1-0/+1
and efficiency by measuring speed and limiting to around 10 milliseconds. Backport of changeset 7114:efe194662480.
2018-10-11Backport: Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-0/+1
This can reduce the time taken to fold a document by half. Backport of changeset 7110:09c647755bed.
2018-05-24Backport: Fix warnings. Add const, constexpr, and noexcept. Initialize. ↵Neil1-1/+1
Standard methods. Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. Backport of changeset 6974:e99161ef7bdd.
2018-05-03Backport: Eliminate XFromPosition overload for Sci::Position as ↵Neil1-1/+0
SelectionPosition overload can always be used. Backport of changeset 6785:161efa2f1972.
2018-05-01Backport: Fix minor issues with AutoSurface, AutoLineLayout and SelectionText.Neil1-4/+4
Backport of changeset 6769:b8ae2860861f.
2018-04-28Backport: Delete standard functions on classes where there could be attempts ↵Neil1-1/+3
to copy. Backport of changeset 6756:29866b0927e0.
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil1-0/+23
into pointers. Backport of changeset 6738:5b39367ee7da.
2018-04-25Backport: Removed mention of class that no longer exists.Neil1-1/+0
Backport of changeset 6736:06391d094c6a.
2018-04-24Backport: Feature [feature-requests:#1215]. Make a parameter const.Neil1-1/+1
Backport of changeset 6733:f6be8941c4b8.
2018-05-06Backport: More const and cast avoidance.mitchell1-1/+1
Backport of changeset 6722:9a20edc44615.
2018-04-20Backport: Mark pointer to constant parameter as const.Neil1-1/+1
Backport of changeset 6721:33bf16396488.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil1-4/+4
for 64-bit 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. Backport of changeset 6705:5c0a80740b8c.
2018-05-05Backport: Make some changes recommended by clang-tidy.mitchell1-2/+2
Backport of changeset 6687:4cbf987c7590.
2018-03-09Backport: Use Position/Line/int more accurately in preparation for large ↵Neil1-4/+4
documents. Backport of changeset 6480:f2650eaa75e6.
2018-03-01Backport: Mark pointer argument as const as not written to.Neil1-1/+1
Backport of changeset 6468:9ed7929c7900.
2018-02-24Backport: Fix move-extends-selection mode for rectangular and line selections.Mitchell Foral1-0/+1
Backport of changeset 6458:0a8a766722c0.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-4/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-06-12Backport: Remove old timer code in favour of the FineTicker* methods.Neil1-3/+0
Backport of changeset 6311:3a180dc6e9c8.
2017-06-12Backport: Simplify mouse and keyboard handling by only retaining the ↵Neil1-11/+2
'WithModifiers" form. All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed. Backport of changeset 6310:af83baede430.
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.