Exemplo n.º 1
0
 def run(self, character=None):
     state = VintageState(self.view)
     if character is None:
         state.motion = 'vi_big_t'
         state.expecting_user_input = True
     else:
         state.user_input = character
         state.expecting_user_input = False
         state.eval()
Exemplo n.º 2
0
 def run(self, character=None):
     state = VintageState(self.view)
     if character is None:
         state.motion = 'vi_big_t'
         state.expecting_user_input = True
     else:
         state.user_input = character
         state.expecting_user_input= False
         state.eval()
Exemplo n.º 3
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     if character is None:
         state.motion = 'vi_f'
         state.expecting_user_input = True
     else:
         # FIXME: Dead code?
         state.user_input = character
         state.expecting_user_input = False
         state.eval()
Exemplo n.º 4
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     if character is None:
         state.motion = 'vi_f'
         state.expecting_user_input = True
     else:
         # FIXME: Dead code?
         state.user_input = character
         state.expecting_user_input= False
         state.eval()
Exemplo n.º 5
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input = character
     state.expecting_user_input = False
     state.eval()
Exemplo n.º 6
0
 def run(self, motion):
     state = VintageState(self.view)
     state.motion = motion
     state.eval()
Exemplo n.º 7
0
 def run(self, action):
     state = VintageState(self.view)
     state.action = action
     state.eval()
Exemplo n.º 8
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input += character
     # The .user_input setter handles resetting the following property.
     if not state.expecting_user_input:
         state.eval()
Exemplo n.º 9
0
 def run(self, motion):
     state = VintageState(self.view)
     state.motion = motion
     state.eval()
Exemplo n.º 10
0
 def run(self, action):
     state = VintageState(self.view)
     state.action = action
     state.eval()
Exemplo n.º 11
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input += character
     # The .user_input setter handles resetting the following property.
     if not state.expecting_user_input:
         state.eval()
Exemplo n.º 12
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input = character
     state.expecting_user_input= False
     state.eval()
Exemplo n.º 13
0
 def run(self, edit, motion, action):
     state = VintageState(self.view)
     state.motion = motion
     state.action = action
     state.eval()