Ask Your Question

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

asked 2020-04-01 20:06:38 -0500

hongyi-zhao gravatar image

updated 2020-04-02 07:42:33 -0500


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?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-02 09:17:05 -0500

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:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-04-01 20:06:38 -0500

Seen: 405 times

Last updated: Apr 02