Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The Ce scroll bars can be slid behind the bottom or right arrows. Why?

arrows bars ce right scroll
0
Posted

The Ce scroll bars can be slid behind the bottom or right arrows. Why?

0

The behavior you see is intentional. In Ce, as opposed to other editors, you can scroll vertically past the point where the last line on the screen is the last line. You can scroll up till the last line in the file is the first line on the screen. To represent this required that we extend the normal behavior of the scroll bar. Since the slider represents the viewable portion of the file and the gutter represents the file, the viewable portion of the file can extend past the bottom of the file. The horizontal scroll bar follows the same logic but is slightly more complicated. Ce supports scrolling sideways past the right side of the longest line. Again this requires an extension of scroll bar behavior. To get reasonable horizontal scroll bar behavior, the slider is drawn as if the the longest line in the window is the length of longest line or the value from an arbitrary X resource (default 256 chars) called Ce.scrollBarWidth. See the help on X resource for more information.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123