[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors&Wishes
In article <16343@sophia.inria.fr>, kuehne@pi.informatik.th-darmstadt.de
(Thomas Kuehne) writes:
=> CTEDIT
=>
=> The scrolling of a ctedit in entities of pixel is not very useful.
=> The scroll bar should adapt in size corresponing to the percentage of
=> text shown in the window relative to the whole text.
=>
Currently in centaur, while the "cursor", or thumb, of the scrollbar is not
resized proportionally to represent the percentage of text viewed in the window,
moving the cursor *one third* of the way down in the scrollbar's rectangle places
you *one third* of the way in the text. The cursor's position is a percentage.
Note that there is one exception to this, if your program is several screenfuls
long, you can't scroll the bottom line of the program above the bottom line
of the ctedit. This has as the effect that once the bottom line becomes visible
in the window (say, this is once you are at 4/5th the way down in your program)
then any further scrolling changes nothing (the bottom line stays nailed to the
bottom of the ctedit). A special case of the exception is that the program
is smaller than your window, here the bottom line never moves but is not forced
to be at the bottom of the ctedit's window.
All of this is a problem because the cursor is not resized. For example, when
the program is completely visible in the window, clearly, you'd like the cursor
to be as large as the scrollbar (or the scrollbar to disappear entirely). Why
is the cursor not resized?! This is related to the technology that we used to
implement the scrollbar and how it communicates with the object that we are
scrolling. In the version 1.1 (and earlier versions), given the setup improving
the scrollbar was not a priority. However, you'll be glad to hear you've struck
upon an item on my "to do" list, once i get version 1.2 out the door, that will
be both easy and fun to implement (so much so that on my list, i don't call it
work, i call it play! :-)
regards
janet