Permalink
Browse files

changed some shortcut keys and temporarily removing documentation com…

…mand, and change completion command up to not have a search field and filter as you type
  • Loading branch information...
1 parent 1a2b020 commit 63d188d3102f2e0c3ceb1dc0f64455f139f0a624 @malkomalko committed Nov 20, 2009
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//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>"${TM_BUNDLE_SUPPORT}/bin/show_documentation_for_word.rb"</string>
- <key>input</key>
- <string>none</string>
- <key>name</key>
- <string>Documentation for Word</string>
- <key>output</key>
- <string>showAsTooltip</string>
- <key>scope</key>
- <string>support.class.cappuccino, support.variable.cappuccino.foundation, meta.bracketed.js.objj, support.function.cappuccino</string>
- <key>uuid</key>
- <string>2D05A28A-2ED7-4A9A-9A5C-8625466BC77C</string>
-</dict>
-</plist>
@@ -18,7 +18,7 @@ print response[1..-1] if !response.nil?</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
- <string>^c</string>
+ <string>^C</string>
<key>name</key>
<string>Insert Color</string>
<key>output</key>
@@ -38,7 +38,7 @@ print "- (void)#{e_sn(response)}(id)sender
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
- <string>^d</string>
+ <string>^D</string>
<key>name</key>
<string>Load Delegate Window</string>
<key>output</key>
@@ -4,7 +4,6 @@
require support_path + '/lib/ui.rb'
require bundle_path + '/lib/dialog1.rb'
-# TextMate::UI.alert(:warning, "Debug", ":#{var}:", 'Ok')
class Autocomplete
attr_reader :empty, :brackets, :classes, :file_name, :previous_line, :choices
@@ -83,7 +82,6 @@ def setup(current_word, classes_for_regex, data)
end
end
end
- # @choices = choices
end
def show_dialog(nib,choices)
@@ -163,6 +161,7 @@ def add_methods_to_hash(lines, className)
@choices['completionArray'] << {
'display' => line.gsub(/\(\w*\)/, '').gsub(/\n+/,'').gsub(/\s{2,}/,' '),
'methodDef' => line.gsub(/\n+/,'').gsub(/\s{2,}/,' ').gsub(/^\(\w+\)/,''),
+ 'class' => className,
'docs' => "From Class: #{className}\n\n" + "Full method definition: #{line.gsub(/\n+/,'').gsub(/\s{2,}/,' ')}"
}
end
Oops, something went wrong.

0 comments on commit 63d188d

Please sign in to comment.