Author Topic: PJSR: very minor Script Editor issue?  (Read 783 times)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
    • View Profile
PJSR: very minor Script Editor issue?
« on: 2015 January 17 19:44:19 »
On Win 7 1123, create this script. Position the insertion cursor immediately prior to the "r" character in "return". Type two "/" characters to comment out the line. Do this for both functions. On the second function the editor positions the // at the end of the line rather than at the beginning.

Mike

Code: [Select]
function f() {
   return 1;
}

function g() {
   return 1 *
      2;
}

Code: [Select]
function f() {
   //return 1;
}

function g() {
   return 1 *//
      2;
}