995
995
#else, that we can empty it.
996
996
our_paste = self.clipboard.paste_text()
997
997
if our_paste != None and clip.wait_for_text() == our_paste :
998
1000
for line in self.clipboard.paste():
1000
1002
self.buff.insert_at_cursor(line[1])
1003
1006
mark = self.buff.get_insert()
1004
1007
line_nbr = self.buff.get_iter_at_mark(mark).get_line()
1005
1008
#we must paste the \n before inserting the subtask
1006
1009
#else, we will start another subtask
1007
1010
self.buff.insert_at_cursor("\n")
1011
1013
#we handle ourselves the pasting
1012
1014
self.stop_emission("paste_clipboard")