mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
Revert "IDEA-374719 [debugger] Rearrange call chains in XStackFrame's default implementations" -- wrong commit message
This reverts commit 69e5f5857a9a1f7920b99ac5b61f28fcbdb61be2. GitOrigin-RevId: 1d6b68882991d3917b7156cb50b6674a57d6222e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c83659b7df
commit
b63bbd7d7c
+2
-5
@@ -27,7 +27,6 @@ import org.intellij.plugins.markdown.service.MarkdownLinkOpenerRemoteApi
|
||||
import java.io.IOException
|
||||
import java.net.URI
|
||||
import java.net.URISyntaxException
|
||||
import java.nio.file.InvalidPathException
|
||||
import java.nio.file.Path
|
||||
|
||||
internal class MarkdownLinkOpenerRemoteApiImpl : MarkdownLinkOpenerRemoteApi {
|
||||
@@ -97,15 +96,13 @@ internal class MarkdownLinkOpenerRemoteApiImpl : MarkdownLinkOpenerRemoteApi {
|
||||
}
|
||||
}
|
||||
val containingFile = virtualFileId?.virtualFile()?.parent ?: return null
|
||||
return try {
|
||||
val targetFile = try {
|
||||
containingFile.findFile(link.trimAnchor())
|
||||
}
|
||||
catch (_: IOException) {
|
||||
null
|
||||
}
|
||||
catch (_: InvalidPathException) {
|
||||
null
|
||||
}
|
||||
return targetFile
|
||||
}
|
||||
|
||||
private fun collectHeaders(anchor: String, targetFile: VirtualFile, project: Project): List<MarkdownHeaderInfo>? {
|
||||
|
||||
Reference in New Issue
Block a user