From kwrite-devel Sat Feb 28 06:36:31 2004 From: Adrian Holovaty Date: Sat, 28 Feb 2004 06:36:31 +0000 To: kwrite-devel Subject: [Bug 76334] New: Python highlight mode suggestion Message-Id: <20040228063631.10074.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=107795019616761 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=76334 Summary: Python highlight mode suggestion Product: kate Version: unspecified Platform: RedHat RPMs OS/Version: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: general AssignedTo: kwrite-devel kde org ReportedBy: kde holovaty com Version: (using KDE KDE 3.2.0) Installed from: RedHat RPMs The Kate syntax highlighting correctly colors a multi-line Python docstring in gray. But it colors single-line docstrings in red. It would be more consistent if all docstrings were colored in gray, regardless of whether they were single-line or multi-line. Example of a single-line docstring: def test_single(): "Returns the sum of 10 and 20" return 10 + 20 Example of a multi-line docstring: def test_double(): """This is an overly long docstring for an overly redundant function that returns the sum of 10 and 20""" return 10 + 20 If you (Kate developers) decide this change is worth making, please note that docstrings are allowed in several places -- as outlined by the official Python PEP: http://www.python.org/peps/pep-0257.html _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel