Repository navigation
rust-explorer: hover no longer selects rows (#230), date sort mixes folders and files, name new folders at once, Show in folder scrolls to the file - #245
Closed
cute-johnny wants to merge 2 commits into
Conversation
…t once, /select scrolls to the file - Sorted by Date modified, folders and files are listed together, newest is newest; "Folders first by date too" in Sort by brings back folders on top. - New folder / New text file (menu and Ctrl+N) selects the new entry and opens its name box, as Explorer does. - Started with /select (Show in folder when no window is open), the file is selected after the window has its size: scrolling a 0x0 list was lost, so in a big folder the selected file stayed out of view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xy#230) The hover preview asks for WM_MOUSEHOVER on the list and passed it on to the list view, which selects the row under the pointer on that message once the list has been clicked: after one click, every row the pointer rested on became the selection. The message is the preview's own request, so it now stops there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four small rust-explorer changes. Fixes #230.
WM_MOUSEHOVERon the list and passed it on to the list view. Once the list has been clicked, the list view selects the row under the pointer on that message, so every row the pointer rested on became the selection, for files and folders alike. The message is the preview's own request, sopreview.rsnow stops it there. The preview itself works as before.%APPDATA%\rust-explorer\date-folders-first) brings back folders on top for that column. The existing Folders first switch is unchanged./select(no window open yet),select_rowran inWM_CREATEwhile the list was still 0×0, soLVM_ENSUREVISIBLEwas lost and the file sat out of view. The row is now selected from a posted message, after the window is shown and sized. The path for an already open window (shell_select) is unchanged.Testing
cargo build --releasewith no warnings;cargo test --releaseinplugins/rust-explorer: 39 passed. (Built locally with thex86_64-pc-windows-gnutoolchain; CI builds MSVC.)🤖 Generated with Claude Code