File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -939,11 +939,11 @@ def p_key(self, key):
939
939
# Redraw (as there might have been highlighted parens)
940
940
self .print_line (self .s )
941
941
942
- elif key in ("KEY_NPAGE" , "\T" ): # page_down or \T
942
+ elif key in ("KEY_NPAGE" ): # page_down
943
943
self .hend ()
944
944
self .print_line (self .s )
945
945
946
- elif key in ("KEY_PPAGE" , "\S" ): # page_up or \S
946
+ elif key in ("KEY_PPAGE" ): # page_up
947
947
self .hbegin ()
948
948
self .print_line (self .s )
949
949
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def current_import(cursor_offset, line):
190
190
return LinePart (start , end , m .group (1 ))
191
191
192
192
193
- current_method_definition_name_re = LazyReCompile ("def\s+([a-zA-Z_][\w]*)" )
193
+ current_method_definition_name_re = LazyReCompile (r "def\s+([a-zA-Z_][\w]*)" )
194
194
195
195
196
196
def current_method_definition_name (cursor_offset , line ):
You can’t perform that action at this time.
0 commit comments