aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditModel.h
AgeCommit message (Collapse)AuthorFilesLines
2025-02-07Add vertical scroll position into undo selection history unconditionally.Neil1-4/+10
2025-02-04Ensure undo selection history for view is deleted when view destroyed orNeil1-0/+1
history disabled.
2025-02-01Use string form for selection undo history as it saves significant space.Neil1-17/+6
On average takes around 20% of SelectionSimple.
2025-01-25Bug [#1224]. Use enum for undo selection history and make API names moreNeil1-1/+1
consistent as 'undo selection' instead of 'selection undo' as more closely associated with undo than selection.
2025-01-22Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY.Neil1-0/+41
2024-07-27Feature [feature-requests:#1530]. SCI_SETCOPYSEPARATOR sets string to separateNeil1-0/+1
parts of multiple selection when copied.
2024-05-16Feature [feature-requests:#1516]. Access SpecialRepresentations through aZufu Liu1-1/+1
unique_ptr. Reduces executable size.
2022-08-13Reduce warnings with noexcept, fewer casts, and other minor changes.Neil1-1/+1
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-0/+2
in the margin or in the text.
2022-07-31Move main access to active marker bit set to model. This will allow merging inNeil1-0/+1
change history markers and simplifies calls.
2022-03-05Feature [feature-requests:#1432] Simplify setting surface modes withZufu Liu1-0/+1
EditModel::CurrentSurfaceMode.
2021-08-27Feature [feature-requests:#841] Remove hotspot from LineLayout and rely onZufu Liu1-1/+0
reference to model.
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-05Redraw when focus changes. Move hasFocus to EditModel where it can be used forNeil1-0/+1
drawing more easily.
2021-05-01Improve selection drawing code. Use InSelection enum instead of int.Neil1-0/+1
Add Selection::RangeType and EditModel::LineEndInSelection to hoist code out of EditView. Replace SimpleAlphaRectangle with Surface::FillRectangleAligned when alpha known to not be SC_ALPHA_NOALPHA.
2021-04-26Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, notNeil1-0/+1
appearance.
2021-03-19Switch enum to enum class.Neil1-1/+1
2020-06-11Use noexcept where safe and maintainable.Neil1-1/+1
2020-03-19Use noexcept in EditModel.Neil1-3/+3
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-1/+1
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-04-05Feature [feature-requests:#1272]. Add API to set default fold display text.Neil1-0/+4
2019-03-03Use noexcept where reasonable.Neil1-1/+1
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-0/+2
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-1/+3
2018-03-27Use an interface for ContractionState so that there can be differentNeil1-1/+1
implementations of that interface.
2017-12-19Start of bidirectional code - implement SCI_SETBIDIRECTIONAL.Neil1-0/+2
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-19Use =delete for unwanted functions.Neil1-4/+3
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-4/+4
and lines.
2016-11-29Textual tags may be displayed on folded lines with SCI_TOGGLEFOLDSHOWTEXT.Tse Kit Yam1-0/+1
2015-11-20Remove line end whitespace.Neil1-1/+1
2015-05-16Make unused single argument constructors explicit.Neil1-1/+1
2015-02-04Implement hover style and colour for indicators.Neil1-0/+1
2014-09-12Allow choice between windowed and inline IME.Neil1-0/+2
2014-08-03Made destructor virtual to avoid warnings.Neil1-1/+1
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+67