MCPcopy
hub / github.com/makelove/OpenCV-Python-Tutorial / add_link

Method add_link

官方samples/demo.py:148–150  ·  view source on GitHub ↗
(start, end, url)

Source from the content-addressed store, hash-verified

146 text.insert('end', s+'\n')
147
148 def add_link(start, end, url):
149 for tag in self.linker.add(url):
150 text.tag_add(tag, start, end)
151 self.match_text(r'http://\S+', add_link)
152
153 def match_text(self, pattern, tag_proc, regexp=True):

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected