On 7. Mar 2007, at 17:01, Phil Molyneux wrote:
Whenever I try to execute the command Add Persistent Include from the HTML bundle (using either the menu item or the Control-Commend- I keystroke), I get the following text embedded in the file: [...] Any idea what I'm doing wrong here ?
Unfortunately r1368 has a bug affecting this functionality.
The lines around line 313 in the file tminclude.rb mentioned above are:
require "#{ENV['TM_SUPPORT_PATH']}/lib/dialog.rb" cstart = (@escape_open).rstrip + ' ' cend = (' ' + @escape_close).rstrip begin Dialog.request_file do | file | print <<-"EOT"
#{cstart}#tminclude "#{file}"#{cend} #{cstart}end tminclude#{cend} EOT end
If you change the middle line to the following, it will work:
::Dialog.request_file do | file |