@@ -241,6 +241,11 @@ await Commands.SaveRevisionFile
241241 Native . OS . OpenWithDefaultEditor ( tmpFile ) ;
242242 }
243243
244+ public string GetAbsPath ( string path )
245+ {
246+ return Native . OS . GetAbsPath ( _repo . FullPath , path ) ;
247+ }
248+
244249 public ContextMenu CreateChangeContextMenuByFolder ( ChangeTreeNode node , List < Models . Change > changes )
245250 {
246251 var fullPath = Native . OS . GetAbsPath ( _repo . FullPath , node . FullPath ) ;
@@ -293,6 +298,7 @@ public ContextMenu CreateChangeContextMenuByFolder(ChangeTreeNode node, List<Mod
293298 var copyPath = new MenuItem ( ) ;
294299 copyPath . Header = App . Text ( "CopyPath" ) ;
295300 copyPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
301+ copyPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+C" : "Ctrl+C" ;
296302 copyPath . Click += async ( _ , ev ) =>
297303 {
298304 await App . CopyTextAsync ( node . FullPath ) ;
@@ -302,6 +308,7 @@ public ContextMenu CreateChangeContextMenuByFolder(ChangeTreeNode node, List<Mod
302308 var copyFullPath = new MenuItem ( ) ;
303309 copyFullPath . Header = App . Text ( "CopyFullPath" ) ;
304310 copyFullPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
311+ copyFullPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+⇧+C" : "Ctrl+Shift+C" ;
305312 copyFullPath . Click += async ( _ , e ) =>
306313 {
307314 await App . CopyTextAsync ( fullPath ) ;
@@ -432,6 +439,7 @@ public ContextMenu CreateChangeContextMenu(Models.Change change)
432439 var copyPath = new MenuItem ( ) ;
433440 copyPath . Header = App . Text ( "CopyPath" ) ;
434441 copyPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
442+ copyPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+C" : "Ctrl+C" ;
435443 copyPath . Click += async ( _ , ev ) =>
436444 {
437445 await App . CopyTextAsync ( change . Path ) ;
@@ -441,6 +449,7 @@ public ContextMenu CreateChangeContextMenu(Models.Change change)
441449 var copyFullPath = new MenuItem ( ) ;
442450 copyFullPath . Header = App . Text ( "CopyFullPath" ) ;
443451 copyFullPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
452+ copyFullPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+⇧+C" : "Ctrl+Shift+C" ;
444453 copyFullPath . Click += async ( _ , e ) =>
445454 {
446455 await App . CopyTextAsync ( fullPath ) ;
@@ -477,6 +486,7 @@ public ContextMenu CreateRevisionFileContextMenuByFolder(string path)
477486 var copyPath = new MenuItem ( ) ;
478487 copyPath . Header = App . Text ( "CopyPath" ) ;
479488 copyPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
489+ copyPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+C" : "Ctrl+C" ;
480490 copyPath . Click += async ( _ , ev ) =>
481491 {
482492 await App . CopyTextAsync ( path ) ;
@@ -486,6 +496,7 @@ public ContextMenu CreateRevisionFileContextMenuByFolder(string path)
486496 var copyFullPath = new MenuItem ( ) ;
487497 copyFullPath . Header = App . Text ( "CopyFullPath" ) ;
488498 copyFullPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
499+ copyFullPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+⇧+C" : "Ctrl+Shift+C" ;
489500 copyFullPath . Click += async ( _ , e ) =>
490501 {
491502 await App . CopyTextAsync ( fullPath ) ;
@@ -622,6 +633,7 @@ await Commands.SaveRevisionFile
622633 var copyPath = new MenuItem ( ) ;
623634 copyPath . Header = App . Text ( "CopyPath" ) ;
624635 copyPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
636+ copyPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+C" : "Ctrl+C" ;
625637 copyPath . Click += async ( _ , ev ) =>
626638 {
627639 await App . CopyTextAsync ( file . Path ) ;
@@ -631,6 +643,7 @@ await Commands.SaveRevisionFile
631643 var copyFullPath = new MenuItem ( ) ;
632644 copyFullPath . Header = App . Text ( "CopyFullPath" ) ;
633645 copyFullPath . Icon = App . CreateMenuIcon ( "Icons.Copy" ) ;
646+ copyFullPath . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+⇧+C" : "Ctrl+Shift+C" ;
634647 copyFullPath . Click += async ( _ , e ) =>
635648 {
636649 await App . CopyTextAsync ( fullPath ) ;
0 commit comments