Lines Matching refs:textRange
280 * @param {WebInspector.TextRange} textRange
282 setSelection: function(textRange)
284 this._selectionToSet = textRange;
654 * @param {WebInspector.TextRange} textRange
656 selectionChanged: function(textRange)
658 this._updateSourcePosition(textRange);
659 this.dispatchEventToListeners(WebInspector.SourceFrame.Events.SelectionChanged, textRange);
663 * @param {WebInspector.TextRange} textRange
665 _updateSourcePosition: function(textRange)
667 if (!textRange)
670 if (textRange.isEmpty()) {
671 this._sourcePositionElement.textContent = WebInspector.UIString("Line %d, Column %d", textRange.endLine + 1, textRange.endColumn + 1);
674 textRange = textRange.normalize();
676 var selectedText = this._textEditor.copyRange(textRange);
677 if (textRange.startLine === textRange.endLine)
680 this._sourcePositionElement.textContent = WebInspector.UIString("%d lines, %d characters selected", textRange.endLine - textRange.startLine + 1, selectedText.length);
729 * @param {WebInspector.TextRange} textRange
731 selectionChanged: function(textRange)
733 this._sourceFrame.selectionChanged(textRange);