mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix failing feature tests
This commit is contained in:
@@ -73,7 +73,7 @@ export default class CustomEditorView extends EditorView {
|
||||
} else {
|
||||
const line = this.state.doc.line(lineNo);
|
||||
pos = line.from + ch;
|
||||
if(pos > line.to) {
|
||||
if(ch == -1 || pos > line.to) {
|
||||
pos = line.to;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user