|
@@ -158,6 +158,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsUpdate(
|
|
|
!WinConfiguration->DisableOpenEdit)
|
|
!WinConfiguration->DisableOpenEdit)
|
|
|
UPD(CurrentEditInternalFocusedAction, EnabledFocusedFileOperation &&
|
|
UPD(CurrentEditInternalFocusedAction, EnabledFocusedFileOperation &&
|
|
|
!WinConfiguration->DisableOpenEdit)
|
|
!WinConfiguration->DisableOpenEdit)
|
|
|
|
|
+ UPD(CurrentCopyToClipboardFocusedAction, EnabledFocusedOperation)
|
|
|
// file operation
|
|
// file operation
|
|
|
UPD(CurrentRenameAction, EnabledFocusedOperation &&
|
|
UPD(CurrentRenameAction, EnabledFocusedOperation &&
|
|
|
((ScpExplorer->HasDirView[osLocal] && DirView(osLocal) == DirView(osCurrent)) ||
|
|
((ScpExplorer->HasDirView[osLocal] && DirView(osLocal) == DirView(osCurrent)) ||
|
|
@@ -509,6 +510,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsExecute(
|
|
|
EXE(CurrentSystemMenuFocusedAction, ScpExplorer->DisplaySystemContextMenu())
|
|
EXE(CurrentSystemMenuFocusedAction, ScpExplorer->DisplaySystemContextMenu())
|
|
|
EXE(CurrentEditWithFocusedAction, ScpExplorer->ExecuteCurrentFileWith(true))
|
|
EXE(CurrentEditWithFocusedAction, ScpExplorer->ExecuteCurrentFileWith(true))
|
|
|
EXE(CurrentEditInternalFocusedAction, ScpExplorer->ExecuteFile(osCurrent, efInternalEditor, NULL, true, true))
|
|
EXE(CurrentEditInternalFocusedAction, ScpExplorer->ExecuteFile(osCurrent, efInternalEditor, NULL, true, true))
|
|
|
|
|
+ EXE(CurrentCopyToClipboardFocusedAction, ScpExplorer->CopyFilesToClipboard(osCurrent, true))
|
|
|
// operation
|
|
// operation
|
|
|
EXE(CurrentEditAction, ScpExplorer->ExecuteFile(osCurrent, efDefaultEditor, NULL, true, false))
|
|
EXE(CurrentEditAction, ScpExplorer->ExecuteFile(osCurrent, efDefaultEditor, NULL, true, false))
|
|
|
EXE(CurrentEditInternalAction, ScpExplorer->ExecuteFile(osCurrent, efInternalEditor, NULL, true, false))
|
|
EXE(CurrentEditInternalAction, ScpExplorer->ExecuteFile(osCurrent, efInternalEditor, NULL, true, false))
|
|
@@ -521,7 +523,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsExecute(
|
|
|
EXE(CurrentDeleteAction, ScpExplorer->ExecuteFileOperationCommand(foDelete, osCurrent, false))
|
|
EXE(CurrentDeleteAction, ScpExplorer->ExecuteFileOperationCommand(foDelete, osCurrent, false))
|
|
|
EXE(CurrentDeleteAlternativeAction, ScpExplorer->ExecuteFileOperationCommand(foDelete, osCurrent, false, false, (void*)true))
|
|
EXE(CurrentDeleteAlternativeAction, ScpExplorer->ExecuteFileOperationCommand(foDelete, osCurrent, false, false, (void*)true))
|
|
|
EXE(CurrentPropertiesAction, ScpExplorer->ExecuteFileOperationCommand(foSetProperties, osCurrent, false))
|
|
EXE(CurrentPropertiesAction, ScpExplorer->ExecuteFileOperationCommand(foSetProperties, osCurrent, false))
|
|
|
- EXE(CurrentCopyToClipboardAction, ScpExplorer->CopyFilesToClipboard(osCurrent))
|
|
|
|
|
|
|
+ EXE(CurrentCopyToClipboardAction, ScpExplorer->CopyFilesToClipboard(osCurrent, false))
|
|
|
EXE(FileListToCommandLineAction, ScpExplorer->PanelExport(osCurrent, peFileList, pedCommandLine))
|
|
EXE(FileListToCommandLineAction, ScpExplorer->PanelExport(osCurrent, peFileList, pedCommandLine))
|
|
|
EXE(FileListToClipboardAction, ScpExplorer->PanelExport(osCurrent, peFileList, pedClipboard))
|
|
EXE(FileListToClipboardAction, ScpExplorer->PanelExport(osCurrent, peFileList, pedClipboard))
|
|
|
EXE(FullFileListToClipboardAction, ScpExplorer->PanelExport(osCurrent, peFullFileList, pedClipboard))
|
|
EXE(FullFileListToClipboardAction, ScpExplorer->PanelExport(osCurrent, peFullFileList, pedClipboard))
|