Is there an undocumented command to reload or refresh a file from disk?
Reloading/Refresh file from disk?
facelessuser
#3
Hmm. It seems revert works when launched via ctrl+shift+p. Haven’t been able to get it to work in the code yet, need to figure out the context. Thanks tito! I believe this is exactly what I was looking for.
0 Likes
facelessuser
#4
Got it. Apparently the “refresh” command cannot be run from a Text command due to the fact you have an open edit object. You can run it from a window command though.
0 Likes