markor icon indicating copy to clipboard operation
markor copied to clipboard

Editor & Viewer: Reading with auto-scroll

Open gsantner opened this issue 5 years ago • 4 comments

General information

  • App version: v2.1
  • System: v9

Description

Currently Markor's focus is mainly on writing and navigating text. This a task out of this years main tooic for hacktoberfest: Reading.

The goal of this is to add a menu toolbar button which enable auto scrolling of text.

  • This should be available for both View mode (webview) and Edit mode (EditText)
  • Goal is to jump every X milliseconds by a page (or e.g. 20 lines of text).
  • The speed (milliseconds interval) should be configurable. Easiest is in settings.
  • Dont do continous scrolling. Might look nice as showcase but not suitable for reading. (So you can focus on text with eye and it doesnt move while reading the same word :D)

Please let me know when YOU start on this, need information or any help.

gsantner avatar Sep 30 '19 16:09 gsantner

Hi, I would like to attempt this. One question though - should both the jump time and the jump line count be adjustable? Or should it just be the millisecond interval?

UtnansN avatar Oct 07 '19 15:10 UtnansN

@UtnansN For now use constants like

void func(param1, param2, ...) {
  final int interval = 123;
  final int countPages / countLines = 123;

  othercode;
}

I don't know yet how it will land in Markor in the end, for now just want to add it as a experiment. Thus no settings and no string ressources etc required. (i.e. hardcoded strings). (Else translators ask what this is about and where they can find it.)

So pretty much, the easiest implementation without cross referencing would be the best. At same time guess this will also be the easiest way for you to get into the project as you don't need to care about most things.

Thanks! Please let me know if you need any help

gsantner avatar Oct 07 '19 15:10 gsantner

@UtnansN Thanks!

Please make a pull request as soon as you start, that makes it easier to detect bigger issues and you don't do certain things multiple times :).

gsantner avatar Oct 08 '19 12:10 gsantner

Open again, no changes yes :smile:

gsantner avatar Oct 28 '19 17:10 gsantner