Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13735e3

Browse files
committed
Added Help, Scrap and icglue missing methods.
1 parent bf222c9 commit 13735e3

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

Mac/scripts/missingcarbonmethods.py

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,25 @@
22
# This module is mainly for documentation purposes, but you could use
33
# it to automatically search for usage of methods that are missing.
44
#
5-
# Modules Help and (for the time being) Scrap are completely missing.
65

6+
missing_icglue = [
7+
'ICFindConfigFile',
8+
'ICFindUserConfigFile',
9+
'ICChooseConfig',
10+
'ICChooseNewConfig',
11+
]
12+
13+
missing_Help = [
14+
'Help'
15+
]
16+
17+
missing_Scrap = [
18+
'InfoScrap',
19+
'GetScrap',
20+
'ZeroScrap',
21+
'PutScrap',
22+
]
23+
724
missing_Win = [
825
'GetAuxWin',
926
'GetWindowDataHandle',
@@ -143,7 +160,7 @@ def _search():
143160
# Warning: this function only works on Unix
144161
import string, os
145162
re = string.join(missing, '|')
146-
re = """[^a-zA-Z'"](%s)[^a-zA-Z'"]""" % re
163+
re = """[^a-zA-Z0-9_'"](%s)[^a-zA-Z0-9_'"]""" % re
147164
os.system("find . -name '*.py' -print | xargs egrep '%s'"%re)
148165

149166
if __name__ == '__main__':

0 commit comments

Comments
 (0)