mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-27 04:38:26 +02:00
Release 5.5.7 (https://www.scintilla.org/scintilla557.zip) Released 8 June 2025 1. Add SCI_SCROLLVERTICAL method to restore view position and maintain it while performing line wrapping. 2. Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls whether undo and redo restore vertical scroll position. 3. Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3. 4. Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens. Initially only on GTK and Qt. 5. Fix wrapping bug for UTF-8 where \r\n could wrap between the characters. Notepad++ Pull Request #16373. 6. Fix crash during painting when scroll bars changed. Bug #2481. 7. On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where scroll position not restored in non-wrap mode. Bug #2416. 8. On GTK, fix IME problem when tentative composition interfered with delete surrounding. Feature #1476. 9. On GTK, update IME cursor position inside retrieve surrounding to better position candidate window. Feature #1488. Release 5.4.5 (https://www.scintilla.org/lexilla545.zip) Released 8 June 2025 1. Dart: Add error state SCE_DART_STRINGEOL for unterminated string. Pull request #315. 2. Makefile: 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'. 3. Nix: Add error state SCE_NIX_STRINGEOL for unterminated string. Pull request #315. 4. TOML: Add error state SCE_TOML_STRINGEOL for unterminated string. Pull request #315. 5. Zig: Add error state SCE_ZIG_STRINGEOL for unterminated string. Pull request #315. Close #16649
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
0 400 400 ; Enumerate all styles: 0 to 15 except for 11(comment block) which is not yet implemented.
|
|
0 400 400 ; This is not a viable source file, it just illustrates the different states in isolation.
|
|
1 400 400
|
|
0 400 400 ; comment=1
|
|
0 400 400 ; Comment
|
|
1 400 400
|
|
0 400 400 ; whitespace=0
|
|
0 400 400 ; w
|
|
1 400 400
|
|
0 400 400 ; number=2
|
|
0 400 400 11
|
|
1 400 400
|
|
0 400 400 ; string=3
|
|
0 400 400 "String"
|
|
1 400 400
|
|
0 400 400 ; operator=4
|
|
0 400 400 +
|
|
1 400 400
|
|
0 400 400 ; identifier=5
|
|
0 400 400 identifier
|
|
1 400 400
|
|
0 400 400 ; CPU instruction=6
|
|
0 400 400 add
|
|
1 400 400
|
|
0 400 400 ; math Instruction=7
|
|
0 400 400 fadd
|
|
1 400 400
|
|
0 400 400 ; register=8
|
|
0 400 400 ECX
|
|
1 400 400
|
|
0 400 400 ; directive=9
|
|
0 400 400 section
|
|
1 400 400
|
|
0 400 400 ; directive operand=10
|
|
0 400 400 rel
|
|
1 400 400
|
|
0 400 400 ; comment block=11 is for future expansion
|
|
1 400 400
|
|
0 400 400 ; character=12
|
|
0 400 400 'character'
|
|
1 400 400
|
|
0 400 400 ; string EOL=13
|
|
0 400 400 "no line end
|
|
1 400 400
|
|
0 400 400 ; extended instruction=14
|
|
0 400 400 movq
|
|
1 400 400
|
|
0 400 400 ; comment directive=15
|
|
0 400 400 comment ~ A multiple-line
|
|
0 400 400 comment directive~
|
|
1 400 400
|
|
0 400 400 ; test for folding from segment to ends
|
|
2 400 401 + data segment
|
|
0 401 401 | hw db "HW!"
|
|
0 401 400 | data ends
|
|
1 400 400
|
|
0 400 400 ;end
|
|
1 400 400 |