So far all the code that was inserted using the “Preformatted text” button in the editor has appeared without highlighting on our forums.
An example snippet that I had to manually edit to add the tripple quotes and language definition:
var sm = ko.views.manager.currentView.scimoz;
// Get character length:
var msg = "Length: " + sm.getTextRange(0, sm.currentPos).length;
// Get byte length:
//var msg = "Length: " + sm.currentPos;
// Use statusbar to show where you are:
ko.statusBar.AddMessage(msg, "find", 5000, true);
Seems to not be working here either? Of course I can manually add the tripple quotes and language definition but the point is that this should happen automatically when using the “Preformatted text” button.