1 #title = "LINE"
  2 #tooltip = "行選択を開始"
  3 #include "lib\sgc4jsee.jsee"
  4 
  5 /**
  6  * @fileOverview
  7  * 行選択を開始します。<br />
  8  * 文字列の選択状態を行選択に変換してから、既存の行選択を開始します。
  9  * 
 10  * @author gecca from 雪月花 (http://setsugecca.org/)
 11  * @version 1.00 for EmEditor v10.0
 12  */
 13 
 14 var topY = document.selection.GetTopPointY(eePosLogical);
 15 var bottomY = document.selection.GetBottomPointY(eePosLogical);
 16 document.selection.SetActivePoint(eePosLogical, 1, bottomY);
 17 editor.ExecuteCommandByID(4154);
 18 document.selection.SetAnchorPoint(eePosLogical, 1, topY);
 19