サクラエディタふぁんくらぶ part21 (457レス)
サクラエディタふぁんくらぶ part21 http://egg.5ch.net/test/read.cgi/software/1712374843/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
398: 名無しさん@お腹いっぱい。 [sage] 2024/11/22(金) 16:47:42.17 ID:Z3UrOMwl0 【環境】Ver. 2.3.2.0 / windows 7 下はMery用プラグインに同梱されている「SeachFromThis.js」マクロのパクリですが https://www.haijin-boys.com/wiki/OutputBar%E6%8B%A1%E5%BC%B5 アウトプット画面で SearchNext() を適用する方法を教えてください (function () { if (Editor.IsTextSelected() == 0) { var strPtrn = Editor.InputBox("検索(正規表現)"); if (strPtrn == "") return; } else { var strPtrn = Editor.GetSelectedString().replace(/[$()*+.?\[\\\]^{|}-]/g, "\\$&"); } SearchNext(strPtrn, 2084); var result = "", i = 0, iHitCount = 0, iHitRows = 0; var regObj = RegExp(strPtrn, "gi"); while (i++ < Editor.GetLineCount(0)) { var strLine = Editor.GetLineStr(i); var aryMatched = strLine.match(regObj); if (aryMatched) { result = result + i + ":" + strLine; iHitCount = iHitCount + aryMatched.length; iHitRows++; } } if (iHitRows >= 1) { Editor.TraceOut(result + "------------------------\r\n" + iHitCount + "件 (" + iHitRows + "行) 一致"); // SetClipboard(0 , result); MoveHistPrev(); StatusMsg(" " + iHitCount + "件 (" + iHitRows + "行) 一致"); } })(); http://egg.5ch.net/test/read.cgi/software/1712374843/398
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 59 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.012s