예제 #1
0
 def run(self, character=None):
     state = VintageState(self.view)
     if character is None:
         state.motion = 'vi_t'
         state.expecting_user_input = True
     else:
         state.user_input = character
         state.expecting_user_input= False
         state.run()
예제 #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.run()
예제 #5
0
 def run(self, character=None):
     state = VintageState(self.view)
     if character is None:
         state.motion = 'vi_big_t'
         # XXX: Maybe we should simply use ["t", "<character>"] in the key map and be done
         # with this.
         state.expecting_user_input = True
     else:
         state.user_input = character
         state.expecting_user_input= False
         state.run()
예제 #6
0
 def run(self, inclusive=False):
     state = VintageState(self.view)
     if inclusive:
         state.motion = 'vi_inclusive_text_object'
     else:
         state.motion = 'vi_exclusive_text_object'
     state.expecting_user_input = True
예제 #7
0
 def run(self, inclusive=False):
     state = VintageState(self.view)
     if inclusive:
         state.motion = 'vi_inclusive_text_object'
     else:
         state.motion = 'vi_exclusive_text_object'
     state.expecting_user_input = True
예제 #8
0
 def run(self):
     state = VintageState(self.view)
     state.action = 'vi_at'
     state.expecting_user_input = True
예제 #9
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input = character
     state.expecting_user_input = False
     state.eval()
예제 #10
0
 def run(self):
     state = VintageState(self.view)
     state.motion = 'vi_big_f'
     state.expecting_user_input = True
예제 #11
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     state.motion = 'vi_quote'
     state.expecting_user_input = True
예제 #12
0
 def run(self, character=None):
     state = VintageState(self.view)
     state.user_input = character
     state.expecting_user_input= False
     state.run()
예제 #13
0
 def run(self):
     state = VintageState(self.view)
     state.motion = 'vi_big_f'
     state.expecting_user_input = True
예제 #14
0
 def run(self):
     state = VintageState(self.view)
     state.action = 'vi_at'
     state.expecting_user_input = True
예제 #15
0
 def run(self, edit, character=None):
     state = VintageState(self.view)
     state.motion = 'vi_quote'
     state.expecting_user_input = True