Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Text traversal using moveCursor gets stuck at end of line and chunks/empty lines

未关闭
#71 5 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@MegatronKing 已经在做这个了。

开始于 2025年3月19日。

评估

这个 Issue 还没有评估数据。

描述

bug

Describe the bug
When using the controller moveCursor function to move the cursor right or down, it gets stuck at the end of a line (for right) or at the end of a chunk (for down).

The behaviour doesn't happen when going left or up, or in any direction when using extendSelection. The behaviour also doesn't happen

To Reproduce

  1. Create a flutter for android app (and make sure to implement key event support) or use the reqable app on android.
  2. write a few lines of code
  3. using the samsung keyboard or gboard, use the navigation functions. (Important because it works normally with a physical keyboard)
  4. the cursor gets stuck at the end of a line instead of continuing to the next line.

Expected behavior
The cursor should not be stuck unless at the end of file.

Device:

  • OS: Android 12

Additional context
When using the "select all" function inside the samsung keyboard, or gboard, it selects only one line. I guess it is related to the same issue.

I've attached a picture of the samsung keyboard screen that is used for text traversal, but gboard has the same and has the same behaviour.

Image

主要语言
Dart
星标
763
派生
103
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

reqable/re-editor 的其他 Issue

查看 reqable/re-editor 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

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