aboutsummaryrefslogtreecommitdiff
path: root/modules/ansi_c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-16 10:52:02 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-16 10:52:02 -0400
commit1d5069fec0d41c5370438b6c253d6ba71b528797 (patch)
treef2e1cd03d579849be8b591345b0f7937541fe670 /modules/ansi_c
parent7915ceff37bdb16215e85b821e2b2e2ba2c2f288 (diff)
downloadtextadept-1d5069fec0d41c5370438b6c253d6ba71b528797.tar.gz
textadept-1d5069fec0d41c5370438b6c253d6ba71b528797.zip
Fixed crash introduced in previous commit.
The assumption was that `buffer.set_lexer` is only unavailable for the first buffer, which has `buffer:private_lexer_call(SETLEXERLANGUAGE, ...)` called in the `events.BUFFER_NEW` handler. However, `reset()` throws a wrench into everything and a buffer can end up without a lexer.
Diffstat (limited to 'modules/ansi_c')
0 files changed, 0 insertions, 0 deletions