diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2021-03-28 13:06:52 -0400 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2021-03-28 13:06:52 -0400 |
commit | 3efd540ce95f5557b4fda29a9aa0cf5007ceaf13 (patch) | |
tree | 06350fc9d82c82f2e92d41f602b7951898cb9eaf | |
parent | 9f12fb9588d698f1f83a3a79238b583df2256a62 (diff) |
Updated lexer fold properties test.
Scintilla 5 and ILexer5 appear to fetch lexer properties with SCI_GETPROPERTY
now.
-rw-r--r-- | test/test.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test.lua b/test/test.lua index fee7ac7a..b35ae0f1 100644 --- a/test/test.lua +++ b/test/test.lua @@ -3846,12 +3846,11 @@ function test_lexer_fold_properties() assert(not lexer.folding) lexer.folding = true assert(lexer.property['fold'] == '1') - -- Lexer fold properties and view fold properties do not mirror because - -- Scintilla forwards view property settings to lexers, not vice-versa. + -- Verify view and lexer properties are synchronized. view.property['fold'] = '0' assert(not lexer.folding) lexer.folding = true - assert_equal(view.property['fold'], '0') + assert_equal(view.property['fold'], '1') end function test_lexer_fold_line_groups() |