Summary
When using CodeForge on desktop with lineWrap: false, drag-selecting text toward the left/right edge does not auto-scroll horizontally.
This makes it difficult to select long single-line content, such as minified JSON, long URLs, or compressed text.
There also seems to be a related horizontal scrolling issue where very long single-line content can feel clipped at the far right edge unless extra padding is added externally.
Environment
- Package:
code_forge
- Version:
10.11.0
- Platform: Flutter desktop
- Reproduced on: Windows
Reproduction
Use a basic editor like this:
CodeForge(
controller: controller,
lineWrap: false,
)
Then:
Paste a very long single-line text
Click inside the line
Hold the left mouse button and drag the selection toward the right edge of the editor
Keep dragging beyond the visible area
Expected behavior
The editor should automatically scroll horizontally while the selection drag is held near the left or right edge, so selection can continue beyond the visible viewport.
Summary
When using
CodeForgeon desktop withlineWrap: false, drag-selecting text toward the left/right edge does not auto-scroll horizontally.This makes it difficult to select long single-line content, such as minified JSON, long URLs, or compressed text.
There also seems to be a related horizontal scrolling issue where very long single-line content can feel clipped at the far right edge unless extra padding is added externally.
Environment
code_forge10.11.0Reproduction
Use a basic editor like this:
Then:
Paste a very long single-line text
Click inside the line
Hold the left mouse button and drag the selection toward the right edge of the editor
Keep dragging beyond the visible area
Expected behavior
The editor should automatically scroll horizontally while the selection drag is held near the left or right edge, so selection can continue beyond the visible viewport.