Bladeren bron

compdfkit(win) - 去掉文字编辑 alt 按键时选中文字范围

liyuxuan 1 jaar geleden
bovenliggende
commit
4ba6a7ae32
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      Demo/Examples/ContentEditor/MainWindow.xaml.cs
  2. 2 2
      Demo/Examples/PDFViewer/MainPage.xaml.cs

+ 2 - 2
Demo/Examples/ContentEditor/MainWindow.xaml.cs

@@ -1248,13 +1248,13 @@ namespace ContentEditor
             {
                 if (e.SystemKey == Key.Up)
                 {
-                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLocationLineBegin, true);
+                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLocationLineBegin, false);
                     e.Handled = true;
                 }
 
                 if (e.SystemKey == Key.Down)
                 {
-                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeLineEnd, true);
+                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeLineEnd, false);
                     e.Handled = true;
                 }
             }

+ 2 - 2
Demo/Examples/PDFViewer/MainPage.xaml.cs

@@ -1466,13 +1466,13 @@ namespace PDFViewer
             {
                 if (e.SystemKey == Key.Up)
                 {
-                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLocationLineBegin, true);
+                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLocationLineBegin, false);
                     e.Handled = true;
                 }
 
                 if (e.SystemKey == Key.Down)
                 {
-                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeLineEnd, true);
+                    pdfViewControl.PDFView.JumpEditingLoction(CEditingLocation.CEditingLoadTypeLineEnd, false);
                     e.Handled = true;
                 }
             }