04a81e9f606dcc4217ff0e43944f1c9dbfa7e35b,enthought/chaco/tools/tool_history_mixin.py,ToolHistoryMixin,_history_handle_key,#ToolHistoryMixin#,120
Before Change
return
def _history_handle_key(self, event):
if self.reset_state_key.match(event):
self._history_index = 0
self._reset_state_pressed()
event.handled = True
After Change
return
def _history_handle_key(self, event):
if self.reset_state_key is not None and self.reset_state_key.match(event):
self._history_index = 0
self._reset_state_pressed()
event.handled = True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: enthought/chaco
Commit Name: 04a81e9f606dcc4217ff0e43944f1c9dbfa7e35b
Time: 2009-03-25
Author: pwang@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/tools/tool_history_mixin.py
Class Name: ToolHistoryMixin
Method Name: _history_handle_key