-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified the choice of contexts for actions. When you create a new …
…action, a tm_dialog menu pops up for you to pick a context out of. When you want to change the context of an action, a similar tm_dialog menu pops up. All other ways of changing the context are removed. Also, the "Actions for Context" command is being removed, since All Actions easily replicates it (click on a context in the list of the left to only see that context. The other two review commands (for Next actions) will also be merged into this one HTML window. Future plans: To have this window update itself in the background, so the user could just have it running at all times. git-svn-id: http://svn.textmate.org/trunk/Bundles/GTDAlt.tmbundle@5902 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
- Loading branch information
Charilaos Skiadas
committed
Nov 3, 2006
1 parent
47898e2
commit 71d72c2
Showing
11 changed files
with
103 additions
and
254 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>beforeRunningCommand</key> | ||
<string>nop</string> | ||
<key>command</key> | ||
<string>#!/usr/bin/env ruby | ||
require ENV['TM_BUNDLE_SUPPORT'] + '/bin/GTDUtils.rb' | ||
require ENV['TM_SUPPORT_PATH'] + '/lib/dialog.rb' | ||
contextList = GTDLight.get_env_contexts | ||
choice = Dialog.menu(contextList) | ||
if choice then | ||
print "@#{contextList[choice]} " | ||
else | ||
require ENV['TM_SUPPORT_PATH'] + '/lib/exit_codes.rb' | ||
TextMate.exit_discard | ||
end | ||
</string> | ||
<key>input</key> | ||
<string>none</string> | ||
<key>keyEquivalent</key> | ||
<string>@</string> | ||
<key>name</key> | ||
<string>New</string> | ||
<key>output</key> | ||
<string>afterSelectedText</string> | ||
<key>scope</key> | ||
<string>text.gtdalt - meta.action - meta.line.project - meta.note</string> | ||
<key>uuid</key> | ||
<string>BBA04431-8960-4017-A684-7FBACB0F7FFF</string> | ||
</dict> | ||
</plist> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>commands</key> | ||
<array> | ||
<dict> | ||
<key>command</key> | ||
<string>moveToEndOfLine:</string> | ||
</dict> | ||
<dict> | ||
<key>command</key> | ||
<string>insertNewline:</string> | ||
</dict> | ||
<dict> | ||
<key>argument</key> | ||
<dict> | ||
<key>beforeRunningCommand</key> | ||
<string>nop</string> | ||
<key>command</key> | ||
<string>#!/usr/bin/env ruby | ||
require ENV['TM_BUNDLE_SUPPORT'] + '/bin/GTDUtils.rb' | ||
require ENV['TM_SUPPORT_PATH'] + '/lib/dialog.rb' | ||
contextList = GTDLight.get_env_contexts | ||
choice = Dialog.menu(contextList) | ||
if choice then | ||
print "@#{contextList[choice]} " | ||
else | ||
require ENV['TM_SUPPORT_PATH'] + '/lib/exit_codes.rb' | ||
TextMate.exit_discard | ||
end | ||
</string> | ||
<key>input</key> | ||
<string>none</string> | ||
<key>keyEquivalent</key> | ||
<string>@</string> | ||
<key>name</key> | ||
<string>New</string> | ||
<key>output</key> | ||
<string>afterSelectedText</string> | ||
<key>scope</key> | ||
<string>text.gtdalt - meta.action - meta.line.project - meta.note</string> | ||
<key>uuid</key> | ||
<string>BBA04431-8960-4017-A684-7FBACB0F7FFF</string> | ||
</dict> | ||
<key>command</key> | ||
<string>executeCommandWithOptions:</string> | ||
</dict> | ||
</array> | ||
<key>keyEquivalent</key> | ||
<string></string> | ||
<key>name</key> | ||
<string>New (on next line)</string> | ||
<key>scope</key> | ||
<string>text.gtdalt</string> | ||
<key>uuid</key> | ||
<string>4EF0270A-A1D7-4E98-8123-6E6F1305B7E2</string> | ||
</dict> | ||
</plist> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.