Script editor bug, .js file editing, macOS

mschuster

Well-known member
Hi Juan,

JavaScript:
// In the Script Editor, edit a .js file containing this text,
// position the cursor immediately prior to the 1,
// then type two backslash characters, i.e., //, in an attempt to comment out the 1 *
// note that backslashes are incorrectly inserted after the *.

function a() {
   this.b = function() {
      return (
         1 *
         2
      );
   };
}
 
Hi Mike,

Bug confirmed. I already know it (of course it has happened to me too). It is a bad side effect of the automatic block comment alignment feature of Script Editor (automatic formatting of /* ... */ comments). In this case I must admit that I've been procrastinating :) I'll try to fix this problem as soon as possible, thank you for reporting it.
 
Back
Top