@elextr one for you: not only is it AsciiDoc, but it's also a candidate for very-last-minute fix :smile:
@elextr @techee @eht16 I think we ought to do something for 2.0 here, because indeed hitting this crash is as easy as trying to open e.g. `foo.asciidoc`… You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3616
-- Commit Summary --
* Fix crash setting an invalid lexer ID * Restore AsciiDoc lexer
-- File Changes --
M scintilla/lexilla/src/Lexilla.cxx (1) M scintilla/scintilla_changes.patch (3) M src/sciwrappers.c (9)
-- Patch Links --
https://github.com/geany/geany/pull/3616.patch https://github.com/geany/geany/pull/3616.diff
@kugel- approved this pull request.
@rdipardo @b4n Thanks! Crash fixed and I agree it's safer to check if we manage to get the lexer.
Merged #3616 into master.
github-comments@lists.geany.org