TheSource
TheSource

Reputation: 121

How to remove/hide vertical and horizontal scrollbars from eclipse editor?

I'm using Eclipse and I would like to remove scrollbars from the editor. (I usually partition my screen with multiple opened editors. I want to save space.).

Is there an easy way?

I'm using Windows 7.

Upvotes: 10

Views: 4771

Answers (2)

Macilias
Macilias

Reputation: 3535

For all mac users: Apple menu > System Preferences, then click General > Show scroll bars Select “Automatically based on mouse or trackpad.” i voila :)

Upvotes: 1

VonC
VonC

Reputation: 1323183

That an oldie:

  • bug 27096 mentions the presence of scrollbar for StyleText since 2003, and is a duplicate for:
  • bug 34928 - Editors show scrollbars even when source has just 1 line with 1 char (also 2003)

Simply put, the StyledText widget has no API to show scrollbars only when necessary.
This is a SWT limitation.

Upvotes: 2

Related Questions