gsantner / markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
https://github.com/gsantner/markor/discussions/2269
Other
3.8k stars 363 forks source link

View Mode: Save & Restore scroll position #1025

Open geniuslittleteddy opened 4 years ago

geniuslittleteddy commented 4 years ago

General information

Reading position of a long note could get lost after device orientation changes. It's annoying to manually scroll to the target position I read before.

Description

Some screen shots here Screen Shot 2020-08-09 at 4 16 21 PM Screen Shot 2020-08-09 at 4 16 32 PM

Log

matobarny commented 4 years ago

hey @gsantner I would like to solve this issue. Can you assign me?

matobarny commented 4 years ago

If this issue is still available I would be thankfull if I could try it and learn something new. Thank you.

gsantner commented 4 years ago

Hey matobarny, thanks for help!

One note: At same time the content gets loaded, not everything might be fully loaded. So i.e. you probably will require a delay timer of like 500ms after setting content prior to apply cursor pos. Good luck!

Note 2: View Mode, WebView.

gsantner commented 3 years ago

@matobarny I haven't heard something back, so I guess you never started?

DrRajivKulkarni commented 3 years ago

New search is fantastic. But once, any one search result is opened the searched results are lost.

gsantner commented 3 years ago
  1. this is completley unrelated to the #1025
  2. There is a history of recent searches at file search, which you can use to redo search
CutieDeng commented 2 years ago

Maybe I can provide some ideas for it: #1733.

gsantner commented 7 months ago

From 2195 XYIheng

In a long text file. I scroll down and append some txt at the end of the file, then click view mode. The file goes to the beginning instead of keeping scroll position

https://github.com/gsantner/markor/assets/31406320/8314a63b-0825-422a-82b4-a5355c82ca1a