##// END OF EJS Templates
inputhookqt4: make hook more robust in case of unexpected conditions...
inputhookqt4: make hook more robust in case of unexpected conditions - return early if there's no longer a qApp - trap any exception that could be raised from within the hook, report it and unregister the hook

File last commit:

r4455:98f71260
r5180:da13a627
Show More
seteditor.py
15 lines | 113 B | text/x-python | PythonLexer
import os
editor = r'q:/opt/np/notepad++.exe'
e = os.environ
e['EDITOR'] = editor
e['VISUAL'] = editor