From 56a19251a97a715ff0612e15a9a9f8c9a6b99bef Mon Sep 17 00:00:00 2001 From: anekos Date: Mon, 28 Mar 2011 00:20:45 +0900 Subject: ml! を削除 --- migemized_find.js | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'migemized_find.js') diff --git a/migemized_find.js b/migemized_find.js index a833a22..3e9a16b 100644 --- a/migemized_find.js +++ b/migemized_find.js @@ -39,7 +39,7 @@ let PLUGIN_INFO = Migemized Find Migemize default page search. デフォルトのドキュメント内検索をミゲマイズする。 - 2.10.0 + 2.10.1 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -61,8 +61,8 @@ let PLUGIN_INFO = 指定の色の強調表示を消す: >|| - :ml! <色1> <色2> ... <色N> - :migelight! <色1> <色2> ... <色N> + :rml <色1> <色2> ... <色N> + :removemigelight <色1> <色2> ... <色N> ||< 全ての強調表示を消す: @@ -602,14 +602,9 @@ let PLUGIN_INFO = ['ml', 'migelight'], 'Migelight matched words', function (args) { - if (args.bang) { - let colors = args.join(' ') + ' ' + (args['-color'] || ''); - liberator.execute('removemigelight ' + colors); - } else { - let r = MF.highlightAll(args.join(' '), args['-color']); - liberator.echo(r ? r.length + ' words migelighted.' - : 'word not found.'); - } + let r = MF.highlightAll(args.join(' '), args['-color']); + liberator.echo(r ? r.length + ' words migelighted.' + : 'word not found.'); }, { bang: true, -- cgit v1.2.3