aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditModel.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-05-16Feature [feature-requests:#1516]. Access SpecialRepresentations through aZufu Liu1-0/+1
unique_ptr. Reduces executable size.
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-1/+1
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/+4
change history markers and simplifies calls.
2022-03-05Feature [feature-requests:#1432] Simplify setting surface modes withZufu Liu1-0/+4
EditModel::CurrentSurfaceMode.
2021-09-28Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow stylesNeil1-0/+1
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that.
2021-05-28Better exception handling for noexcept methods. More accurate noexcept marking.Neil1-1/+6
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-15/+15
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/+5
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-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil1-1/+1
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-26Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, notNeil1-0/+1
appearance.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil1-0/+1
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-19Switch enum to enum class.Neil1-1/+1
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-06-11Use noexcept where safe and maintainable.Neil1-1/+1
2020-03-19Use noexcept in EditModel.Neil1-3/+3
2019-04-05Feature [feature-requests:#1272]. Add API to set default fold display text.Neil1-0/+17
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+2
be needed for adding a CharacterCategory feature.
2018-10-11Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-1/+1
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-0/+9
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-1/+0
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-04-21Code improvements - noexcept and intialization.Neil1-1/+1
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil1-1/+1
This option is provisional and experimental.
2018-03-27Use an interface for ContractionState so that there can be differentNeil1-0/+1
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-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-1/+1
2017-12-19Start of bidirectional code - implement SCI_SETBIDIRECTIONAL.Neil1-0/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+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-05-21Make SparseVector work with move-only types.Neil1-0/+2
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-6/+4
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-5/+5
and lines.
2016-11-29Textual tags may be displayed on folded lines with SCI_TOGGLEFOLDSHOWTEXT.Tse Kit Yam1-0/+1
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-02-04Implement hover style and colour for indicators.Neil1-0/+1
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-09-12Allow choice between windowed and inline IME.Neil1-0/+1
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+74