remove destructive throw
This commit is contained in:
parent
c427956d0e
commit
8666652769
1 changed files with 3 additions and 1 deletions
|
|
@ -177,7 +177,9 @@ function FoldLine(foldData, folds) {
|
|||
&& fold.start.column != column
|
||||
&& fold.start.row != row)
|
||||
{
|
||||
throw "Moving characters inside of a fold should never be reached";
|
||||
//throwing here breaks whole editor
|
||||
//@todo properly handle this
|
||||
window.console && window.console.log(row, column, fold);
|
||||
} else if (fold.start.row == row) {
|
||||
folds = this.folds;
|
||||
var i = folds.indexOf(fold);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue