diff options
author | 2019-04-18 00:36:36 -0400 | |
---|---|---|
committer | 2019-04-18 00:36:36 -0400 | |
commit | 3343beb1c943137dc61c16478d7ddc15336a3b5c (patch) | |
tree | a33e17ec8c41eee0e7816d049e1136b8edefe84b /modules/ansi_c/init.lua | |
parent | e22f78d999a10855b62797bc32e512cf15abc16d (diff) | |
download | textadept-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/ansi_c/init.lua')
0 files changed, 0 insertions, 0 deletions