thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

triple single quotes shouldn't be treated as docstring #415

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. write """doc"""
2. write '''doc'''
3. see syntax highlighting

What is the expected output? What do you see instead?

"""doc""" should be colored as doctring while '''doc''' should be colored as 
multiline string acording to pep257 (http://www.python.org/dev/peps/pep-0257/): 
 For consistency, always use """triple double quotes""" around docstrings. Use r"""raw triple double quotes""" if you use any backslashes in your docstrings. For Unicode docstrings, use u"""Unicode triple-quoted strings""".

What version of the product are you using? On what operating system?

2.2.0.0

Original issue reported on code.google.com by mynth...@gmail.com on 13 Sep 2010 at 10:48

GoogleCodeExporter commented 9 years ago
Fixed in version control.

A new syntax element was added "Multi-Line String" to refer to single-quoted 
multi-line strings.

Original comment by pyscripter on 6 Dec 2010 at 11:32