File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/jupyterlab-lsp/src/editor_integration Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 55- bug fixes
66
77 - custom cell syntax highlighting is now properly removed when no longer needed ([ #387 ] )
8+ - the completer in continuous hinting now works well with the pasted text ([ #389 ] )
89
910[ #387 ] : https://github.com/krassowski/jupyterlab-lsp/issues/387
11+ [ #389 ] : https://github.com/krassowski/jupyterlab-lsp/issues/389
1012
1113### ` @krassowski/jupyterlab-lsp 2.0.7 ` (2020-09-18)
1214
Original file line number Diff line number Diff line change @@ -230,7 +230,8 @@ export abstract class CodeMirrorIntegration
230230
231231 protected extract_last_character ( change : CodeMirror . EditorChange ) : string {
232232 if ( change . origin === 'paste' ) {
233- return change . text [ 0 ] [ change . text . length - 1 ] ;
233+ let last_line = change . text [ change . text . length - 1 ] ;
234+ return last_line [ last_line . length - 1 ] ;
234235 } else {
235236 return change . text [ 0 ] [ 0 ] ;
236237 }
You can’t perform that action at this time.
0 commit comments