muzzle-velocity/lib
randogoth 14d6b3c44d always place cursor at end of file when switching to edit mode
Removes the unreliable viewport-centre cursor heuristic. Switching to
edit mode now always positions the cursor at text.length and scrolls to
the bottom, whether arriving from a regular tap or a long-press. The
long-press scroll-to-end on initial load (view mode) is unchanged.

Cleans up _cursorAtEnd flag, _editorKey / GlobalKey, _getOffsetAtViewportCenter,
and the public WrappedCodeFieldState / findRenderEditable that were only
needed for the removed feature.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 19:01:21 +03:00
..
themes devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
codefield.dart always place cursor at end of file when switching to edit mode 2026-06-19 19:01:21 +03:00
main.dart devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
note_editor.dart always place cursor at end of file when switching to edit mode 2026-06-19 19:01:21 +03:00
note_list.dart add long-press gesture to open note scrolled to end 2026-06-19 17:50:56 +03:00
read_only.dart devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
texts.dart added about and help texts, font size slider 2025-02-22 20:59:42 +02:00