<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://www37.atwiki.jp/emeditor/">
    <title>EmEditorみんなでまとめサイト</title>
    <link>http://www37.atwiki.jp/emeditor/</link>
    <description>EmEditorみんなでまとめサイト</description>

    <dc:language>ja</dc:language>
    <dc:date>2010-12-28T12:30:19+09:00</dc:date>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/141.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/140.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/139.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/138.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/137.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/136.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/135.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/134.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/133.html" />
                <rdf:li rdf:resource="http://www37.atwiki.jp/emeditor/pages/132.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/141.html">
    <title>QML構文ファイル</title>
    <link>http://www37.atwiki.jp/emeditor/pages/141.html</link>
    <description>
      #Highlight=on
#BeginTag=
#EndTag=
#CommentBegin=/*
#CommentEnd=*/
#LineComment1=//
#LineComment2=
#SingleQuote=on
#DoubleQuote=on
#ContinueQuote=off
#Escape=\
#ScriptBegin=
#ScriptEnd=
#SpecialSyntax=off
#HighlightBraces=on

#Keyword color=4,word=on,rightall=off,case=on,insidetag=off,regexp=off,rightall2=off
abstract
action
bool
break
byte
byvalue
case
cast
catch
char
class
color
const
continue
date
debugger
default
delete
do
double
else
enum
enumeration
export
extends
false
final
finally
float
font
for
function
future
generic
goto
if
implements
import
in
inner
instanceof
int
interface
list
long
native
new
null
operator
outer
package
point
private
property
protected
public
real
rect
rest
return
short
signal
size
static
string
super
switch
synchronized
this
throw
throws
time
transient
true
try
typeof
url
var
variant
vector3d
void
while
with


#Keyword color=3,word=on,rightall=off,case=o    </description>
    <dc:date>2010-12-28T12:30:19+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/140.html">
    <title>選択した文字列を別タブ末尾に追記するマクロ</title>
    <link>http://www37.atwiki.jp/emeditor/pages/140.html</link>
    <description>
      *概要
タイトルのとおり選択したテキストを、今開いているタブに追記できます。
ちなみに改行コードの判定処理が面倒なので、クリップボード経由で貼り付けてます。

Visual Basic なので拡張子 .vbee で保存する必要があります。

*コード
 Option Explicit
 
 &#039; ポップアップメニュー使用有無(0:未使用[自動で右のタブに追記]、1:使用)
 Const POP_FLG = 1
 &#039; ポップアップに表示するタブ数の最大値(0で無効)
 Const TAB_MAX = 24
 &#039; ポップアップに表示する新規ファイルタブの名称(無題)
 Const NEW_TAB = &quot;無題&quot;
 &#039; 追記後に元のタブに戻るか(0:戻らない、1:戻る)
 Const BAK_FLG = 0
 
 Dim docs, doc, cdoc, i
 Set docs = editor.Documents
 If Len(document.selection.Text) = 0 Then Quit
 
 If POP_FLG Then
 	i = PopupMenu()
 Else
 	i = GetRightTabId()
 End If
 
 If i = 0 Then Quit
 
 &#039; 改行コードを追記側のタブに合わせるためクリップボードを使用
 document.selection.Copy eeCopyUnicode
 
 If BAK_FLG Then Set cdoc = document
 
 If i = -1 Then
 	editor.NewFile()
 	Set doc = document
 Else
 	Set doc = docs.Item(i + 0)
 	doc.Activate
 End If
 
 With doc.selection
 	.EndOfDocument
 	&#039; 文末が行頭で終わっていない場合は改行を挿入
 	If Not .GetActivePointX(eePosLogicalA) = 1 Then
 		doc.writeln vbNullString
 	End If
 	.Paste eeCopyUnic    </description>
    <dc:date>2010-08-15T22:37:18+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/139.html">
    <title>VRML構文ファイル</title>
    <link>http://www37.atwiki.jp/emeditor/pages/139.html</link>
    <description>
      VRML (Virtual Reality Modeling Language)用の構文ファイルです。

 ; EmEditor Syntax File
 ;
 ; To import this file to an existing configuration, select Configuration
 ; under the Tool menu, select Define Configurations, select a configuration
 ; you want to import to, press [Properties], select the Highlight page, and
 ; press [Import].
 ;
 ; Submit your customized file to submit@emurasoft.com 
 ; to be listed in www.emurasoft.com user files pages.
 ;
 #Highlight=on
 #BeginTag=
 #EndTag=
 #CommentBegin=/*
 #CommentEnd=*/
 #LineComment1=//
 #LineComment2=^#
 #SingleQuote=on
 #DoubleQuote=on
 #ContinueQuote=on
 #Escape=\
 #ScriptBegin=
 #ScriptEnd=
 #SpecialSyntax=off
 #HighlightBraces=on
 
 #Keyword color=4,word=on,rightall=off,case=on,insidetag=off,regexp=off,rightall2=off
 field
 url
 eventIn
 eventOut
 IS
 exposedField
 TRUE
 FALSE
 TO
 NULL
 
 #Keyword color=2,word=on,rightall=off,case=on,insidetag=off,regexp=off,rightall2=off
 Anchor
 Appearance
 Audi    </description>
    <dc:date>2010-02-14T02:06:10+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/138.html">
    <title>最近の話題</title>
    <link>http://www37.atwiki.jp/emeditor/pages/138.html</link>
    <description>
      *「エムソフトなら安心です」の歴史

** Ver.1
-フリーウェアで公開（1997.4.28）

** Ver.2
-シェアウェア化（1998.6.30／新規1260円）
-フリー版公開停止

** Ver.3
-有料アップグレード（2000.8.1／新規3150円・バージョンアップ2100円）
-「バージョンアップは永遠に無料です」発言
-上記の発言をごまかすために、Ver.4をプロとスタンダードに分けることを発表
-新機能はプロにのみ搭載。スタンダードは事実上ディスコン
-EmFTP 1.0β版公開、「正式版はフリーウェアにします」発言（この後、Ver.1はβのまま終了）

** Ver.4
-プロ版有料アップグレード（2003.12.18／新規4200円・バージョンアップ945円）
-スタンダード版公開（2003.12.24）
-約束不履行による返金騒ぎに発展
-EmFTP Ver.2 公開（2005.4.1／プロ4200円・スタンダード3150円）法外な価格設定で大コケする
-EmFTP Ver.3 α1 公開（2005.4.27）無料アップグレードを告知

** Ver.5
-無料アップグレード（2005.12.21）
-個人情報保護の観点から、アカデミック版の公開を停止
-アカデミック版の代替品としてフリー版が復活（2006.1.25）
-「10年間はバージョンアップを無料にしたい」発言

** Ver.6
-無料アップグレード（2006.6.13）
-EmFTP Ver.3 α2 公開（2006.8.21）
-EmFTP Ver.2.02 公開（2007.2.16）なぜかバージョンが2にもどる
-スタンダード版の更新完全に停止（実質的な中身は Ver.3.xのまま更新終了）
-フリー版も更新停止、「新OSには対応しない」と明言

** Ver.7
-無料アップグレード（2007.12.20）

** Ver.8
-無料アップグレード（2008.11.20）
-「10年間使えば、１日１円です」発言
-懇親会の席上で、サブスクリプションとアクチの検討を発表（事実上の導入表明）
-公式フォーラム、２ちゃんのスレが炎上
-まとめサイト作者もコミュニティーから離脱を表明    </description>
    <dc:date>2010-02-06T21:02:18+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/137.html">
    <title>箱形選択領域に連番を挿入するマクロ</title>
    <link>http://www37.atwiki.jp/emeditor/pages/137.html</link>
    <description>
      *説明
- 箱形選択された領域に連番を挿入する
- 箱形選択して実行すると開始番号の入力を求められる
- そのときに、数字の前方に空白や0をいれると、先頭文字を使い文字列長にあわせて桁をあわせる

*既知の問題
- 実行後、未選択状態になる
- 実行後、カーソル位置が元の選択領域の左上の位置にしてしまっている
- 「元に戻す」で一気に戻せない
- 折り返しを気にして、後ろから処理してしまっている
- 開始番号を負数にすると桁数あわせ処理が原因でおかしなことになる

*ソース(.jsee)
 if( document.selection.IsEmpty || (document.selection.Mode &amp; eeModeMask) != eeModeBox ){
    alert(&#039;箱形選択してください&#039;);
 }else{
    //  開始番号の入力を求める
    var ScriptControl = new ActiveXObject(&#039;ScriptControl&#039;);
    ScriptControl.Language = &#039;VBScript&#039;;
    ScriptControl.AddCode(&#039;Function Input(x,y,z)\nInput=InputBox(x,y,z)\nEnd Function&#039;);
    var str = ScriptControl.Run(&#039;Input&#039;, &#039;開始番号を入力してください&#039;, &#039;連番挿入マクロ&#039;, &#039;1&#039;);
    if( !str ) Quit();
    var no = Number( str );
    while( isNaN(no) ){
        str = ScriptControl.Run(&#039;Input&#039;, &#039;開始&quot;番号&quot;を入力してください&#039;, &#039;連番挿入マクロ&#039;, str);
        if( !str ) Quit();
        no = Number( str );
    }
 
    //  桁あわせのための情報を得る
    var digit = str.length;
    var fill  = str.substring(0,1);
    if( fill    </description>
    <dc:date>2009-11-09T19:47:39+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/136.html">
    <title>CakePHP用のMVC移動マクロ</title>
    <link>http://www37.atwiki.jp/emeditor/pages/136.html</link>
    <description>
      モデルからコントローラー、コントローラーからビューに、という感じで

MVCファイル間を移動することができます。

また、コントローラーからビューに移動する際にビューが存在しなかった場合、

ビューを新規作成する機能も実装しています。

-ファイル構成
--mvc.js
--Model.jsee
--View.jsee
--Controller.jsee

実際に設定するのは下の3ファイルのみです。

mvc.jsはクラスファイルですので設定する必要はありません。

-Model.jseeの設定例

 #include &quot;mvc.js&quot;
 
 var mvc = new MVC();
 
 /******** 設定ここから ********/
 // 不規則な複数形の定義ファイル(CSV)の名前
 // マクロと同じフォルダに設置し、「単数形,複数形」の形式で定義する
 // 指定しない場合はこのままでOK
 mvc.csvFileName = &quot;&quot;; // mvc.csvFileName = &quot;csv_sample.csv&quot;;
 
 // ビューを新規作成する場合に使用するテンプレートファイルのフルパス
 // 指定しない場合はこのままでOK
 mvc.viewTemplateFullPath = &quot;&quot;; // mvc.viewTemplateFullPath = &quot;D:\\My Documents\\My Macros\\template.txt&quot;;
 /******** 設定ここまで ********/
 
 mvc.moveMVC(&quot;model&quot;);

&amp;bold(){2009年11月15日更新}

2chにて指摘された部分を修正し、ver1.02としてUPしました。
#ref(MVC_ver1.02.zip)    </description>
    <dc:date>2009-11-15T19:28:39+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/135.html">
    <title>&quot;の中を選択</title>
    <link>http://www37.atwiki.jp/emeditor/pages/135.html</link>
    <description>
      *ダブルクオーテーションの中を選択 [#ve23f7f9]

ダブルクオーテーション内にカーソルを置いて実行するとを選択する~
例：　href=&quot;この中の文字が選択される&quot;~

「 ctr + [ 」 あたりに登録しておくといいかも~



 flg = document.selection.Find( &#039;&quot;&#039;, eeFindNext );
 endPos = document.selection.GetActivePointX( eePosLogical );
 if(flg){
   flg2 = document.selection.Find( &#039;&quot;&#039;, eeFindPrevious );
   startPos = document.selection.GetActivePointX( eePosLogical );
   startPos++;
   document.selection.CharRight( false, 1 );
   document.selection.CharRight( true, endPos - startPos );
 }
 document.HighlightFind=false;	//『検索文字列の強調を解除』    </description>
    <dc:date>2009-04-21T18:44:29+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/134.html">
    <title>連番([000-010]みたいな)を展開するマクロ</title>
    <link>http://www37.atwiki.jp/emeditor/pages/134.html</link>
    <description>
      *説明
- 選択範囲内の各行に対し、[001-010]のように書かれた部分を連番に展開し、リストを挿入する。
- [###-###]でかかれた最初の方の数字の桁数に併せて、連番を0埋めする
- 選択範囲がなければカーソルのある行に対して処理を行う

*例
実行前の選択範囲
 [000-003].jpg
 http://host.com/[0-2]/[0-10].jpg
実行後
 000.jpg
 001.jpg
 002.jpg
 003.jpg
 http://host.com/0/0.jpg
 http://host.com/0/1.jpg
 ...(中略)
 http://host.com/2/9.jpg
 http://host.com/2/10.jpg

*ソース(.jsee)
 // strを各行ごとの終端に改行コードを残して配列にする。
 function split_line(str) {
 	var rest = str;
 	var result = new Array();
 	while (true) {
 		if (/(\r\n|\r|\n)/.test(rest)) {
 			result.push(RegExp.leftContext + RegExp.$1);
 			rest = RegExp.rightContext;
 		} else {
 			if (rest.length &gt; 0)
 				result.push(rest + &quot;\r\n&quot;);
 			break;
 		}
 	}
 	return result;
 }
 
 // digit桁に0-paddingした、nの10進数表現
 function to_s(n, digit) {
 	var result = n.toString();
 	while (result.length &lt; digit)
 		result = &quot;0&quot; + result;
 	return result;
 }
 
 // [###-###] を範囲内の数字に置き換えた文字列のリストを取得し、resultの末尾に追加
 function expand(str, result) {    </description>
    <dc:date>2009-04-11T13:30:58+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/133.html">
    <title>文字列メニュー</title>
    <link>http://www37.atwiki.jp/emeditor/pages/133.html</link>
    <description>
      文字列から「簡単に」メニューを作成・表示・選択するスクリプトです。~
選択された文字列(選択されなければ空文字)を返します。~
セパレータ(空文字列)・無効(_:アンダーバー)・チェック(.:ピリオド)可能。~
表示位置は、デフォルトでカーソル位置、引数:True でマウス位置。~
書式は下の使用例がすべてです。~
~

 String.prototype.choice=function(p){
    var t,m,q=1,r=RegExp;
    return(t=(m=function k(a){
        var u=CreatePopupMenu(),i=0,s;
        while(i&lt;a.length)typeof(s=a[i++]||&#039;&#039;)==&#039;string&#039;
            ?s.match(/^([\._])(.*)$/)
                ?u.Add(r.$2,q++,r.$1==&#039;.&#039;?8:1)
                :u.Add(s,s?q++:0,s?0:2048)
            :u.AddPopup(s[0],k(s.slice(1)));
        return u}
        (eval(&#039;[&#039;+this.replace(/\s*(^|,|\[|\]|$)\s*/g,&#039;$1&#039;).
        replace(/([^,\[\]]+)/g,&quot;&#039;$1&#039;&quot;)+&#039;]&#039;))).
        Track(p))&gt;0?m.GetText(t):&#039;&#039;
 }

~
使用例
 alert(
 &#039;Above, , Below, .Checked, _Disabled, [Envelop, [Group, _Hide, Inside],[Job, Knife, .Letter]], Fast &amp;Key&#039;
 .choice()||&#039;none&#039;)

~
Copyright~
Csardas

~
#comment    </description>
    <dc:date>2009-03-26T11:14:46+09:00</dc:date>
  </item>
    <item rdf:about="http://www37.atwiki.jp/emeditor/pages/132.html">
    <title>改善要望</title>
    <link>http://www37.atwiki.jp/emeditor/pages/132.html</link>
    <description>
      EmEditorへの改善の要望は フォーラムの[[EmEditor 本体への機能追加の要望&gt;http://jp.emeditor.com/modules/newbb/viewforum.php?forum=4]]、[[プラグインへの要望&gt;http://jp.emeditor.com/modules/newbb/viewforum.php?forum=7]]、[[マクロへの要望&gt;http://jp.emeditor.com/modules/newbb/viewforum.php?forum=10]]に投稿してください。    </description>
    <dc:date>2009-03-04T01:09:41+09:00</dc:date>
  </item>
  </rdf:RDF>

