Reproduction on Windows:
The crash is caused by an assert in AutoCompletion.cxx. The root cause is that ListBoxX::SetList inserts a single empty element when given the empty string, but Sorter does not, and this mismatch trips the assert.
While calling SCI_AUTOCSHOW with an empty list doesn't really make much sense (and I only discovered this on accident due to a bug in my code), Scintilla should not crash in this case.
This is just an assertion so won't show in release builds.
Committed [6d1bb4] that adds an item to Sorter when the list is empty.
Related
Commit: [6d1bb4]
This is just an assertion so won't show in release builds.
Committed [6d1bb4] that adds an item to Sorter when the list is empty.
Related
Commit: [6d1bb4]