Neil Hodgson
1f1ecb12f8
LexAccessor.cxx now depends on Scintilla.h.
2025-04-18 09:19:46 +10:00
Neil Hodgson
0c5d07e06b
Coverity: protect against potential for negative indexing.
2025-04-07 17:01:14 +10:00
Neil Hodgson
6d51ba20fe
Avoid Coverity should move warnings.
2025-04-07 17:00:24 +10:00
Neil Hodgson
e69590bfba
Use signed types to silence Coverity underflow warnings.
2025-04-07 16:59:40 +10:00
Neil Hodgson
4052be3f96
Rule-of-zero LexerPython to avoid warning.
2025-04-07 16:58:12 +10:00
Neil Hodgson
772d7c0d23
Add helper definitions for fold level to standardize fold level setting code.
2025-04-07 08:33:20 +10:00
Neil Hodgson
444bbe81e0
Eliminate signed type conversion warnings by using signed type Sci_Position in folder.
2025-04-07 07:30:57 +10:00
Neil Hodgson
6449227cfb
Convert if ladder into switch for clarity.
...
Standardize indentation and whitespace.
2025-04-07 07:22:22 +10:00
Neil Hodgson
3e11697c7a
Simplify code and silence warnings.
2025-04-06 15:43:41 +10:00
Neil Hodgson
d8dce459c9
Add tests for folding of asm.
2025-04-06 15:29:21 +10:00
Neil Hodgson
f053a08a7a
Remove a suppression that is not needed any more.
2025-04-05 15:25:23 +11:00
Neil Hodgson
5991c80d6c
LexMake has more dependencies.
2025-04-05 15:24:36 +11:00
Neil Hodgson
65b14241d6
Add a keyword list to makefile lexer to highlight GNU Make directives like 'ifdef' and 'vpath' as
...
SCE_MAKE_PREPROCESSOR since these are similar to NMAKE directives like '!IFDEF'.
2025-04-05 14:30:44 +11:00
Neil Hodgson
78b80c0e53
Replace string version of InList method with string_view version since it will work for string as well as string_view.
...
Add tests.
2025-04-05 14:25:52 +11:00
Neil Hodgson
270863c7b0
Simplify assignment / target logic in makefile lexer.
2025-04-05 14:23:37 +11:00
Neil Hodgson
9b1b85f066
Simplify makefile lexer with string_view and new StartsWith function.
...
Add more examples to test file.
2025-04-05 10:10:34 +11:00
Neil Hodgson
fd53017b41
Remove else after return to avoid clang-tidy warning.
2025-04-05 09:34:07 +11:00
Neil Hodgson
2a21bc22db
Make the makefile lexer an object lexer to provide more metadata and allow adding more features.
2025-04-05 08:25:04 +11:00
Neil Hodgson
2368a36459
Implement empty PropertyGet method on DefaultLexer so derived lexers without properties do not
...
need to implement it.
2025-04-05 08:17:21 +11:00
Neil Hodgson
eda969e330
Fix release comment.
2025-04-02 09:43:19 +11:00
Neil Hodgson
da491bd9ce
Fix history to allocate most recent change to 5.4.4.
rel-5-4-4
2025-03-30 09:19:32 +11:00
Neil Hodgson
6574cb3263
Updates for version 5.4.4.
2025-03-30 08:20:05 +11:00
Neil Hodgson
557811f4ce
Add canonical self links to help Google crawler.
2025-03-24 12:12:54 +11:00
Neil Hodgson
e2f90efc1f
Avoid warning by replacing c++latest std flag with more specific c++20.
2025-03-24 09:20:04 +11:00
Ahmet Sait
fa6629e739
#308 Move build clutter from src directory by defaulting DIR_O to src\obj.
2025-03-24 08:58:15 +11:00
zufuliu
e8a26430b3
#308 Add ARM64 as second build to win32 workflow.
...
Since this is cross-compiling for ARM64, the tests can't run there so are omitted using the TEST
environment variable. The CheckLexilla step can't run so is exceluded.
An extra artifact lexilla-arm64.dll is uploaded although it should be renamed to lexilla.dll for use.
2025-03-23 11:02:24 +11:00
Ahmet Sait
78ea4a5c9a
Fix building for ARM64 on Win32.
2025-03-22 10:03:28 +11:00
Neil Hodgson
7335f7fcf2
Avoid some warnings.
2025-03-15 09:41:46 +11:00
Neil Hodgson
06da12b0b3
Silence warnings by initializing and removing unnecessary else.
2025-03-02 08:24:18 +11:00
Neil Hodgson
361b5e8744
Update suppressions for Cppcheck 2.17.
...
Add const in a some places where it is reasonable.
2025-03-01 16:26:44 +11:00
Neil Hodgson
f46e2531c7
Updates for version 5.4.3.
rel-5-4-3
2025-02-22 13:32:23 +11:00
HoTschir
56dcfd3a6f
#304 Fix single character argument to StyleContext::MatchIgnoreCase.
2025-02-07 14:12:53 +11:00
Neil Hodgson
4f2ac48363
Add "Releases" anchor to navigate to Releases.
...
https://sourceforge.net/p/scintilla/feature-requests/1543/
2025-02-05 20:02:15 +11:00
pryrt
df5fefeea8
#302 #294 LexPython: Improve detecting of attributes and decorators 1. Fix bug of identifier at start of file mis-styled as attribute by not checking for pos<0 2. Fix bug where period at end of comment can misidentify the next line as an attribute 3. Fix bug in not recognizing @decorator or @decorator.attribute when decorator is indented by checking if(!IsASpaceOrTab(attrCh)) 4. Add test cases for this group of bugs
2025-01-10 09:31:22 +11:00
Neil Hodgson
8c70bd6ee1
Update build dependencies for LexRuby.
2025-01-06 09:58:46 +11:00
zufuliu
cd45fddd0c
#301 Avoid unnecessary styler.Flush();
.
2025-01-06 09:36:57 +11:00
Neil Hodgson
7b15e410b2
#298 Use an unnamed namespace to avoid potential conflicts.
...
Remove static since no longer needed.
2025-01-05 09:30:30 +11:00
Neil Hodgson
511ccff6a6
Decrease warnings and flatten code where reasonable.
2025-01-03 11:29:19 +11:00
zufuliu
e40fe0b68c
#300 Recognize name as SCE_RB_DEFNAME in def when ::
used as well as .
.
...
Recognize substyles for subject of def.
2025-01-03 09:59:20 +11:00
zufuliu
752a9e9be1
#300 Simplify ClassifyWordRb.
2025-01-03 08:40:14 +11:00
zufuliu
fc407d7f8d
#300 Fix heredoc after substyled identifier.
2025-01-02 17:53:36 +11:00
Neil Hodgson
88f5fc4c77
Use const and constexpr to decrease warnings.
2025-01-01 08:53:54 +11:00
HoTschir
19f09c00c7
#299 Fix evaluation of != in preprocessor condition.
2025-01-01 08:52:16 +11:00
Neil Hodgson
0d32d542d3
Add 'else' to keyword list as it is syntactically significant.
2024-12-31 10:07:41 +11:00
Neil Hodgson
fc1634f323
Replace fixed length string with std::string to avoid potential truncation and simplify code.
...
Avoids warnings for dangerous strcpy.
2024-12-31 10:01:59 +11:00
Neil Hodgson
42b92fa370
Implement substyles for identifiers in Ruby SCE_RB_IDENTIFIER.
2024-12-31 09:20:09 +11:00
Neil Hodgson
9c4b392ae5
To allow styles over 0x7F, replace StyleAt with StyleIndexAt. Remove actual_style as it is no longer useful and could cause problems with larger style numbers.
2024-12-31 09:19:54 +11:00
Neil Hodgson
cf4ad91e13
Ensure variables are initialized.
...
Remove inline as it is ignored. Use const.
2024-12-31 09:18:41 +11:00
Neil Hodgson
d872133acc
Fix spelling, hyphenate / dehyphenate some compound words, expand abbreviations.
2024-12-29 21:25:57 +11:00
Neil Hodgson
2b51b3906b
Make the ruby lexer an object lexer to provide more metadata and allow adding more features.
2024-12-29 21:24:08 +11:00