-
-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
テキストファイルをスクリプトファイルとして使用したい / Treat plain-text as CotEditor scripting file #15
Labels
request
feature requests from users
Comments
便利そうなので実装したい。検討してみる。 |
実装自体は簡単なのですぐできた(未コミット)。 ただ、どうせならもう少し拡張してスクリプトメニューとは別管理の「スニペット」機能を新たに付けた方がいいのではないかとか、でもそうするとCotEditorにはすでに「テキストキーバインディング」という似た機能があるから棲み分けが難しいかも、など悩み中。 一番美しい実装は、
なのかもしれない。となると今度は作業が大掛かりになってしまうが。 |
やるならちゃんと実装したので、v1.5 のマイルストーンは外します。 ただし、やるとしても v1.7 以降になると思います。 |
1024jp
changed the title
テキストファイルをスクリプトファイルとして使用したい
テキストファイルをスクリプトファイルとして使用したい / Use tlain-text as CotEditor scripting file
Jul 9, 2014
1024jp
changed the title
テキストファイルをスクリプトファイルとして使用したい / Use tlain-text as CotEditor scripting file
テキストファイルをスクリプトファイルとして使用したい / Treat plain-text as CotEditor scripting file
Jul 16, 2014
ずっとこのイシューは開けっぱなしにしていましたが、やはりこれをスクリプトとして実装するのは悪手だと思うので、クローズします。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(http://sourceforge.jp/ticket/browse.php?group_id=1836&tid=24183 から移動)
ヘルプ項目「スクリプトメニューをカスタマイズする」に「CotEditor は次の拡張子を持つファイルをスクリプトファイルとして認識します:.applescript .scpt .sh .pl .php .rb .py」との記述があります。
単純に定型文を現在の挿入キャレットの位置に流し込むためにスクリプトを使用することも少なくありません。願わくば、.textClipping および .txt のファイルについては単純に「%%%{CotEditorXOutput=InsertAfterSelection}%%%」と同じ挙動をするようにしていただけると助かります。
The text was updated successfully, but these errors were encountered: