Searched refs:tag_add (Results 1 - 25 of 29) sorted by relevance

12

/external/python/cpython3/Lib/idlelib/idle_test/
H A Dtest_search.py67 text.tag_add('sel', '1.0', '1.4') # Select 'Hello'
71 text.tag_add('sel', '1.6', '1.11') # Select 'World!'
75 text.tag_add('sel', '1.0', '1.11') # Select 'Hello World!'
H A Dtest_paragraph.py306 text.tag_add('sel', '1.11', '1.end')
320 text.tag_add('sel', '2.0', '4.0')
349 text.tag_add('sel', '2.0', '3.0')
364 ## text.tag_add('sel', '3.0', '5.0')
H A Dtest_hyperparser.py68 self.text.tag_add('console', '1.0', '1.end')
/external/python/cpython2/Lib/idlelib/
H A DSearchDialog.py55 text.tag_add("sel", first, last)
79 text.tag_add(SEL, "1.0", END)
H A DReplaceDialog.py178 text.tag_add("sel", first, last)
181 text.tag_add("hit", first)
183 text.tag_add("hit", first, last)
211 text.tag_add(SEL, "1.0", END)
H A DParenMatch.py136 self.text.tag_add("paren", indices[0])
145 self.text.tag_add("paren", indices[0], rightindex)
H A DColorDelegator.py96 self.tag_add("TODO", index1, index2)
205 self.tag_add(key,
212 self.tag_add("DEFINITION",
228 self.tag_add("TODO", next)
H A DScriptBinding.py121 text.tag_add("ERROR", pos)
124 text.tag_add("ERROR", pos + " wordstart", pos)
H A DGrepDialog.py146 text.tag_add(SEL, "1.0", END)
H A DPyShell.py170 text.tag_add("BREAK", "%d.0" % lineno, "%d.0" % (lineno+1))
341 self.tag_add("SYNC", "1.0", "iomark")
725 text.tag_add("ERROR", pos)
729 text.tag_add("ERROR", pos + " wordstart", pos)
1202 self.text.tag_add("stdin", "iomark", "end-1c")
/external/python/cpython3/Lib/idlelib/
H A Dsearch.py60 text.tag_add("sel", first, last)
89 text.tag_add('sel', '1.0', 'end')
H A Dreplace.py192 text.tag_add("sel", first, last)
195 text.tag_add("hit", first)
197 text.tag_add("hit", first, last)
230 text.tag_add(SEL, "1.0", END)
H A Dparenmatch.py132 self.text.tag_add("paren", indices[0])
141 self.text.tag_add("paren", indices[0], rightindex)
H A Dcolorizer.py114 self.tag_add("TODO", index1, index2)
223 self.tag_add(key,
230 self.tag_add("DEFINITION",
246 self.tag_add("TODO", next)
H A Dgrep.py146 text.tag_add(SEL, "1.0", END)
H A Deditor.py333 self.text.tag_add("sel", first, last)
511 self.text.tag_add("sel", "1.0", "end-1c")
632 self.text.tag_add("sel", "insert", "insert +1l")
687 text.tag_add("ERROR", pos)
690 text.tag_add("ERROR", pos + " wordstart", pos)
1454 text.tag_add("sel", head, "insert")
H A Dpyshell.py159 text.tag_add("BREAK", "%d.0" % lineno, "%d.0" % (lineno+1))
331 self.tag_add("SYNC", "1.0", "iomark")
1180 self.text.tag_add("stdin", "iomark", "end-1c")
/external/python/cpython2/Demo/tkinter/guido/
H A Drmt.py120 t.tag_add('bold', 'insert linestart', 'promptEnd')
131 t.tag_add('bold', 'promptEnd linestart', 'promptEnd')
H A DManPage.py173 self.tag_add(prop, here, AtInsert())
/external/python/cpython2/Lib/idlelib/idle_test/
H A Dtest_formatparagraph.py306 text.tag_add('sel', '1.11', '1.end')
320 text.tag_add('sel', '2.0', '4.0')
349 text.tag_add('sel', '2.0', '3.0')
364 ## text.tag_add('sel', '3.0', '5.0')
H A Dtest_hyperparser.py67 self.text.tag_add('console', '1.0', '1.end')
/external/python/cpython2/Tools/pynche/
H A DTextViewer.py69 self.__text.tag_add(SEL, start, end)
/external/python/cpython2/Tools/scripts/
H A Dredemo.py144 self.stringdisplay.tag_add(tag, pfirst, plast)
/external/python/cpython3/Tools/demo/
H A Dredemo.py145 self.stringdisplay.tag_add(tag, pfirst, plast)
/external/python/cpython3/Tools/pynche/
H A DTextViewer.py69 self.__text.tag_add(SEL, start, end)

Completed in 912 milliseconds

12