Permalink
Browse files

• use OSX::PropertyList (now that PropertyList has been moved to an O…

…SX module)

git-svn-id: http://svn.textmate.org/trunk/Bundles/OCaml Experimental Completions.tmbundle@7481 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent b748a92 commit f708463e89187ae30c0c9cc1b3a99430f017fa32 @sorbits sorbits committed Jun 10, 2007
Showing with 2 additions and 2 deletions.
  1. +1 −1 Commands/Complete vals.tmCommand
  2. +1 −1 Commands/Search _cmi.tmCommand
@@ -119,7 +119,7 @@ begin
cio = IO.popen("'#{ENV['TM_SUPPORT_PATH']}/bin/tm_dialog' -m '#{ENV['TM_BUNDLE_SUPPORT']}/nibs/CompletionsWindow.nib' | pl", 'r+')
cio.puts(plist.to_plist)
cio.close_write
- choice = PropertyList.load(cio.read)
+ choice = OSX::PropertyList.load(cio.read)
if !choice['returnButton'] || choice['returnButton'] != 'Cancel'
selection = choice['result']['returnArgument'].to_i
snippettxt = plist['possibleCompletions'][selection]['completion']
@@ -16,7 +16,7 @@ plist = "{ignoreCase = 0; regularExpression = 0; searchString = \"#{searchstring
options = `'#{ENV['TM_SUPPORT_PATH']}/bin/tm_dialog' -p '#{plist}' -m '#{ENV['TM_BUNDLE_SUPPORT']}/nibs/SearchWindow.nib' | pl`
-options = PropertyList.load(options)
+options = OSX::PropertyList.load(options)
if options['returnButton'] == 'Search'
searchtype = options['restrictTo'].to_sym
searchstring = options['searchString']

0 comments on commit f708463

Please sign in to comment.