Lines Matching refs:pm
44 pm = ParenMatch(self.editwin)
45 pm.bell = lambda: None
46 return pm
53 pm = self.get_parenmatch()
61 pm.STYLE = style
64 pm.flash_paren_event('event')
73 pm.restore_event()
78 pm.paren_closed_event('event')
89 pm = self.get_parenmatch()
92 pm.paren_closed_event('event')
95 pm.flash_paren_event('event')
96 pm.paren_closed_event('event')
99 pm.paren_closed_event('event')
102 pm = self.get_parenmatch()
103 pm.restore_event = Mock()
104 pm.handle_restore_timer(0)
105 self.assertTrue(pm.restore_event.called)
106 pm.restore_event.reset_mock()
107 pm.handle_restore_timer(1)
108 self.assertFalse(pm.restore_event.called)