-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IntelliJ 2023.2 compatibility API for InjectedLanguageManager.
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...ellij-compat/src/232/compat/com/intellij/compat/lang/injection/InjectedLanguageManager.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (C) 2023 Reece H. Dunn. SPDX-License-Identifier: Apache-2.0 | ||
package com.intellij.compat.lang.injection | ||
|
||
import com.intellij.psi.FileViewProvider | ||
|
||
abstract class InjectedLanguageManager : com.intellij.lang.injection.InjectedLanguageManager() { | ||
abstract fun isInjectedViewProvider(viewProvider: FileViewProvider): Boolean | ||
} |
4 changes: 4 additions & 0 deletions
4
src/intellij-compat/src/232/native/com/intellij/compat/lang/injection/TypeAlias.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright (C) 2023 Reece H. Dunn. SPDX-License-Identifier: Apache-2.0 | ||
package com.intellij.compat.lang.injection | ||
|
||
typealias InjectedLanguageManager = com.intellij.lang.injection.InjectedLanguageManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters