Actually you didn’t. Single backtick delimiters are for single word or single lines.
Block of text or code use triple backtick delimiter lines before and after the block of text.
Please see the wiki again, there are examples for plain text and several coding languages.
Andreas will know as it’s his code. There is a TypeError in
"Plugins/ae_toolbareditor/bridge.rb", line 213, his
__request_handler_htmldialog__ method. This is causing it’s
rescue clause to execute. The method looks to be expecting an Integer but is getting a String (that it cannot coerce into an Integer,) or it’s passing a String to something else when it needs to pass an Integer.
Now, I also see a SyntaxError happening which could cause code to not be completely loaded, which later could cause this TypeError. So the former may just be a symptom of the syntactical error.
Notes on ToolbarEditor v 1.1.4 errors ...
Main issue is that tool command icons will not populate in the right hand pane of the dialog.
# Several lines in log_error() method, line 494, bridge.rb
$stderr << "Exception: Some funky message." << $/
#=> Exception: Some funky message.Error: #<TypeError: no implicit conversion of String into Integer>
What’s happening is that
IO#<< returns an
Integer number of characters written.
Integer#<< expects an
Integer but you are appending a string containing a newline character.
$stderr << ( "Exception: Some funky message." << $/ )
… or where possible use …
$stderr << "Some text.\n"
Anyway these errors in the error logging method is masking a
SyntaxError somewhere else in the code.
When the Editor dialog is opened, there are a bunch of Translate add errors (key not found warnings) when any of the 4 Trimble extensions are switched off in the Extensions manager …
warning: key "Sandbox" not found for locale en-US (AE::ToolbarEditor::Translate)
C:/Users/Dan/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/ae_toolbareditor/index.rb:115:in `add'
A total of 18 of these warnings: 1 for each toolbar, and one for each command on each toolbar.
It is weird that switching off only Sandbox cause warnings to appear for ALL extensions.