function isClean() {
                try {
                    return ed.getModel().canUndo() === false
                } catch (error) {
                    return false
                }

            }
Scroll vertically as necessary and reveal a line.
@param {Number} lineNumber
@param {ScrollType|Number} [scrollType] Immediate: = 1, Smooth: = 0