diff options
| author | 2020-03-16 10:52:02 -0400 | |
|---|---|---|
| committer | 2020-03-16 10:52:02 -0400 | |
| commit | 1d5069fec0d41c5370438b6c253d6ba71b528797 (patch) | |
| tree | f2e1cd03d579849be8b591345b0f7937541fe670 /src | |
| parent | 7915ceff37bdb16215e85b821e2b2e2ba2c2f288 (diff) | |
| download | textadept-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 'src')
0 files changed, 0 insertions, 0 deletions
