Ejemplo n.º 1
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     if character is None:
         state.action = 'vi_r'
         state.expecting_user_input = True
     else:
         state.user_input = character
         state.expecting_user_input= False
         state.run()
Ejemplo n.º 2
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     if character is None:
         state.action = 'vi_r'
         state.expecting_user_input = True
     else:
         state.user_input = character
         state.expecting_user_input = False
         state.eval()
Ejemplo n.º 3
0
 def run(self):
     state = VintageState(self.view)
     state.action = 'vi_at'
     state.expecting_user_input = True
Ejemplo n.º 4
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     state.action = 'vi_m'
     state.expecting_user_input = True
Ejemplo n.º 5
0
 def run(self, action):
     state = VintageState(self.view)
     state.action = action
     state.eval()
Ejemplo n.º 6
0
 def run(self, action):
     state = VintageState(self.view)
     state.action = action
     state.eval()
Ejemplo n.º 7
0
 def run(self, edit, motion, action):
     state = VintageState(self.view)
     state.motion = motion
     state.action = action
     state.run()
Ejemplo n.º 8
0
 def run(self):
     state = VintageState(self.view)
     state.action = 'vi_at'
     state.expecting_user_input = True
Ejemplo n.º 9
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     state.action = 'vi_m'
     state.expecting_user_input = True