diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-10-23 15:40:48 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-10-23 15:40:48 (GMT) |
commit | 70e413dee035d4b93002781d05a06dc93e515a88 (patch) | |
tree | 6b86ada3ba0ee4362956b9c92321ad50b4aa72eb /Mac/Demo/waste | |
parent | 92ca16c3352eb3610551e7d026d38e1636ea6f69 (diff) | |
download | cpython-70e413dee035d4b93002781d05a06dc93e515a88.zip cpython-70e413dee035d4b93002781d05a06dc93e515a88.tar.gz cpython-70e413dee035d4b93002781d05a06dc93e515a88.tar.bz2 |
Added a note on swed and htmled examples, added tab support, fixed typo
Diffstat (limited to 'Mac/Demo/waste')
-rw-r--r-- | Mac/Demo/waste/htmled.py | 1 | ||||
-rw-r--r-- | Mac/Demo/waste/swed.py | 1 | ||||
-rw-r--r-- | Mac/Demo/waste/wed.py | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Demo/waste/htmled.py b/Mac/Demo/waste/htmled.py index e56b607..5750f9d 100644 --- a/Mac/Demo/waste/htmled.py +++ b/Mac/Demo/waste/htmled.py @@ -56,6 +56,7 @@ class WasteWindow(ScrolledWindow): flags = WASTEconst.weDoAutoScroll | WASTEconst.weDoOutlineHilite | \ WASTEconst.weDoMonoStyled | WASTEconst.weDoUndo self.ted = waste.WENew(dr, vr, flags) + self.ted.WEInstallTabHooks() style, soup = self.getstylesoup(self.path) self.ted.WEInsert(data, style, soup) self.ted.WESetSelection(0,0) diff --git a/Mac/Demo/waste/swed.py b/Mac/Demo/waste/swed.py index 8107434..9e9779e 100644 --- a/Mac/Demo/waste/swed.py +++ b/Mac/Demo/waste/swed.py @@ -43,6 +43,7 @@ class WasteWindow(ScrolledWindow): flags = WASTEconst.weDoAutoScroll | WASTEconst.weDoOutlineHilite | \ WASTEconst.weDoMonoStyled | WASTEconst.weDoUndo self.ted = waste.WENew(dr, vr, flags) + self.ted.WEInstallTabHooks() style, soup = self.getstylesoup() self.ted.WEInsert(data, style, soup) self.ted.WESetSelection(0,0) diff --git a/Mac/Demo/waste/wed.py b/Mac/Demo/waste/wed.py index 6ddb79b..c56ce2b 100644 --- a/Mac/Demo/waste/wed.py +++ b/Mac/Demo/waste/wed.py @@ -413,7 +413,7 @@ class Wed(Application): self.active.do_idle(event) def main(): - App = Ped() + App = Wed() App.mainloop() if __name__ == '__main__': |