Skip to content

Commit 994d3a7

Browse files
committed
Pushed version due to a small bug
1 parent e43676e commit 994d3a7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<id>de.halirutan.mathematica</id>
2424
<name>Mathematica Support</name>
2525
<category>Custom Language</category>
26-
<version>2.1</version>
26+
<version>2.1.1</version>
2727
<idea-version since-build="163"/>
2828
<vendor email="patrick@halirutan.de" url="http://mathematicaplugin.halirutan.de">Patrick Scheibe</vendor>
2929
<depends>com.intellij.modules.lang</depends>

src/de/halirutan/mathematica/codeinsight/folding/MathematicaExpressionFoldingBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ private void collectCommentRegion(@NotNull ASTNode node,
195195
final int currentLine = document.getLineNumber(comment.getTextOffset());
196196
int endOffset = document.getTextLength();
197197

198+
// Check if we have a valid section description in the next line
198199
if (currentLine < document.getLineCount() - 1) {
199200
final PsiComment nextLineComment = PsiTreeUtil.findElementOfClassAtRange(
200201
file,

0 commit comments

Comments
 (0)