[TxMt] [TM2] DIALOG2 replace input via HTML Javascript TextMate.system()

Hans-Jörg Bibiko bibiko at eva.mpg.de
Sat Sep 27 16:41:36 UTC 2014


Hi,

short question:

Is it possible for a command (Input: “Selection” - fallback to “Line” ; Output: HTML window) to replace the "Input selection" via Javascript's TextMate.system()?

TextMate.system("$DIALOG x-insert --text 'foo'", null) works but only for a selection and not for the fallback situation.

Has anyone an idea?

Thanks,
Hans


More information about the textmate mailing list