|
@@ -992,7 +992,7 @@ namespace PDFViewer
|
|
|
}
|
|
|
|
|
|
public void OpenFile()
|
|
|
- {
|
|
|
+ {
|
|
|
string filePath = CommonHelper.GetFilePathOrEmpty();
|
|
|
string oldFilePath = pdfViewControl.PDFView.Document.FilePath;
|
|
|
|
|
@@ -1479,6 +1479,33 @@ namespace PDFViewer
|
|
|
e.Handled = true;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if (Keyboard.Modifiers == (ModifierKeys.Control | ModifierKeys.Shift))
|
|
|
+ {
|
|
|
+ if (e.Key == Key.Left)
|
|
|
+ {
|
|
|
+ pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypePreWord, true);
|
|
|
+ e.Handled = true;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (e.Key == Key.Right)
|
|
|
+ {
|
|
|
+ pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeNextWord, true);
|
|
|
+ e.Handled = true;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (e.Key == Key.Up)
|
|
|
+ {
|
|
|
+ pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeSectionBegin, true);
|
|
|
+ e.Handled = true;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (e.Key == Key.Down)
|
|
|
+ {
|
|
|
+ pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeSectionEnd, true);
|
|
|
+ e.Handled = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
#endregion
|
|
|
|