That's a good tip, Miguel. For anyone that has never used this tool, it's helpful that this feature inserts the code sample using a monospaced font and a lightly-shaded background, and it also automatically colors the inserted code in a similar manner as the PowerScript editor, which is nice. You can choose from several other development languages, but PowerBuilder is the default. SQL is not one of the supported languages, unfortunately.
One drawback that everyone needs to be aware that when using the "Insert/edit code sample" tool, each tab character get translated into eight spaces.
Example:
//345678901234567890
// This comment preceded by a single tab character.
If IsNull(as_customername) Then Return -1
You'll see this translation when you paste the code into the dialog that opens up. It's rather annoying... Nobody writes code where a tab character translates into eight spaces.