~gcrosswhite/leo-editor/ran-setup-through-2to3

« back to all changes in this revision

Viewing changes to leo/core/leoGui.py

  • Committer: Edward K. Ream
  • Date: 2011-06-06 20:16:21 UTC
  • Revision ID: edreamleo@gmail.com-20110606201621-prug8gz4wt1mrzom
Eliminate stroke arg to k.masterKeyHander: a good simplification for macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
    def event_generate(self,c,char,stroke,w):
205
205
 
206
206
        event = self.create_key_event(c,char,stroke,w)
207
 
        c.k.masterKeyHandler(event,stroke=event.stroke)
 
207
        c.k.masterKeyHandler(event) ## ,stroke=event.stroke)
208
208
        c.outerUpdate()
209
209
    #@+node:ekr.20061109212618: *3* Must be defined in subclasses
210
210
    #@+node:ekr.20031218072017.3723: *4* app.gui create & destroy