First time here? Check out the FAQ!
1

Differentiating the continuation character ( \ ) for the cases whether it's the last character of the line it belongs to in wing.

Hi,

When inputting long line, the continuation character ( \ ) maybe used in python. But I noted that the this character doesn't any color or some specific marker near them for me to differentiate the following cases: whether the continuation character ( \ ) is the last character of the line it belongs to.

I tried to let wing show the EOL, but this method seems so annoying with tool many marks put into my file.

Any graceful way to solve this issue?

Regards

hongyi-zhao's avatar
547
hongyi-zhao
asked 2020-04-01 20:06:38 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-04-02 07:42:33 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

No, it looks like the lexer that is used for syntax coloring does not treat \ at end of line any differently. In fact it doesn't seem to even treat it as any different than the default text color. Our editor is based on the open source component Scintilla, and uses its Python lexer: https://www.scintilla.org/

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-04-02 09:17:05 -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