Version: 2.2 (using KDE 3.1.9) Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB-athlon It would be nice if Kate could update the line number in the status bar while scrolling with the scroll bars. That would make it easier to find a line.
Subject: Re: New: Update the statusbar line number while scrolling On Wednesday 16 July 2003 22:34, tim@tjansen.de wrote: > It would be nice if Kate could update the line number in the status bar > while scrolling with the scroll bars. That would make it easier to find a > line. Well, dragging the scrollbars does not move the cursor, and the scrollbar shows the cursor position. I once wrote code to make a tooltip on that popped up when the scrollbar handle were clicked, and showed the range of visible lines. Maybe that would be good? I could probably write that again (it never made it into the cvs source tree, and i haven't even got a copy). -anders
Subject: Re: Update the statusbar line number while scrolling > I once wrote code to make a tooltip on that popped up when the scrollbar > handle were clicked, and showed the range of visible lines. Maybe that > would be good? I could probably write that again (it never made it into the > cvs source tree, and i haven't even got a copy). think could be usefull ;)
> Well, dragging the scrollbars does not move the cursor, and the scrollbar > shows the cursor position. Effectively it does, because when you press the 'up' key after scrolling the cursor is at the scrolled position. Kate may handle the cursor differently internally (and change the cursor position only when the user presses the key), but for the user this is not obvious.
Subject: Re: Update the statusbar line number while scrolling On Wednesday 16 July 2003 23:12, tim@tjansen.de wrote: > Effectively it does, because when you press the 'up' key after scrolling > the cursor is at the scrolled position. Kate may handle the cursor > differently internally (and change the cursor position only when the user > presses the key), but for the user this is not obvious. No. If i position the cursor in the top of a long document, scrolls to the bottom using the scrollbar, and the moves either arrow, (<-, -> up, down), the cursor is moved one atom, and the document is scrolled back, so that it is visible. Just like it should be... -anders
Subject: Re: Update the statusbar line number while scrolling > Effectively it does, because when you press the 'up' key after scrolling > the cursor is at the scrolled position. Kate may handle the cursor > differently internally (and change the cursor position only when the user > presses the key), but for the user this is not obvious. hmm, here pressing up don't change the pos to the current scrollpos, and I don't think that scrolling changes cursor pos, not only not internally but it does in no other editor, too, that would just be even more confusing, a nice popup would show that much better with some "line 323 - 356" on screen
>I don't think that scrolling changes cursor pos, not only not internally but it >does in no other editor You're right about kate, did something wrong while testing. But emacs moves the cursor as you scroll, the cursor never leaves the visible area.
commit b7ba4cf72d5b86ce2a1a247fda4f0d393cd5cc62 Author: Joseph Wenninger Date: Sun Oct 28 00:47:28 2012 +0200 Show a tooltip next to the mouse cursor which shows the top line of the view while scrolling BUG; 61335