aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snippets.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2019-04-18 00:36:36 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2019-04-18 00:36:36 -0400
commit3343beb1c943137dc61c16478d7ddc15336a3b5c (patch)
treea33e17ec8c41eee0e7816d049e1136b8edefe84b /modules/textadept/snippets.lua
parente22f78d999a10855b62797bc32e512cf15abc16d (diff)
downloadtextadept-3343beb1c943137dc61c16478d7ddc15336a3b5c.tar.gz
textadept-3343beb1c943137dc61c16478d7ddc15336a3b5c.zip
Do not emit an `events.SAVE_POINT_LEFT` event for unfocused views.
Forcing a switch to and from the source buffer's view triggers "switch" view events, which can cause trouble. There's no need to know this in real-time and `buffer.modified` can be checked in an `events.BUFFER_AFTER_SWITCH` or `events.VIEW_AFTER_SWITCH` handler.
Diffstat (limited to 'modules/textadept/snippets.lua')
0 files changed, 0 insertions, 0 deletions