Submitted by Paul_J_Miller on 2018/11/10 05:57
Whilst editing or reading text I often find myself working with the cursor on the very last line of the Document pane and I often find myself scrolling the window up just to get the cursor off the bottom line.
 
It would be more comfortable to have the cursor automatically stay in the middle of the screen and the window scroll to keep it there.
 
The way I see this feature working is a tick box somewhere in the options for 'Typewriter scrolling'.
 
If the box is checked then the cursor position would be fixed at two thirds or three quarters of the way down the document pane whilst typing if there were enough text to support that.  Obviously if there were just a couple of lines of text or if you were just starting to write then the cursor would be at the top of the page, but as soon as there is enough text the cursor stays in the same position, in that way your eyes become accustomed to it being on the same line and know where to find it automatically.
 
The idea is that the text scrolls around the cursor rather than the cursor scrolling around the text. If you move onto the next line either through having come to the end of the line or through moving the cursor with the cursor keys then the text scrolls to keep the cursor in the same position.
 
Obviously one should be able to scroll around using the mouse wheel without altering the cursor position and also clicking on an arbitrary line of text should move the cursor position without triggering a scroll.  But as soon as one starts typing the text should scroll to place the cursor in the position about two thirds of the way down the screen.  This should be done with a smooth scroll not a jump (a smooth scroll with acceleration and deceleration so your eyes can follow it).
 
I would consider this feature to be 'nice to have' rather than being essential or even important.  I think it would make the editing environment more comfortable to use.  But I don't know how easy it would be to implement so if it would be problematic then I'm sure there are other features which deserve your attention.
 
This is just a suggestion.
 
 
 

Comments

Hi Paul,
 
V111L is now online and includes a first iteration of "Typewriter scrolling" whereby it keeps the cursor in the central area of the Doc pane window (25% to 75%)
A menu command will eventually be added, for now, the Doc pane status bar has a "T" button to toggle the feature On / Off
 
HTH !
 
Pierre_Admin
IQ Designer
 

Paul_J_Miller

2019/01/15 20:28

In reply to by Pierre_Admin

I downloaded the patch and installed it and thought that something was wrong with the typewriter scrolling because I couldn't see the button.
 
It turns out I had the document pane status bar switched off.
 
Typewriter scrolling works very well, thank you Pierre.
 
I think it's a useful addition, but it seems like I was the only one who wanted it.
 
I'm sure other people will also come to see it as useful once they have edited a few long documents with it switched on.
 
 

LeftEccoForIQ

2019/01/16 03:28

In reply to by Paul_J_Miller

Being a very recent EccoPro convert, I don't (yet?) use the document pane at all, but I've been greatly missing an option like this in the in-place (WYSIWIG) editor for grid items where any attempt to scroll actually aborts editing. See part '1' of this post infoqubeim.com/drupal5/. If it could be implement there also, it would be blessing, but I think it would mean making the edit control itself scrollable, which might be too much to contemplate...

Pierre_Admin

2019/02/12 23:31

In reply to by LeftEccoForIQ

It "could" be added to the grid WYSIWYG editor. In the meantime however, the new Item Editor (in v112, to be released tomorrow) will do the job for you !
 
Pierre_Admin
IQ Designer
 

Excellent news. Very excited to try it out!