LaTeX mode: do not include opening brace in folds
This commit is contained in:
parent
1a4fb3ffcf
commit
f7a0e1901e
1 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ oop.inherits(FoldMode, BaseFoldMode);
|
||||||
var row = stream.getCurrentTokenRow();
|
var row = stream.getCurrentTokenRow();
|
||||||
if (dir === -1)
|
if (dir === -1)
|
||||||
return new Range(row, session.getLine(row).length, startRow, startColumn);
|
return new Range(row, session.getLine(row).length, startRow, startColumn);
|
||||||
else
|
stream.stepBackward();
|
||||||
return new Range(startRow, startColumn, row, stream.getCurrentTokenColumn());
|
return new Range(startRow, startColumn, row, stream.getCurrentTokenColumn());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue