Javascript fixes
added forceMultiline parameter and removed line copied from C# folding
This commit is contained in:
parent
a70a9a88a9
commit
ef856d0f61
1 changed files with 2 additions and 4 deletions
|
|
@ -48,8 +48,6 @@ var FoldMode = exports.FoldMode = function(commentRegex) {
|
|||
oop.inherits(FoldMode, CFoldMode);
|
||||
|
||||
(function() {
|
||||
this.usingRe = /^\s*using \S/;
|
||||
|
||||
this.getFoldWidgetRangeBase = this.getFoldWidgetRange;
|
||||
this.getFoldWidgetBase = this.getFoldWidget;
|
||||
|
||||
|
|
@ -63,8 +61,8 @@ oop.inherits(FoldMode, CFoldMode);
|
|||
return fw;
|
||||
};
|
||||
|
||||
this.getFoldWidgetRange = function(session, foldStyle, row) {
|
||||
var range = this.getFoldWidgetRangeBase(session, foldStyle, row);
|
||||
this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
|
||||
var range = this.getFoldWidgetRangeBase(session, foldStyle, row, forceMultiline);
|
||||
if (range)
|
||||
return range;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue