Commit d3b95e0
authored
fix(gutter): enable mouse events for tooltip (#42)
* fix(gutter): enable mouse events for tooltip
Add transparent background to gutter margin Canvas so mouse events
are properly captured. WPF requires a Background to be set for
hit-testing to work.
* chore: remove unimplemented menu entries and settings
- Remove Git Graph, File History, Line History, Compare commands from menus
- Remove Git Graph settings from options page
- Keep stub command files for future implementation
- Remove unused command ID constants
* chore: remove unused command stub files
* chore: remove command stubs from project file
* fix(gutter): prevent tooltip flicker by caching line number
* feat(menu): move commands to Extensions > Git Ranger submenu
- Create Git Ranger submenu under Extensions top-level menu
- Move Toggle Inline Blame and Toggle Blame Gutter to submenu
- Remove "Git Ranger:" prefix from menu items (submenu provides context)
* fix(menu): use IDG_VS_MM_TOOLSADDINS for Extensions menu placement
* fix(gutter): use Popup for tooltip and add TextChanges flag
- Replace WPF ToolTip with Popup for reliable dynamic tooltips
- Add TextChanges CommandFlag to allow Enable/Disable text updates
* fix(gutter): prevent tooltip flicker with line tracking
* fix(gutter): disable popup hit testing to prevent mouse event interference
* fix(gutter): use PreviewMouseLeftButtonUp for reliable click handling
* fix(gutter): use tracked tooltip line for click handler
* fix(gutter): use PreviewMouseLeftButtonDown for click handling1 parent 7d28838 commit d3b95e0
File tree
9 files changed
+103
-377
lines changed- src/CodingWithCalvin.GitRanger
- Commands
- Editor/GutterMargin
- Options
9 files changed
+103
-377
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 161 deletions
This file was deleted.
0 commit comments