Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-07-13 | lexlua: Return `lexer.colors.name` as a number if possible. | mitchell | 1 | -1/+1 | |
2020-07-07 | lexlua: Added `lexer.colors` and `lexer.styles` tables for themes and lexers. | mitchell | 1 | -4/+75 | |
This allows for a more Lua table-oriented approach to defining and using colors and styles, instead of manually manipulating Scintilla property strings. Themes and lexers are still backwards compatible, as the underlying mechanisms are still in place. | |||||
2020-06-11 | Backport: Fix bug on Win32 where calling WM_GETTEXT for more text than in ↵ | Neil | 1 | -0/+13 | |
document could return less text than in document. Backport of changeset 8302:2faf8ba9d1fb. | |||||
2020-05-04 | Backport: Feature [feature-requests:1347]. Add methods to insert multiple ↵ | Neil | 1 | -0/+26 | |
partitions. Backport of changeset 8228:753e94011b20. | |||||
2020-05-03 | Backport: Feature [feature-requests:1347]. Add InsertLines method to PerLine ↵ | Neil | 4 | -1/+367 | |
interface and all implementations. This will allow insertion of lines in batches in a future change set. Added tests for PerLine implementations. Backport of changeset 8227:9fc611fc6848. | |||||
2020-05-02 | Backport: InsertEmpty now returns a pointer to the newly added elements to ↵ | Neil | 1 | -0/+21 | |
allow caller to efficiently set those elements. Backport of changeset 8225:de663ebc1bc6. | |||||
2020-04-25 | Reformatted Lua LPeg lexers and added new convenience functions and pattern. | mitchell | 1 | -1/+40 | |
`lexer.range()` replaces `lexer.delimited_range()` and `lexer.nested_pair()`. `lexer.to_eol()` replaces `patt * lexer.nonnewline^0` constructs. `lexer.number` replaces `lexer.float + lexer.integer`. Also added unit tests for lexer functions. | |||||
2020-04-08 | Backport: Feature [feature-requests:1344]. Add methods for iterating through ↵ | Iain Clarke | 1 | -3/+36 | |
the marker handles and marker numbers on a line. Backport of changeset 8129:665c31051e3c. | |||||
2020-04-06 | Backport: Bug [#2164]. Change line comments to terminate at next line start. | Neil | 2 | -272/+272 | |
This changes the lexing test results a lot since line comments are common. Backport of changeset 8123:3f7f9e476cfb. | |||||
2020-03-29 | lexlua: Fixed incorrect grammar building for lexers that embed themselves. | mitchell | 1 | -0/+2 | |
When there is no initial '*_whitespace' style, child lexers should prefer their parent's grammar rather than their own. | |||||
2020-03-28 | Switch to 1-based style numbers internally in Lua. | mitchell | 1 | -4/+4 | |
2020-03-26 | Switch to 1-based indices in Lua. | mitchell | 1 | -3/+3 | |
The only external, 3rd party lexers that would be affected are those implementing their own fold functions. | |||||
2020-01-05 | Synchronizing LongTerm3 with default. | mitchell | 2 | -2/+4 | |
Ideally this covers anything missed during the backport process. | |||||
2019-12-02 | Backport: Add SparseVector::DeleteRange for efficiently removing ranges. | Neil | 1 | -0/+106 | |
Backport of changeset 7780:88e65c696c40. | |||||
2019-12-02 | Backport: Add SparseVector::IndexAfter for efficiently finding elements in a ↵ | Neil | 1 | -0/+17 | |
range. Backport of changeset 7779:67b7e8f152a9. | |||||
2019-12-01 | Backport: Allow setting value at end of a SparseVector. | Neil | 2 | -20/+51 | |
Change representation of SparseVector in tests so last value can be seen. Backport of changeset 7778:b7842ad8047b. | |||||
2019-12-01 | Backport: Fix a bug with deleting the first element in SparseVector that ↵ | Neil | 2 | -4/+20 | |
left an extra empty partition. Add extra checking to Partitioning and turn on checking for UnitTester. Backport of changeset 7777:12fb0335514e. | |||||
2019-12-01 | Backport: Improve debugging by fixing visualization of SplitVector, adding a ↵ | Neil | 1 | -10/+23 | |
visualization for Partitioning, and removing a layer from unique_ptr. Backport of changeset 7776:ae7f68d17fc8. | |||||
2019-11-26 | Backport: Bug [#2140]. Fix where anchor and caret differ only in amount of ↵ | Neil | 1 | -0/+18 | |
virtual space 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. Backport of changeset 7775:a9a0edc8f2f2. | |||||
2019-11-25 | Backport: Fix regression in 7773 where position wasn't moved on to account ↵ | Neil | 1 | -0/+32 | |
for virtual space consumption. Backport of changeset 7774:9419bd4557e4. | |||||
2019-11-24 | Backport: Bug [#2140]. Move rather than grow selection when insertion at start. | Neil | 1 | -0/+92 | |
Backport of changeset 7773:20f353cd5507. | |||||
2019-11-21 | Backport: Add test to ensure indicators move sensibly as text is inserted. | Neil | 1 | -3/+40 | |
Backport of changeset 7769:c32e6dcf139a. | |||||
2019-11-15 | Backport: Feature [feature-requests:#1316] Allow target to have virtual space. | Neil | 1 | -0/+20 | |
Backport of changeset 7768:5d73aa55a6ee. | |||||
2019-11-15 | Backport: Feature [feature-requests:#1316] Add access to virtual space at ↵ | Neil | 1 | -0/+4 | |
start and end of multiple selections. Backport of changeset 7767:80102fe650b2. | |||||
2019-10-16 | Backport: Call LoadLibrary with DLL path as Python 3.8 doesn't look for DLLs ↵ | Neil | 1 | -4/+2 | |
in PATH. Backport of changeset 7706:dd931f5c1d93. | |||||
2019-09-30 | Backport: Feature [feature-requests:#1305] Optimize setting up keyword lists ↵ | Zufu Liu | 1 | -0/+15 | |
in lexers. Avoids splitting and sorting the input twice. Backport of changeset 7697:f0848608c92c. | |||||
2019-06-18 | Backport: Feature [feature-requests:#1297] 6: Support enumerated types in APIs. | Neil | 1 | -2/+6 | |
Backport of changeset 7589:156d66aebfa1. | |||||
2019-06-18 | Backport: Feature [feature-requests:#1297] 3: Add pointer type to ↵ | Neil | 1 | -1/+1 | |
ScintillaCallable.py. Backport of changeset 7584:46fe98d4a840. | |||||
2019-06-18 | Backport: Feature [feature-requests:#1297] 2: Add line type to ↵ | Neil | 1 | -2/+2 | |
ScintillaCallable.py. Backport of changeset 7580:253181742438. | |||||
2019-07-11 | Backport: Bug [#2110]. Limit text returned from WM_GETTEXT to length ↵ | mitchell | 2 | -0/+163 | |
specified in wParam. Changed GetTextLength to use same logic as GetText to ensure they agree. Backport of changeset 7572:d7aedab278d0. | |||||
2019-06-15 | Backport: Test Scintilla GetStatus and SetStatus. | Neil | 1 | -0/+7 | |
Backport of changeset 7571:747cb54f1114. | |||||
2019-05-22 | Backport: Support for VB2017 bin literals & digit separators | Jad Altahan | 2 | -0/+8 | |
Backport of changeset 7502:395c5832d38c. | |||||
2019-05-02 | Backport: Optimize SCI_GETTEXT by calling Document::GetCharRange instead of ↵ | Neil | 1 | -1/+6 | |
looping for each byte. Backport of changeset 7489:c9118d39963d. | |||||
2019-04-28 | Backport: Add UniqueString.cxx as UniqueStringCopy no longer defined in header. | Neil | 1 | -0/+1 | |
Backport of changeset 7478:818bf425b4a9. | |||||
2019-04-17 | Backport: Move UniqueStringCopy into its own source file UniqueString.cxx to ↵ | mitchell | 2 | -2/+4 | |
hide the implementation. Backport of changeset 7402:751b76b567f9, but with an alternative to C++17's string_view. | |||||
2019-04-05 | Backport: Feature [feature-requests:#1272]. Add API to set default fold ↵ | Neil | 1 | -0/+5 | |
display text. Backport of changeset 7400:9fcb52fdb307. | |||||
2019-03-31 | Backport: Feature [feature-requests:#1272]. Add FoldDisplayTextGetStyle to match | Zufu Liu | 1 | -0/+5 | |
FoldDisplayTextSetStyle. Backport of changeset 7394:8fe3c581aeb9. | |||||
2019-04-16 | Backport: Feature [feature-requests:#1259]. Add ↵ | mitchell | 1 | -0/+5 | |
SCI_SETCHARACTERCATEGORYOPTIMIZATION API to optimize speed of character category features. Backport of changeset 7392:2832adedd0f4, but with added includes for Sci::clamp(). | |||||
2019-03-09 | Backport: Feature [feature-requests:#1268]. Improve the styling of numbers ↵ | Jad Altahan | 2 | -0/+16 | |
in Nim Improvements for SCE_NIM_NUMBER. Backport of changeset 7310:3710c193b696. | |||||
2019-02-02 | Backport: Feature [feature-requests:#1262]. Enhance raw string identifier ↵ | Jad Altahan | 2 | -0/+16 | |
styling in Nim Adds property 'lexer.nim.raw.strings.highlight.ident'. Backport of changeset 7247:1eeda6575035. | |||||
2019-01-31 | Backport: When loading SciLexer.DLL fails, print out the platform ↵ | Neil | 1 | -1/+2 | |
architecture of Python as one problem is trying to run 64-bit Python with a 32-bit DLL or vice versa. Backport of changeset 7246:056ec55eb953. | |||||
2019-01-30 | Backport: Add a ';' statement separator at end of statement in example code. | Neil | 2 | -2/+2 | |
The TCL lexer handles CRLF line ends strangely often with different styles for the CR and LF. This breaks the unit testing driver as the CR and LF are now separated in the output leading to 2 lines where there was one. It also causes differences in runs between Windows and Unix. Backport of changeset 7245:f3e1c8c6bc19. | |||||
2019-01-30 | Backport: Feature [feature-requests:#1261]. Enhance the styling of backticks ↵ | Jad Altahan | 3 | -1/+13 | |
in Nim Backport of changeset 7244:a5c65813871a. | |||||
2019-01-29 | Backport: Bug [#1947]. Fix recognizing '"' after "," inside a bracketed ↵ | Neil | 2 | -0/+10 | |
substitution. Backport of changeset 7243:f75e25db799e. | |||||
2019-01-29 | Backport: Add unit test for Tcl lexer. | Neil | 3 | -0/+19 | |
Backport of changeset 7242:d2ac12d5ab0e. | |||||
2019-01-29 | Backport: Feature [feature-requests:#1260]. Fix inconsistency with dot ↵ | Jad Altahan | 3 | -0/+15 | |
styling in Nim. Backport of changeset 7240:99281d1bec87. | |||||
2018-10-26 | lexlua: Fixed HTML unit test with lexer update. | mitchell | 1 | -5/+3 | |
2018-10-09 | Backport: Extra tests for out-of-range arguments. | Neil | 1 | -0/+3 | |
Backport of changeset 7107:d61f8e08117b. | |||||
2018-07-10 | Backport: Optional indexing of line starts in UTF-8 documents by UTF-32 code ↵ | Neil | 2 | -0/+383 | |
points and UTF-16 code units added. Converted instances of C++17 std::string_view to C++11. Also used const_casts where appropriate to fix compile errors. Backport of changeset 7063:0d5edc93e280. | |||||
2018-07-06 | Backport: Fix a shadowed variable. | Neil | 1 | -2/+2 | |
Backport of changeset 7060:2523ae8c5676. |