| Summary: | view.setVirtualCursorPosition: wrong behavior when line contains tabs | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Grósz Dániel <groszdanielpub> |
| Component: | scripting | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | 25.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Grósz Dániel
2025-12-27 23:40:15 UTC
Sounds not correct on first glance, if you have interest to patch that, that is welcome. I would assume one should use KTextEditor::DocumentPrivate::fromVirtualColumn inside the setCursorPositionInternal of the view A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/856 Did some test patch. If you could try that, with files with tabs and (and if stuff like block selection still works), that would be nice. |