[ python-Patches-1772721 ] [python-mode] Properly highlight lambda with no arguments
"SourceForge.net" <[email protected]> Sun, 12 Aug 2007 12:05:44 -0700
| Newsgroups | gmane.comp.python.patches |
|---|---|
| Message-ID | <[email protected]> |
Patches item #1772721, was opened at 2007-08-12 21:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1772721&group_id=5470 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Demos and tools Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michal Kwiatkowski (rubyjoker) Assigned to: Nobody/Anonymous (nobody) Summary: [python-mode] Properly highlight lambda with no arguments Initial Comment: Currently source highlighter in python-mode doesn't catch lambda forms without arguments, i.e. in: function = lambda: 42 word "lambda" is not highlighted. Attached patch fixes this issue by adding new rule to python-font-lock-keywords list. Patch against current trunk (r56963 now). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1772721&group_id=5470