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.

caret is not restoring to correct place after restart

See original GitHub issue

reproduces only if you have two tabs and second tab is active. EDIT: and you must scroll down a little!

  1. open some file (1st tab), open another file, like git_manager.py (2nd tab)
  2. in the 2nd tab set cursor to line 28 before stdout=subprocess.PIPE,
  3. close Cud, reopen.

expected result: caret is on 28 line. actual result: caret is between 18 and 19 lines??

https://user-images.githubusercontent.com/275333/201450723-178dbb5a-c9a3-49ab-bfd4-0a3d0fb8d2db.mp4

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
Alexey-Tcommented, Nov 12, 2022

staples + ruler on – fixed now.

1reaction
Alexey-Tcommented, Nov 12, 2022

reproduced. fixed it too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Restore cursor position after changing contenteditable
I found the solution. Here is a complete code: <div class="container" style="margin-top: 10px"> <div class="thumbnail value" contenteditable="true"> </div> ...
Read more >
Caret position is not restored after restart project : RIDER-86425
open several files in the Editor; place caret somewhere in the middle/end of the file; close the project and open it again.
Read more >
Position of Caret and Selection are not updated correctly ...
If you type into a StyleClassedTextArea, then press CTRL-Z, then begin typing again, the cursor gets reset to the start of the text....
Read more >
Caret Position Save/Restore - CodePen
Javascript to save the location of the caret and then restore it after edits or after losing focus....
Read more >
Accessibility features in Microsoft Edge
In Windows 11 all accessibility features can be found on a single settings ... Hold down Shift while moving the caret using the...
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