ajaxorg/ace — comment on commit bbcb00acc4337abaa8dd4a4809ee388cb3b5eeb2
File: lib/ace/mode/folding/fold_mode.js line 54
By nightwing:

i thought $testBoth/$testStart could be used to eliminate one if check from getFoldWidget,
which is called rather frequently,
but if you think it's not worth the trouble, merging all together would be better?

```js
var line = session.getLine(row);

if(this.foldingStartMarker && this.foldingStartMarker.test(line))
return "start";
if(this.foldingStopMarke && this.foldingStopMarker.test(line))
return "end";
return "";
```