Bug 164547 - [PATCH] Unicode docstrings highlighted as strings
Summary: [PATCH] Unicode docstrings highlighted as strings
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-20 19:16 UTC by Christoph Burgmer
Modified: 2008-08-12 13:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Make unicode docstrings work (1.07 KB, patch)
2008-06-20 19:18 UTC, Christoph Burgmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Burgmer 2008-06-20 19:16:09 UTC
Version:            (using KDE 3.5.9)
Installed from:    Debian testing/unstable Packages
OS:                Linux

KatePart doesn't recognise a prepended u for a docstring.

For Python < 3.0 it is important to mark docstrings containing non-ASCII characters as Unicode docstrings in the form u"""...""".

I patched python.xml adding the u character to comment strings.
Comment 1 Christoph Burgmer 2008-06-20 19:18:31 UTC
Created attachment 25483 [details]
Make unicode docstrings work
Comment 2 Christoph Cullmann 2008-08-12 13:34:36 UTC
SVN commit 845779 by cullmann:

BUG: 164547

 M  +2 -2      python.xml  


WebSVN link: http://websvn.kde.org/?view=rev&revision=845779