lib/action/editPoints.js
function(editor, syntax, profile) {
			var curPos = editor.getCaretPos();
			var newPoint = findNewEditPoint(editor, -1);
				
			if (newPoint == curPos)
				// we're still in the same point, try searching from the other place
				newPoint = findNewEditPoint(editor, -1, -2);
			
			if (newPoint != -1) {
				editor.setCaretPos(newPoint);
				return true;
			}
			
			return false;
		}
function(editor, syntax, profile) {
			var curPos = editor.getCaretPos();
			var newPoint = findNewEditPoint(editor, -1);
				
			if (newPoint == curPos)
				// we're still in the same point, try searching from the other place
				newPoint = findNewEditPoint(editor, -1, -2);
			
			if (newPoint != -1) {
				editor.setCaretPos(newPoint);
				return true;
			}
			
			return false;
		}
function ( editor , syntax , profile ) { var curPos = editor . getCaretPos ( ) ; var newPoint = findNewEditPoint ( editor , - 1 ) ; if ( newPoint == curPos ) // we're still in the same point, try searching from the other place newPoint = findNewEditPoint ( editor , - 1 , - 2 ) ; if ( newPoint != - 1 ) { editor . setCaretPos ( newPoint ) ; return true ; } return false ; }
Move to previous edit point
@param  {IEmmetEditor} editor  Editor instance
@param  {String} syntax  Current document syntax
@param  {String} profile Output profile name
@return {Boolean}
Move to previous edit point