summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste/wastesupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/waste/wastesupport.py')
-rw-r--r--Mac/Modules/waste/wastesupport.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py
index ef73288..76eb010 100644
--- a/Mac/Modules/waste/wastesupport.py
+++ b/Mac/Modules/waste/wastesupport.py
@@ -400,12 +400,18 @@ inshandler_body = """
stdhand = ManualGenerator("STDObjectHandlers", stdhandlers_body)
inshand = ManualGenerator("WEInstallObjectHandler", inshandler_body)
+
+# Tab hook handlers. Could be parsed from WETabs.h, but this is just as simple.
f = Method(OSErr, 'WEInstallTabHooks', (WEReference, 'we', InMode))
methods.append(f)
f = Method(OSErr, 'WERemoveTabHooks', (WEReference, 'we', InMode))
methods.append(f)
f = Method(Boolean, 'WEIsTabHooks', (WEReference, 'we', InMode))
methods.append(f)
+f = Method(SInt16, 'WEGetTabSize', (WEReference, 'we', InMode))
+methods.append(f)
+f = Method(OSErr, 'WESetTabSize', (SInt16, 'tabWidth', InMode), (WEReference, 'we', InMode))
+methods.append(f)
# add the populated lists to the generator groups
# (in a different wordl the scan program would generate this)