fdorg/flashdevelop — pull request #140 by ton1517 (2014-03-05 18:08:06+00:00)
Title: Change ToggleLineComment behavior

A problem occurs with the current ToggleLineComment if you select an entire section of code and toggle it twice.

Original code

trace("A");
// comment
trace("C");

After toggling the whole section

//trace("A");
// comment
//trace("C");

If you toggle the section again

trace("A");
comment
trace("C");

The following change will be made to its behavior.

Original Code

trace("A");
// comment
trace("C");

After toggling the whole section

//trace("A");
//// comment
//trace("C");

If you toggle the section again

trace("A");
// comment
trace("C");

This behavior is the same as that of many other editors (like FlashBuilder, for example).
Please change behavior or add option.