First time here? Check out the FAQ!
1

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

hongyi-zhao's avatar
507
hongyi-zhao
asked 2020-03-20 02:30:53 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-03-20 09:26:20 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The comment style can be set via the Block Comment Style setting on the Editor page of the Preferences dialog.

Wingware Support's avatar
4k
Wingware Support
answered 2020-03-20 09:23:15 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer