/** * Constructs a text range around the provided range. * @param range the initial range */ public TextRange(final Range range) { range_ = range.cloneRange(); }
/** * Constructs a text range around the provided range. * @param range the initial range */ public TextRange(final Range range) { range_ = range.cloneRange(); }
/** * Constructs a text range around the provided range. * @param range the initial range */ public TextRange(final Range range) { range_ = range.cloneRange(); }
/** * Constructs a text range around the provided range. * @param range the initial range */ public TextRange(final Range range) { range_ = range.cloneRange(); }
/** * Constructs a text range around the provided range. * @param range the initial range */ public TextRange(final Range range) { range_ = range.cloneRange(); }
/** * Duplicates this instance. * @see <a href="http://msdn.microsoft.com/en-us/library/ms536416.aspx">MSDN doc</a> * @return a duplicate */ public Object jsxFunction_duplicate() { final TextRange range = new TextRange(); range.setParentScope(getParentScope()); range.setPrototype(getPrototype()); range.range_ = range_.cloneRange(); return range; }
/** * Duplicates this instance. * @see <a href="http://msdn.microsoft.com/en-us/library/ms536416.aspx">MSDN doc</a> * @return a duplicate */ public Object jsxFunction_duplicate() { final TextRange range = new TextRange(); range.setParentScope(getParentScope()); range.setPrototype(getPrototype()); range.range_ = range_.cloneRange(); return range; }
/** * Duplicates this instance. * @see <a href="http://msdn.microsoft.com/en-us/library/ms536416.aspx">MSDN doc</a> * @return a duplicate */ public Object jsxFunction_duplicate() { final TextRange range = new TextRange(); range.setParentScope(getParentScope()); range.setPrototype(getPrototype()); range.range_ = range_.cloneRange(); return range; }
/** * Duplicates this TextRange instance. * @see <a href="http://msdn.microsoft.com/en-us/library/ms536416.aspx">MSDN documentation</a> * @return a duplicate of this TextRange instance */ @JsxFunction public Object duplicate() { final TextRange range = new TextRange(range_.cloneRange()); range.setParentScope(getParentScope()); range.setPrototype(getPrototype()); return range; }
/** * Duplicates this TextRange instance. * @see <a href="http://msdn.microsoft.com/en-us/library/ms536416.aspx">MSDN documentation</a> * @return a duplicate of this TextRange instance */ @JsxFunction public Object duplicate() { final TextRange range = new TextRange(range_.cloneRange()); range.setParentScope(getParentScope()); range.setPrototype(getPrototype()); return range; }
lastSelectionRange = range.cloneRange();
lastSelectionRange = range.cloneRange();
lastSelectionRange = range.cloneRange();