English help on website



文字の単位(Ver9.24対応版)
目次− 文字の単位
文字の数え方の違いに影響のあるものとして以下のものがあります。
縦の列のつながりは、同じ単位で扱うことができます。
横の列のつながりは、動作は同じで、文字の数え方だけが違うもの(または変換)になります。
秀丸単位(座標) 秀丸単位(文字列/行) UCS-2単位 UCS-4単位 秀丸単位(カーソル移動) 書記素クラスター単位
位置指定 moveto moveto2 moveto_wcs moveto_ucs4 moveto_cmu moveto_gcu
行頭 golinetop golinetop2 golinetop2 golinetop2 golinetop2 golinetop2
行末 golineend3 golineend2 golineend2 golineend2 golineend2 golineend2
カーソル左 - - - - left -
カーソル右 - - - - right -
位置 x column column_wcs column_ucs4 column_cmu column_gcu
位置 y lineno lineno lineno lineno lineno
選択の範囲 seltopx
seltopy
selendx
selendy
seltopcolumn
seltoplineno
selendcolumn
selendlineno
seltop_wcs
seltoplineno
selend_wcs
selendlineno
seltop_ucs4
seltoplineno
selend_ucs4
selendlineno
seltop_cmu
seltoplineno
selend_cmu
selendlineno
seltop_gcu
seltoplineno
selend_gcu
selendlineno
選択の範囲(複数) getselectedrange "xy"
seltopx[n]
seltopy[n]
selendx[n]
selendy[n]
getselectedrange getselectedrange "wcs" getselectedrange "ucs4" getselectedrange "cmu" getselectedrange "gcu"
選択 setselectionrange "xy" setselectionrange setselectionrange "wcs" setselectionrange "ucs4" setselectionrange "cmu" setselectionrange "gcu"
範囲の内容 gettext gettext2 gettext_wcs gettext_ucs4 gettext_cmu gettext_gcu
行数 linecount linecount2 linecount2 linecount2 linecount2 linecount2
行の長さ linelen linelen2 linelen_wcs linelen_ucs4 linelen_cmu linelen_gcu
行数計算 - getlinecount - - - -
文字列操作 - strlen wcslen ucs4len cmulen gculen
文字列操作 - leftstr wcsleftstr ucs4leftstr cmuleftstr gculeftstr
文字列操作 - rightstr wcsrightstr ucs4rightstr cmurightstr gcurightstr
文字列操作 - midstr wcsmidstr ucs4midstr cmumidstr gcumidstr
文字列操作 - strstr wcsstrstr ucs4strstr cmustrstr gcustrstr
文字列操作 - strrstr wcsstrrstr ucs4strrstr cmustrrstr gcustrrstr
文字コード code code - unicode - -
文字数計算 - - - - charcount(0x88) -
変換 columntox xtocolumn - - - -
変換 linenotoy ytolineno - - - -
変換 - (*_to_char) wcs_to_char ucs4_to_char cmu_to_char gcu_to_char
変換 - (char_to_*) char_to_wcs char_to_ucs4 char_to_cmu char_to_gcu
選択の範囲 selopenx - - - - -
選択の範囲 selopeny - - - - -
検索された範囲 foundtopx - - - - -
検索された範囲 foundtopy - - - - -
検索された範囲 foundendx - - - - -
検索された範囲 foundendy - - - - -
部分編集の範囲 rangeedittop - - - - -
部分編集の範囲 rangeeditend - - - - -
スクロール位置 screentopy - - - - -
スクロール位置 screenleftx - - - - -
前の位置 prevposx - - - - -
前の位置 prevposy - - - - -
最後に編集した所 lastupdatedx - - - - -
最後に編集した所 lastupdatedy - - - - -
カラーマーカー colormarker "xy" colormarker colormarker "wcs" colormarker "ucs4" colormarker "cmu" colormarker "gcu"
カラーマーカー取得 getcolormarker "xy" getcolormarker getcolormarker "wcs" getcolormarker "ucs4" getcolormarker "cmu" getcolormarker "gcu"
カラーマーカー - colormarkerallfound - - - -
カラーマーカー - colormarkersnapshot - - - -
マウスによる位置 getCursorPosFromMousePos "xy" mousecolumn
mouselineno
getCursorPosFromMousePos
getCursorPosFromMousePos "wcs"
Hidemaru_GetCursorPosUnicodeFromMousePos
getCursorPosFromMousePos "ucs4" getCursorPosFromMousePos "cmu" getCursorPosFromMousePos "gcu"
位置 getCursorPos "xy" getCursorPos getCursorPos "wcs"
Hidemaru_GetCursorPosUnicode
getCursorPos "ucs4" getCursorPos "cmu" getCursorPos "gcu"