If you block comment a part of the code then lines wich are allready commented will be uncommented and vice versa.
Proposal for solution: introduce a seperate shortcut for commenting and uncommenting instead of doing it in toggle style (that's how it is solved now).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This behaviour exits in latest version 4.2.2. Don, will it be fixed? I want to switch from the great ConTEXT editor to your smart and feature rich notepad++, but this "bug" is THE only thing which keep me away :-(. Used code language: C/C++
The ConTEXT editor does it right. When several lines are marked and the block comment function is used:
before:
if( 1)
{
// nothing todo
do
{
}while(1);
};
after:
// if( 1)
// {
// // nothing todo
// do
// {
// }while(1);
// };
When only text in a line is marked, ConTEXT uses the C-comment style
before
if( 1)
{
// nothing todo
do
{
}while(1); <-- marked from } to ;
};
after
if( 1)
{
// nothing todo
do
{
/* }while(1); */
};
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you block comment a part of the code then lines wich are allready commented will be uncommented and vice versa.
Proposal for solution: introduce a seperate shortcut for commenting and uncommenting instead of doing it in toggle style (that's how it is solved now).
use ctrl+k and ctrl+shift+k
Agreed, this drives me CRAZY...
It's very frustrating
me too
This behaviour exits in latest version 4.2.2. Don, will it be fixed? I want to switch from the great ConTEXT editor to your smart and feature rich notepad++, but this "bug" is THE only thing which keep me away :-(. Used code language: C/C++
The ConTEXT editor does it right. When several lines are marked and the block comment function is used:
before:
if( 1)
{
// nothing todo
do
{
}while(1);
};
after:
// if( 1)
// {
// // nothing todo
// do
// {
// }while(1);
// };
When only text in a line is marked, ConTEXT uses the C-comment style
before
if( 1)
{
// nothing todo
do
{
}while(1); <-- marked from } to ;
};
after
if( 1)
{
// nothing todo
do
{
/* }while(1); */
};