[issue24448] Syntax highlighting marks multiline comments as strings
Terry J. Reedy added the comment: It is impossible for Idle to know the purpose of a multiline string. -- nosy: +terry.reedy resolution: - rejected stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24448 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24448] Syntax highlighting marks multiline comments as strings
New submission from irdb: It has been suggested by BDFL to use triple-quoted strings as multiline comments.[1] Allegedly, some editors already makes a distinction between these kind of comments and docstring and highlight them differently. It would be nice if IDLE could also highlight these kind of comments with the same color as the other single-line comments. [1]: https://stackoverflow.com/posts/7696966/revisions -- components: IDLE messages: 245334 nosy: irdb priority: normal severity: normal status: open title: Syntax highlighting marks multiline comments as strings type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24448 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24448] Syntax highlighting marks multiline comments as strings
Raymond Hettinger added the comment: -1 on changing the syntax highlighting for strings used as comments. Whether used as comments or for other purposes, they are still strings and the distinction is important for teaching Python. -- nosy: +rhettinger priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24448 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com