aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2021-06-21Fix some warnings in unit tests.rel-5-1-0Zufu Liu5-24/+22
2021-06-21Add tests for CharacterCategoryMap, RESearch, and Document.Zufu Liu6-0/+218
2021-06-10Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting textNeil1-2/+2
provided as an argument instead of from the system clipboard.
2021-06-09Add SCI_PASTERECTANGULAR to insert text like a rectangular paste.Mitchell Foral1-0/+6
2021-06-03Add APIs for setting appearance (traditional blob or plain text) and colour ofNeil1-0/+25
representations and support setting a representation for the "\r\n" line end sequence.
2021-05-30Fix GetFontQuality. Simplify code that calls FlagSet.Neil1-0/+5
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil12-161/+166
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-15Updated test since setting the alpha of caret line when it hasn't had colour setNeil1-0/+1
no longer sets it to have a colour.
2021-05-14Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content areaNeil1-4/+4
markers can be drawn translucently under text.
2021-05-14Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE andNeil1-0/+32
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK.
2021-05-14Add SCI_MARKERSETLAYER to define layer on which to draw content area markers.Neil1-0/+7
This replaces the use of SC_ALPHA_NOALPHA for markers.
2021-05-12Switch caret line background colour to SC_ELEMENT_CARET_LINE_BACK element andNeil1-16/+85
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged.
2021-05-12Allow property-style access to colour and colouralpha APIs.Neil1-3/+7
2021-05-11Add test for SelectionLayer.Neil1-0/+6
2021-05-11Implement SCI_GETELEMENTBASECOLOUR to return the default values for elementNeil1-6/+22
colours.
2021-05-11Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value includingNeil1-0/+33
alpha. Set selection and caret elements as allowing translucency.
2021-05-09Add @file <filename> comments to follow convention.Neil12-13/+36
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.
2021-05-06Fix building unit tests in Visual C++.Neil1-6/+4
2021-04-20Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.Neil1-0/+7
2021-04-05Extract CharClassify::cc as CharacterClass and change to enum class.Neil1-14/+14
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil12-0/+12
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil12-24/+12
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.Neil12-0/+12
2021-03-16Convert Platform from a class to a namespace. Does not change callers.Neil1-2/+2
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw.
2021-03-12Remove SetLexer, SetLexerLanguage, and LoadLexerLibrary methods.Neil1-3/+3
These have been superceded by Lexilla and the SetILexer API.
2021-02-13Update Catch2 so that unit tests will build on Apple Silicon Macs.Neil1-3762/+9631
2021-02-11Make merging of Scintilla and Lexilla features work on older versions of Python.Neil2-2/+2
2021-02-08Read Lexilla constants from lexilla/include/LexicalStyles.iface and includeNeil2-2/+20
in known features.
2020-11-19On Linux/Qt, try to load Lexilla for tests that need a lexer but skip the testsNeil1-1/+23
when Lexilla not found.
2020-11-10Remove WordList from testing as that is now part of Lexilla.Neil4-4/+0
2020-11-07Try to load Lexilla for tests that need a lexer but skip the tests when LexillaNeil3-19/+77
not found. Unicode line ends only tested with Lexilla as they require a lexer that supports Unicode line ends.
2021-01-29Remove lexer tests from ScintillaNeil29-1370/+0
2021-01-29Remove Lexilla files from ScintillaNeil2-321/+0
2020-08-25Feature [feature-requests:1350]. Add SCI_GETMULTIEDGECOLUMN.Derek Brown1-0/+40
2020-06-11Fix bug on Win32 where calling WM_GETTEXT for more text than in document couldNeil1-0/+13
return less text than in document.
2020-05-04Feature [feature-requests:1347]. Add methods to insert multiple partitions.Neil1-0/+26
2020-05-03Feature [feature-requests:1347]. Add InsertLines method to PerLine interface andNeil4-2/+368
all implementations. This will allow insertion of lines in batches in a future change set. Added tests for PerLine implementations.
2020-05-02InsertEmpty now returns a pointer to the newly added elements to allow caller toNeil1-0/+21
efficiently set those elements.
2020-04-17Update Python versions for files that may involve PySide on Linux which requiresNeil7-1/+10
Python 2 still. On Windows, Python3 is used.
2020-04-08Feature [feature-requests:1344]. Add methods for iterating through the markerIain Clarke1-3/+36
handles and marker numbers on a line.
2020-04-06Bug [#2164]. Change line comments to terminate at next line start.Neil2-272/+272
This changes the lexing test results a lot since line comments are common.
2019-12-02Add SparseVector::DeleteRange for efficiently removing ranges.Neil1-0/+106
2019-12-02Add SparseVector::IndexAfter for efficiently finding elements in a range.Neil1-0/+17
2019-12-01Allow setting value at end of a SparseVector.Neil2-20/+51
Change representation of SparseVector in tests so last value can be seen.
2019-12-01Fix a bug with deleting the first element in SparseVector that left an extraNeil2-4/+20
empty partition. Add extra checking to Partitioning and turn on checking for UnitTester.
2019-12-01Improve debugging by fixing visualization of SplitVector, adding a visualizationNeil1-10/+23
for Partitioning, and removing a layer from unique_ptr.
2019-11-26Bug [#2140]. Fix where anchor and caret differ only in amount of virtual spaceNeil1-0/+18
so one was considered start and was moved for an insertion at that position. This could flip the order of the positions or change the length of the selection.
2019-11-25Fix regression in 7773 where position wasn't moved on to account for virtualNeil1-0/+32
space consumption.
2019-11-24Bug [#2140]. Move rather than grow selection when insertion at start.Neil1-0/+92
2019-11-21Add test to ensure indicators move sensibly as text is inserted.Neil1-3/+40