Skip to content

Commit

Permalink
Merge branch 'master' into inkscape-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed May 9, 2020
2 parents 67e740b + 219bc38 commit 5e492d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ task zip(type: Zip) {

}

def pycharmVersion = '2019.2'
def pycharmVersion = '2020.1'

// This task is used to debug the plugin in a different IDE, in this case Pycharm
// Source: https://gist.github.com/thomas15v/716ea57261855bf61d8b6131be419c26
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.progress.Task
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiFile
import com.intellij.psi.SmartPointerManager
import com.intellij.psi.SmartPsiElementPointer
import com.intellij.psi.util.createSmartPointer
import nl.hannahsten.texifyidea.index.LatexDefinitionIndex
import nl.hannahsten.texifyidea.insight.InsightGroup
import nl.hannahsten.texifyidea.inspections.TexifyInspectionBase
Expand Down Expand Up @@ -56,7 +56,7 @@ class LatexPackageNotInstalledInspection : TexifyInspectionBase() {
descriptors.add(manager.createProblemDescriptor(
command,
"Package is not installed",
InstallPackage(file.createSmartPointer(file.project), `package`),
InstallPackage(SmartPointerManager.getInstance(file.project).createSmartPsiElementPointer(file), `package`),
ProblemHighlightType.WARNING,
isOntheFly
))
Expand Down

0 comments on commit 5e492d6

Please sign in to comment.