Although my editor supports the txmt protocol (E Text Editor), the "Open in TextMate" function is not working for me. I tracked this down to the URL encoding that occurs. I've hacked on the source[1] of the extension and found that the following tweak works:

url += "url=" + sourceLink.sassDebugInfo["filename"];

Is this a deficiency in E Text Editor's parsing of the URL? Or is it a Firefox problem? As an example, the following URL, which isn't encoded works:

txmt://open?url=file://D:/Users/charlesr/Projects/SARG/Prototype/src/stylesheets/includes/_typography.sass&line=6

This one, which is what gets generated by default, does not work:

txmt://open?url=file%3A%2F%2FD%3A%2FUsers%2Fcharlesr%2F%2FProjects%2FSARG%2FPrototype%2Fsrc%2Fstylesheets%2Fincludes%2F_typography.sass&line=6

Thoughts? If this is a deficiency in my editor, I'll get back to the author and request a fix.

Cheers,
Charles

[1] http://github.com/nex3/firesass/blob/14f95b1ac2ded92b1408ae422f0d748197bafc2e/chrome/content/reps.js#L90


--
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to