File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/kotlin/com/github/xepozz/php_dump/startup Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import com.intellij.openapi.editor.event.EditorMouseListener
1010import com.intellij.openapi.project.Project
1111import com.intellij.psi.PsiDocumentManager
1212import com.intellij.psi.util.PsiTreeUtil
13- import com.intellij.psi.util.endOffset
14- import com.intellij.psi.util.startOffset
1513import com.jetbrains.php.lang.psi.elements.Method
1614
1715
@@ -52,8 +50,8 @@ class EditorListener : EditorMouseListener {
5250 .filter { it != = selectedBlock }
5351 .forEach { block ->
5452 createFoldRegion(
55- block.startOffset,
56- block.endOffset - 1 ,
53+ block.textRange. startOffset,
54+ block.textRange. endOffset - 1 ,
5755 block.blockName.name ? : " ..." ,
5856 FoldingGroup .newGroup(" before block" ),
5957 false ,
You can’t perform that action at this time.
0 commit comments