From 32eedf8f106284356372a81cf6179bc5edf4e4b3 Mon Sep 17 00:00:00 2001 From: Thomas Aylott Date: Mon, 4 Aug 2008 10:44:42 -0400 Subject: [PATCH] New Help command Beginning Help document / GitHub readme --- Commands/Help.tmCommand | 26 ++++++++++++++++++++++++++ README.md | 14 ++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 Commands/Help.tmCommand create mode 100644 README.md diff --git a/Commands/Help.tmCommand b/Commands/Help.tmCommand new file mode 100644 index 0000000..470f724 --- /dev/null +++ b/Commands/Help.tmCommand @@ -0,0 +1,26 @@ + + + + + beforeRunningCommand + nop + command + . "$TM_SUPPORT_PATH/lib/webpreview.sh" +html_header "Javascript Bundle Help" "Javascript" + +"$TM_SUPPORT_PATH/lib/markdown_to_help.rb" "$TM_BUNDLE_SUPPORT/../README.md" + + dontFollowNewOutput + + input + none + name + Help + output + showAsHTML + scope + source.js + uuid + EB00F356-06C8-4267-8226-AA8F3943E5B1 + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..3b7370e --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +This document describes the commands of the TextMate Javascript bundle. + +# Command Reference + +* **Documentation for Word / Selection** (WebView Window) + + Searches your selection in a Javascript documentation website. + +# Snippets + +if +if ... else +for +for (in)