question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not move cursor to previous line

See original GitHub issue

Describe the bug

I want to move cursor one line up, but it is moved to different row when I press arrow up at the textarea editor

Bofore I press arrow up _

After I press arrow up _2

Tabulator Info

  • Which version of Tabulator are you using? 4.2.2

Expected behavior _3

Desktop (please complete the following information):

  • OS: Linux Mint 19.1
  • Browser FF
  • Version 66

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
olifolkerdcommented, Aug 11, 2019

Hey @KES777

You are correct, that should certainly navigate the text area better.

As it happens i have already written that functionality for another project i was working on so i can pull it back into the formatter for the 4.5 release

Cheers

Oli 😃

1reaction
aklavercommented, Aug 1, 2019

Alright. In edit.js ‘select’ the up arrow key is caught and:

case 38: //up arrow
e.stopImmediatePropagation();
e.stopPropagation();
e.preventDefault();

This is repeated for the other arrow keys There is no such code in ‘textarea’.

@olifolkerd will need to explain if there is a purpose for this or not?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to move cursor to previous line automatically?
Similarly, press the right key when cursor is at end of a line,and it will automatically jump to the 1st character of next...
Read more >
In C we use \n for the next line. Is there any way to go to ...
OTOH, control-K may not work — it depends on the terminal (or terminal emulation) that you're using. If the cursors is at the...
Read more >
how to move the cursor to previous lines which begins with ...
Use command reload or close and reopen terminal to see changes. In this approach you can use the file .bash_PS to set custom...
Read more >
[Chapter 2] 2.2 Moving the Cursor
[1] Similarly, you cannot move the cursor past a tilde (~) representing a line without text, nor can you move the cursor above...
Read more >
Console Virtual Terminal Sequences - Microsoft Learn
Move the cursor to the previous column (in the same row) with a tab stop. If there are no more tab stops, moves...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found