Re: [code] [Textadept] SFTP plugin?

From: Robert Gieseke <rob.g.att.web.de>
Date: Mon, 24 Apr 2017 23:29:03 +0200

Am 24/04/17 um 21:58 schrieb Ryan P.C. McQuen:
> That’s awesome! I got |sshfs| going, but how do I make Textadept notify
> me if the file changed remotely?

By default, Textadept checks on the following events whether the
modification time has changed

events_connect(events.BUFFER_AFTER_SWITCH, update_modified_file)
events_connect(events.VIEW_AFTER_SWITCH, update_modified_file)
events_connect(events.FOCUS, update_modified_file)
events_connect(events.RESUME, update_modified_file)

You could maybe periodically check for updates?

Hope this helps,
Robert

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 24 Apr 2017 - 17:29:03 EDT

This archive was generated by hypermail 2.2.0 : Tue 25 Apr 2017 - 06:47:52 EDT