Пример #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()
Пример #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()
Пример #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()
Пример #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()
Пример #5
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input = character
     state.expecting_user_input = False
     state.eval()
Пример #6
0
 def run(self, motion):
     state = VintageState(self.view)
     state.motion = motion
     state.eval()
Пример #7
0
 def run(self, action):
     state = VintageState(self.view)
     state.action = action
     state.eval()
Пример #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()
Пример #9
0
 def run(self, motion):
     state = VintageState(self.view)
     state.motion = motion
     state.eval()
Пример #10
0
 def run(self, action):
     state = VintageState(self.view)
     state.action = action
     state.eval()
Пример #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()
Пример #12
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input = character
     state.expecting_user_input= False
     state.eval()
Пример #13
0
 def run(self, edit, motion, action):
     state = VintageState(self.view)
     state.motion = motion
     state.action = action
     state.eval()