diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 (GMT) |
commit | 6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5 (patch) | |
tree | 68fa306974cc05de44d5c5c07ba62a739db3aa72 /Mac/Contrib | |
parent | dfebe90c4c04a7a36e4542907118ddce97085868 (diff) | |
download | cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.zip cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.gz cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.bz2 |
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
Diffstat (limited to 'Mac/Contrib')
-rw-r--r-- | Mac/Contrib/AECaptureParser/AECaptureParser.py | 6 | ||||
-rw-r--r-- | Mac/Contrib/BBPy.lm/BBPy.c | 2 | ||||
-rw-r--r-- | Mac/Contrib/BBPy.lm/PythonBBLM.txt | 2 | ||||
-rw-r--r-- | Mac/Contrib/BBPy/PythonSlave.py | 2 | ||||
-rw-r--r-- | Mac/Contrib/PythonScript/ReadMe.txt | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/Mac/Contrib/AECaptureParser/AECaptureParser.py b/Mac/Contrib/AECaptureParser/AECaptureParser.py index 25a0237..3d74f64 100644 --- a/Mac/Contrib/AECaptureParser/AECaptureParser.py +++ b/Mac/Contrib/AECaptureParser/AECaptureParser.py @@ -260,8 +260,8 @@ class AECaptureParser: 'type(': [('type(', "aetypes.Type('"), (')', "')")], "'null'()": [("'null'()", "None")], 'abso(': [('abso(', "aetypes.Unknown('abso', ")], - '³': [('³', '"')], - '²': [('²', '"')], + '–': [('–', '"')], + '”': [('”', '"')], '[': [('[', '('), (', ', ',')], ']': [(']', ')')], '«': [('«', "«")], @@ -353,7 +353,7 @@ def addquotes(txt): eventreceptacle = """ [event: target="Finder", class=core, id=setd] -'----':obj {form:prop, want:type(prop), seld:type(posn), from:obj {form:name, want:type(cfol), seld:³MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions², from:'null'()}}, data:[100, 10] +'----':obj {form:prop, want:type(prop), seld:type(posn), from:obj {form:name, want:type(cfol), seld:–MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions”, from:'null'()}}, data:[100, 10] [/event] """ diff --git a/Mac/Contrib/BBPy.lm/BBPy.c b/Mac/Contrib/BBPy.lm/BBPy.c index 85f0dd2..bcb8d4e 100644 --- a/Mac/Contrib/BBPy.lm/BBPy.c +++ b/Mac/Contrib/BBPy.lm/BBPy.c @@ -56,7 +56,7 @@ char start(struct runloc& r,BBLMParamBlock &pb) r.last_start = pb.fCalcRunParams.fStartOffset; r.pos = pb.fCalcRunParams.fStartOffset; r.p = ((unsigned char*)pb.fText) + pb.fCalcRunParams.fStartOffset; - // Adjust for the gap if we¹re not already past it. + // Adjust for the gap if weÕre not already past it. if ((!r.past_gap) && (r.pos >= pb.fTextGapLocation)){ r.p += pb.fTextGapLength; r.past_gap = true; diff --git a/Mac/Contrib/BBPy.lm/PythonBBLM.txt b/Mac/Contrib/BBPy.lm/PythonBBLM.txt index c43727a..540060a 100644 --- a/Mac/Contrib/BBPy.lm/PythonBBLM.txt +++ b/Mac/Contrib/BBPy.lm/PythonBBLM.txt @@ -2,7 +2,7 @@ This is the Python Language Module for BBEdit. This software is a plugin to Bare Bones Software's BBEdit 6.0.2 (or more), designed to make editing & browsing Python Language files easer. -It parses any file ending in .py (or extentions of your choice.) providing BBEdit with the information BBEdit needs to provide services for python files similar to those it provides for 'C'. Namely: syntax coloring and populating BBEdit's 'Ÿ' popup menu with file's functions and classes. +It parses any file ending in .py (or extentions of your choice.) providing BBEdit with the information BBEdit needs to provide services for python files similar to those it provides for 'C'. Namely: syntax coloring and populating BBEdit's '€' popup menu with file's functions and classes. This Plug-in needs to be placed in your :BBEdit 6.0:BBEdit Support:Language Modules: folder. diff --git a/Mac/Contrib/BBPy/PythonSlave.py b/Mac/Contrib/BBPy/PythonSlave.py index cc63e1d..3014f7a 100644 --- a/Mac/Contrib/BBPy/PythonSlave.py +++ b/Mac/Contrib/BBPy/PythonSlave.py @@ -63,7 +63,7 @@ class PythonSlave(FrameWork.Application): raise self def getabouttext(self): - return "About PythonSlaveŠ" + return "About PythonSlaveƒ" def do_about(self, id, item, window, event): EasyDialogs.Message("PythonSlave " + __version__ + "\rCopyright © 1996, Letterror, JvR") diff --git a/Mac/Contrib/PythonScript/ReadMe.txt b/Mac/Contrib/PythonScript/ReadMe.txt index 3518423..455f12a 100644 --- a/Mac/Contrib/PythonScript/ReadMe.txt +++ b/Mac/Contrib/PythonScript/ReadMe.txt @@ -29,7 +29,7 @@ from the target before going on to the next event Object is a appleevent object specifier and is of the form -PythonScript.PsClass.Class1(arg).Class2(arg)Š.Property() +PythonScript.PsClass.Class1(arg).Class2(arg)ƒ.Property() All applescript event, class and property names are capitalised to distinguish them from python methods. |