Generic text editor jumping on every edit on scroll right

未关闭
#3,856 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java, javascript
领域
desktop

调研方向

Start by reproducing the reported behavior in a JavaScript file using the supplied Eclipse version and screen cast; compare it with the JSP StructuredTextEditor, which reportedly works correctly. The issue does not name source files or tests, so locate the generic text editor's handling of edits and horizontal scrolling. Done means edits no longer jump the view back to the beginning of the line.

由索引模型根据 Issue 内容生成。

描述

bug

Hello,

Fresh install from eclipse-jee-2026-03-R-linux-gtk-x86_64.tar.gz

Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
Version: 2026-03 (4.39.0)
Build id: 20260305-0817
OS: Linux, v.6.12.74+deb13+1-amd64, x86_64 / gtk 3.24.49, WebKit 2.50.6
Java vendor: Eclipse Adoptium
Java runtime version: 21.0.10+7-LTS
Java version: 21.0.10

Debian 13 on gnome.
Screen size 1280x1024.
Eclipse Font Dejavu Sans Mono 14

When I edit a .js file, and as the font is big and my screen being not too big, I have to scroll over to edit lines that don't fit on the viewport. Every time I edit something, the editor jumps back to show the beginning of the line. It has been doing this for a while now.

Is there a setting to stop this jumping, as it makes using the editor difficult/impossible.

(It works ok on the StructuredTextEditor eg editing a .jsp file.)

Thanks.

###########

Screen cast and spy details

https://github.com/user-attachments/assets/b5188819-e99b-4258-9f5f-f643c28f00f1

Image
主要语言
Java
星标
124
派生
269
平均合并
3 天 56 分钟
30 天内合并 PR
65

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-platform/eclipse.platform.ui 的其他 Issue

查看 eclipse-platform/eclipse.platform.ui 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。