Xide Comment with Control + B
Posted: Tue Mar 27, 2018 1:51 pm
Hi Chris,
a small bug (or feature?) with comment function.
In code there are some comment lines ( with // ). When I now select all code (ALT + A) and then press CONTROL + B all code lines begin with // (which is fine). But comment lines starting with // get no additional // in front. When I now decomment with CONTROL + B the original comment lines are no comment lines any more.
Sample:
now press ALT + A then CONTROL + B, you get:
Then press CONTROL + B again, you get:
In VO all lines get //. And comment lines then have multiple //.
Regards,
Stefan
a small bug (or feature?) with comment function.
In code there are some comment lines ( with // ). When I now select all code (ALT + A) and then press CONTROL + B all code lines begin with // (which is fine). But comment lines starting with // get no additional // in front. When I now decomment with CONTROL + B the original comment lines are no comment lines any more.
Sample:
Code: Select all
CLASS Foo
//Comment line
PROTECT xxx AS STRING
//Protect yyy as INT
CONSTRUCTOR()
RETURN
END CLASS
Code: Select all
//CLASS Foo
//Comment line
// PROTECT xxx AS STRING
//Protect yyy as INT
//CONSTRUCTOR()
//RETURN
//END CLASS
Code: Select all
CLASS Foo
Comment line
PROTECT xxx AS STRING
PROTECT yyy AS INT
CONSTRUCTOR()
RETURN
END CLASS
Regards,
Stefan