aboutsummaryrefslogtreecommitdiff
path: root/files/ja/archive/mozilla/xul/method/setselectionrange/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/archive/mozilla/xul/method/setselectionrange/index.html')
-rw-r--r--files/ja/archive/mozilla/xul/method/setselectionrange/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/ja/archive/mozilla/xul/method/setselectionrange/index.html b/files/ja/archive/mozilla/xul/method/setselectionrange/index.html
new file mode 100644
index 0000000000..973c823c48
--- /dev/null
+++ b/files/ja/archive/mozilla/xul/method/setselectionrange/index.html
@@ -0,0 +1,15 @@
+---
+title: setSelectionRange
+slug: Archive/Mozilla/XUL/Method/setSelectionRange
+tags:
+ - XUL Methods
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Method/setSelectionRange
+---
+<div class="noinclude"><span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/ja/docs/XUL_Reference" title="/ja/docs/XUL_Reference">XUL リファレンス HOME</a></span></div>
+<dl>
+ <dt><span id="m-setSelectionRange"><code><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Method/setSelectionRange">setSelectionRange( start, end )</a></code></span></dt>
+ <dd>
+ 戻り値の型: <em>戻り値無し</em></dd>
+ <dd>textbox の選択部分を設定します。<var>start</var> 引数は選択範囲の最初の文字の index です。<var>end</var> 引数は選択範囲の直後の文字の index です。テキストを選択せずに指定の位置へカーソルを移動するには、両方の引数を同じ値に設定してください。</dd>
+</dl>