##// END OF EJS Templates
Fix typos
Andrew Kreimer -
Show More
@@ -77,7 +77,7 class NavigableAutoSuggestFromHistory(AutoSuggestFromHistory):
77 def connect(self, pt_app: PromptSession):
77 def connect(self, pt_app: PromptSession):
78 self._connected_apps.append(pt_app)
78 self._connected_apps.append(pt_app)
79 # note: `on_text_changed` could be used for a bit different behaviour
79 # note: `on_text_changed` could be used for a bit different behaviour
80 # on character deletion (i.e. reseting history position on backspace)
80 # on character deletion (i.e. resetting history position on backspace)
81 pt_app.default_buffer.on_text_insert.add_handler(self.reset_history_position)
81 pt_app.default_buffer.on_text_insert.add_handler(self.reset_history_position)
82 pt_app.default_buffer.on_cursor_position_changed.add_handler(self._dismiss)
82 pt_app.default_buffer.on_cursor_position_changed.add_handler(self._dismiss)
83
83
@@ -207,7 +207,7 class PassThrough(Filter):
207 pass_through = PassThrough()
207 pass_through = PassThrough()
208
208
209 # these one is callable and re-used multiple times hence needs to be
209 # these one is callable and re-used multiple times hence needs to be
210 # only defined once beforhand so that transforming back to human-readable
210 # only defined once beforehand so that transforming back to human-readable
211 # names works well in the documentation.
211 # names works well in the documentation.
212 default_buffer_focused = has_focus(DEFAULT_BUFFER)
212 default_buffer_focused = has_focus(DEFAULT_BUFFER)
213
213
General Comments 0
You need to be logged in to leave comments. Login now