aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/ScintillaQt.h
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26Ensure variables initialized.Neil1-1/+1
2021-10-26Don't set default values for parameters when overriding, only in base class.Neil1-1/+1
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-06-17Add SciFnDirectStatus, a direct access function which also returns status so canNeil1-0/+2
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-7/+10
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-09Add @file <filename> comments to follow convention.Neil1-2/+2
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.
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-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-2/+2
2020-06-24Converting between UTF-8 and current encoding.Neil1-0/+2
Allows platform-independent code to be written just to handle Unicode.
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.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
2019-12-13Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-5/+0
This allows removal of related #include statements.
2019-09-28Avoid calling virtual methods during destruction to stop warnings.Neil1-0/+2
This code worked correctly before this change.
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+1
be needed for adding a CharacterCategory feature.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
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-01-28Match declaration signature to definition signature.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-5/+3
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-07-04Dropping files fires the SCN_URIDROPPED notification instead of inserting text.Justin Dailey1-0/+2
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-1/+0
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
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-19Use "override" for GTK+ and Qt platform layers.Neil1-30/+30
2017-04-15Avoid calling virtual functions in constructors and destructors.Neil1-1/+1
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-6/+7
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-1/+1
and lines.
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+1
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-05-13Make single argument constructors explicit where simple to avoid possibility ofNeil1-1/+1
unintended conversions.
2015-04-09Avoid "absolute-value" warning from clang 3.6.Neil1-0/+1
2014-10-10Ensure can see standard exceptions and so build.Neil1-0/+1
2014-07-15Implement separate timers for each type of periodic activity and turn them ↵Neil Hodgson1-2/+8
on and off as required. This saves power as there are fewer wake ups. A tolerance value is provided so that platforms that support coalescing timers, Windows 8+ and OS X 10.9+, can use them. The previous global 100 millisecond timer may still be used by non-core platforms.
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+3
2014-05-02Use exact SciFnDirect function signature for DirectFunction as earlier versionNeil1-1/+1
depended on undefined behaviour.
2013-08-10Backed out change #4739 for Qt 5 on OS X as the code was LGPL.Neil1-36/+0
2013-08-10Fix building qith Qt 5 on OS X.Neil1-0/+36
From Fan Yang.
2013-07-23Only use map for character representations instead of unordered_map where ↵nyamatongwe1-3/+0
possible. unordered_map caused too many porting problems.
2013-07-22Added the character representation feature.Neil1-0/+3
2013-07-11Include case conversion data in Scintilla so that all platforms will performNeil1-0/+2
case conversion of Unicode text in accordance with Unicode.
2013-05-26Switch SelectionText to use a std::string to hold the data and to provide ↵nyamatongwe1-0/+1
accessors to this data. Add a length argument to DropAt, although previous signature still available.
2013-05-01Removed SVector.h and all references as it is no longer used.nyamatongwe1-1/+0
2012-05-17Qt platform layer added. Based on an implementation from Jason Haslamnyamatongwe1-0/+158
at Scientific Toolworks, Inc. with additions performed for Wingware.