如何从 Eclipse 编辑器中删除/隐藏垂直和水平滚动条? [英] How to remove/hide vertical and horizontal scrollbars from eclipse editor?

查看:49
本文介绍了如何从 Eclipse 编辑器中删除/隐藏垂直和水平滚动条?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Eclipse,我想从编辑器中删除滚动条.(我通常用多个打开的编辑器来分区我的屏幕.我想节省空间.)

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.).

有没有简单的方法?

我使用的是 Windows 7.

I'm using Windows 7.

推荐答案

老歌:

  • bug 27096 提到了自 2003 年以来 StyleText 滚动条的存在,并且是重复的:
  • bug 34928 - 即使源代码刚好,编辑器也会显示滚动条1 行 1 个字符(也是 2003 年)
  • 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)

简单地说,StyledText 小部件没有 API 来仅在必要时显示滚动条.
这是 SWT 限制.

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

这篇关于如何从 Eclipse 编辑器中删除/隐藏垂直和水平滚动条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆