With Sublime Text 2 I was able to style an output panel with
MyOutputView.set_syntax_file("/Path_to/my.tmLanguage")
MyOutputView.settings().set("color_scheme", "/Path_to/my.tmTheme")
in the current beta (3047) of Sublime Text 3 two windows pop up with the following messages (they also get printed to the console):
Error loading syntax file "/Path_to/my.tmLanguage": Unable to open /Path_to/my.tmLanguage
and:
Error loading colour scheme /Path_to/my.tmTheme: Unable to open /Path_to/my.tmTheme
Is this a bug that I should report, did the API change, did sublime move away from tm
files?
"Packages/MyStuff/My.tmLanguage"
and see if that works - I'm not sure if those functions can accept absolute paths... – Choi