How to remove/hide vertical and horizontal scrollbars from eclipse editor?
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.
For all mac users:Apple menu > System Preferences, then click General > Show scroll barsSelect “Automatically based on mouse or trackpad.” i voila :)