Skip to content

Commit 14fc06a

Browse files
committed
Try ignore problem
1 parent 9b819fa commit 14fc06a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
.*TemplateWordInPluginId
2-
.*TemplateWordInPluginName
1+
.*com.firsttimeinforever.intellij.pdf.viewer.tex.TexPdfViewer.forwardSearch$lambda$2(FileEditorManager, VirtualFile, OpenFileDescriptor, Project, int, VirtualFile) : void. This field is marked with @org.jetbrains.annotations.ApiStatus.Internal.*

plugin/src/main/kotlin/com/firsttimeinforever/intellij/pdf/viewer/tex/TexPdfViewer.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ class TexPdfViewer : ExternalPdfViewer {
6969
// Only open in right split when there already is an open file, otherwise it is not possible to open a right split because there
7070
// is nothing to split.
7171
if (fileEditorManager.hasOpenFiles()) {
72-
val editorWindow = OpenInRightSplitAction.openInRightSplit(project, file, pdfEditor, requestFocus = false)
72+
// There does not seem to be a public alternative
73+
@Suppress("UnstableApiUsage") val editorWindow = OpenInRightSplitAction.openInRightSplit(project, file, pdfEditor, requestFocus = false)
7374
editorWindow?.selectedComposite?.selectedWithProvider?.fileEditor as? PdfFileEditor
7475
} else {
7576
pdfEditor.navigate(false)

0 commit comments

Comments
 (0)