Fix Python syntax style (fix #284)

This commit is contained in:
1024jp 2014-11-21 04:54:08 +01:00
parent 5aa4b0d959
commit 01f4f38a7a
2 changed files with 7 additions and 5 deletions

View File

@ -8,14 +8,16 @@ changelog
### New Features
- Introduce new AppleScript commands `comment out` and `uncomment` for selection object.
- Add “Create Bug Report” action to the Help menu.
### Additions/Changes
- Display a dialog if the opening file is larger than 100 MB.
- Display an alert if the opening file is larger than 100 MB.
- Change default value for “Comment always from line head” option to enable.
- Add “Create Bug Report” action to the Help menu.
- Rename labels for line endings.
- Update “Python” syntax style:
- Fix highlighting `print` command.
- Update documents for scripting with AppleScript.

View File

@ -224,7 +224,7 @@ commands:
- beginString: "pop"
- beginString: "popitem"
- beginString: "pow"
- beginString: "print(?![\\t ]*(\\w|['\"]))"
- beginString: "\\bprint(?![\\t ]*(\\w|['\"]))"
regularExpression: true
- beginString: "property"
- beginString: "range"
@ -298,11 +298,11 @@ attributes:
metadata:
author: "nanasiya"
distributionURL: "http://coteditor.com"
version: "2.1"
version: "2.1.1"
description: "Support both Python2 and Python3.\n\nMaintained by 1024jp since
2013."
license: "Same as CotEditor"
lastModified: "2014-09-24"
lastModified: "2014-11-21"
characters: []
comments: []
values: