First time here? Check out the FAQ!

Revision history  [back]

When commented out a code block, the # symbols not left justified.

Hi,

Say I have the following code snippets:

if headerline:
    print(headerline)

If I use the Ctrl +. or Ctrl + / to comment out them, the results will be as follows:

#if headerline:
    #print(headerline)

As you can see, the # symbols not left justified, I mean, I want to obtain the following results:

#if headerline:
#    print(headerline)

Any hints for solving this issue?

Regards

When commented out a code block, the # symbols not left justified.

Hi,

Say I have the following code snippets:

if headerline:
    print(headerline)

If I use the Ctrl +. or Ctrl + / to comment out them, the results will be as follows:

#if headerline:
    #print(headerline)

As you can see, the # symbols not left justified, I mean, I want to obtain the following results:

#if headerline:
#    print(headerline)

Any hints for solving this issue?

Regards