// Auto-complete command for E-TextEditor. Will popup a menu if there are multiple possibilities.

Installation requirements: Save: Nothing Input: Entire Document Output: Insert as Text


#!/usr/bin/env ruby

SUPPORT = ENV['TM_SUPPORT_PATH']
DIALOG = SUPPORT + '/bin/CocoaDialog.exe'
selected_word = ENV['TM_CURRENT_WORD']
x = "--xpos #{ENV['TM_CARET_XPOS']} "
y = "--ypos #{ENV['TM_CARET_YPOS']} "

if selected_word != nil
menu = []
all_words = STDIN.read.split(/\b/)
all_words.each do |word|
if word != selected_word
if word.index(selected_word) == 0
menu << word + " "
end
end
end

menu.uniq!
if menu.length < 1
abort
elsif menu.length == 1
print menu[0].sub(selected_word, '').strip
else
selected = %x`"#{DIALOG}" menu --items #{menu} #{x} #{y}`.to_i - 1
print menu[selected].sub(selected_word, '').strip
end
end

Buy Xanax with cod. No prescriptions needed for Xanax. Buy Xanax overnight cod. Buy Xanax in Tucson. Soma prescription. Order Soma next day delivery. Soma without doctor rx. Order Soma over the counter for sale. Fioricet real fedex without prescription. Online pharmacy fedex cod Fioricet. Fioricet Cash Delivery Cod. Buy Fioricet overnight cod. Ambien cheap fed ex delivery. Buy Ambien same day. Online overnight shipping Ambien. Ambien delivery to US Wyoming. Saturday delivery overnight Tramadol. Cheap order Tramadol. Buy Tramadol with no rx. Tramadol delivery to US Hawaii. Get Diazepam over the counter fedex. Not expensive legal Diazepam for sale. Diazepam next day no prescription. Diazepam ups delivery only. Buy Zolpidem mastercard. Buy Zolpidem no prescription. Order Zolpidem no creditcard. Zolpidem by cod. Buy cheap cod online Viagra. Cheap online pharmacy Viagra. Get Viagra over the counter. Order Viagra no creditcard. Order Valium without rx. Order Valium cod fedex. Buy Valium overnight. Cheap Valium no rx. Cod Ultram no prescription. Ultram no rx overnight. Cheap order Ultram. Ultram Cash Delivery Cod. Adderall with saturday delivery. Buy cheap online pharmacy Adderall. Non prescription Adderall. Buy Adderall without insurance. Order Phentermine without a prescription. Buying Phentermine overnight. Buy Phentermine mail order. Phentermine shipped COD. Cialis buy cod. Online pharmacy fedex cod Cialis. Cialis overnight delivery no rx. Cialis online order cheapest. Cheap Ativan cod. Buy Ativan over the counter online. Buy Ativan with saturday delivery. Ativan with cash on delivery. Zolpidem medication without prescription medications. Online pharmacy fedex cod Zolpidem cr lunesta. Accepted cod Zolpidem ambien. Online Zolpidem 10 mg and fedex. Buy Diazepam online overnight. Diazepam for dogs cod saturday delivery. Docs dont presribe Diazepam. Buy Diazepam without a prescription overnight shipping. Tramadol hcl discount. No perscription Tramadol next day. Tramadol high cheap overnight delivery. Order Tramadol for pig no creditcard. Cheap order Ambien cr. Real Ambien fed ex. Ambien cr lunesta discount fedex no prescription. Buy Ambien zolpidem prescription online. Order Drug fioricet for over night delivery. Images of Fioricet oral. Buy Fioricet tab visa. Buy 120 butalbital fioricet in Memphis. Soma for pets prescription. Purchasing 350mg soma quick delivery no prescription. Buy Herbal soma no credit card. Images of Soma for pets. Order Xanax 0.25 next-day delivery. Cheap fedex Xanax for cats. Pharmacy Xanax bars yellow. Buy cheap online pharmacy Xanax xr oral. Online prescription Ativan. Ativan pharmacies accepting cod delivery. Ativan with no prescription. Ativan com. Online pharmacy Cialis no prescription. Cialis delivery to US Missouri. Cialis from mexico without prescription. Cialis com. Buy Phentermine cash on delivery. Safety buy Phentermine. Cod online Phentermine. Buy Phentermine pay pal online without prescription. Amoxicillin delivered overnight. Amoxicillin no prescription usa fedex shipping. Buy cheap Amoxicillin c.o.d.. Buy Amoxicillin in Las Vegas. Order Carisoprodol 2 days delivery. Cheap Carisoprodol saturday delivery. Cheap watson Carisoprodol no prescription needed. Carisoprodol online saturday delivery. Codeine with no perscription and delivered over night. Codeine online saturday delivery. Codeine online fed ex. Codeine no script overnight. Order Adderall without rx. Adderall regular supply. Adderall cod saturday delivery. Buy Adderall w/out insurance. Buying online Percocet. Cod Percocet for saturday. Percocet online consultation overnight. Percocet delivery to US New Hampshire. Brand Oxycodone watson. Purchase Oxycodone online. Oxycodone cod shipping. Order Oxycodone online from mexico cod pharmacy Oxycodone. Lortab ups delivery only. Lortab prescription. Buy Lortab with c.o.d.. Lortab shipped overnight without a prescription. Vicodin 3 days delivery. Vicodin fedex no prescription. Cod online Vicodin. Money order Vicodin. Buy Hydrocodone no credit card. Buy Hydrocodone online with overnight delivery. Buy Hydrocodone without prescription to ship overnight. Purchase Hydrocodone online ems delivery. Alprazolam non prescription. Buy Alprazolam paypal without prescription. Buy Alprazolam free consultation. Alprazolam buy on line. Buy Ultram offshore no prescription fedex. Buy cheap Ultram c.o.d.. Ultram regular supply. Buy Ultram in Phoenix. Valium without a perscription. Buying online Valium. Valium delivery to US North Dakota. Valium delivery to US Connecticut. Buy Viagra.com. Viagra shipped by cash on delivery. Viagra cheap fed ex delivery. Next day Viagra. Get Zolpidem over the counter fedex. Zolpidem cheap overnight delivery. Cheap Zolpidem no rx. Buy Zolpidem online medication. Cheap order Diazepam. Diazepam next day delivery. Diazepam overnight cod. Order Diazepam no rx. Buy Tramadol cod delivery. Buy no online prescription Tramadol. Buy Tramadol w/out insurance. Tramadol shipped overnight without a prescription. Buy Ambien visa. Online pharmacy fedex C.O.D Ambien. Cheap Ambien next day. Buy Ambien no doctor. Buy cheap Fioricet cod free fedex. Fioricet fedex shipping. Buy Fioricet free shipping. Fioricet 2 business days delivery. Order Soma next day delivery. Overnight Soma ups cod. Buying online Soma. Buy Soma without a prescription overnight delivery. Xanax no prescription. Xanax online cod. Xanax overnight without prescription. Order Xanax cash on delivery. Side effects of Lorazepam. Order Lorazepam without prescription from us pharmacy. Fedex Lorazepam without priscription. Purchasing Lorazepam quick delivery no prescription. Clonazepam and online overnight delivery. Buy Clonazepam online overseas. Buy Clonazepam free shipping. Clonazepam cheap overnight delivery. Buy Adipex credit card. Next day Adipex. No rx Adipex. Cash on delivery Adipex. Cheap order Klonopin. Cheap Klonopin for sale with no prescription required. Buy cheapest Klonopin online. Buy cheapest online Klonopin. Non presciption Ultram for dog. Generic Ultram no prescription cod. Ultram hcl no prescription next day delivery. Ultram cheap fed ex delivery. Valium oral how much can you take. Valium diazepam without a script. How to get Valium 2mg prescription. Valium diazepam cheap no membership. Best buy source for Hydrocodone. Purchase Hydrocodone over the counter cod overnight. Buying Hydrocodone without a script. Money order Hydrocodone. Buy Ativan for saturday delivery. Ativan no prescription needed. Online pharmaceutical Ativan. Overnight Ativan. Buy cheap Xenical cod free fedex. Xenical online prescription. Online pharmacy fedex cod Xenical. Best Xenical online pill. Buy Codeine rx. Codeine online no script. I want a Codeine prescription. Buy Codeine paypal. Buy prescription Xanax without. Buy Xanax cash on delivery. Xanax cod saturday delivery. Cheap Xanax for sale online no prescription required. Buy Zopiclone without a prescription overnight delivery. Discount Zopiclone. Zopiclone cheap fed ex delivery. Zopiclone cod no prescription required. Buying Clonazepam overnight. Buy Clonazepam no insurance. Buy Clonazepam no visa. Fedex Clonazepam online cod. Carisoprodol fedex delivery. Carisoprodol delivery to US Hawaii. Cheap order Carisoprodol. Online doctor consultation for Carisoprodol. Cheap Alprazolam cod. Buy cheap fedex Alprazolam. Purchase Alprazolam free next day air. Purchase Alprazolam cod shipping. Cheap Amoxicillin next day shipping. Order Amoxicillin over the counter for sale. No prescription required for Amoxicillin. Buy Amoxicillin no insurance. Cod no online prescription Diazepam. Diazepam online consultation overnight. Order Diazepam first class shipping. Safety buy Diazepam. Discount Adderall. Adderall online ordering. How to get prescription of Adderall. Buy Adderall medication cod. Fioricet free usa shipping. Purchase Fioricet free next day air. Fioricet cheap fed ex delivery. Cod shipped Fioricet. Klonopin no physician. Klonopin with saturday delivery. Prescription Klonopin cod. Buy Klonopin without a prescription overnight shipping. Lortab overnight without prescription. Buy cheap Lortab overnight. Lortab purchased online without prescription. Cheap Lortab with cash on delivery. Lunesta cheap fed ex delivery. Lunesta delivery to US Nebraska. Buy Lunesta in Indianapolis. Buy Lunesta no visa online without prescription. Nextday Provigil. Provigil order a prepaid mastercard. Provigil cheap no membership. Provigil cheap overnight fedex. Non prescription Tramadol. Tramadol free usa shipping. Buy cheap Tramadol cod. Tramadol free standart shipping. Not expensive legal Viagra for sale. Viagra online cod. Cod shipped Viagra. No perscription Viagra next day. Order Lorazepam online pharmacies cash on delivery. Order Lorazepam 1 business day delivery. Next day delivery on Lorazepam. Cheap Lorazepam saturday delivery. Order Valium saturday delivery. Online Valium and fedex. Can Valium make you high. Buy Valium no visa without prescription. Ordering Oxycontin online without a prescription. Free shipping Oxycontin. Order Oxycontin next-day delivery. Buying online Oxycontin. Oxycodone orders C.O.D.. Order Oxycodone cod saturday. Oxycodone cheapest. Buy Oxycodone cod. Percocet without rx. Percocet cod accepted. No rx Percocet. Percocet delivery to US District of Columbia. Phentermine without presciption. Not expensive order prescription Phentermine. Order Phentermine online. Overnight Phentermine ups cod. Prescription Ambien. Nextday Ambien cash on deliver cod. Buy Ambien for cash on delivery. No prescripton Ambien. Purchase Vicodin over the counter online. Vicodin cheap fed ex delivery. Vicodin sale. Vicodin order a prepaid mastercard. Saturday delivery overnight Cialis. Next day delivery Cialis. Buy Cialis without prescription pay cod. Cialis pill. Soma online without doctor prescription. Discount Soma. Order Soma over the counter fedex. Cheapest Soma cash on delivery. Ultram purchased online without prescription. Ultram without prescription shipped overnight express. Cheapest Ultram online. Ultram without prescription cash on delivery. Valtrex cod shipping. Valtrex for sale online. Valtrex overnight cheap. Buy Valtrex in San Antonio. Zolpidem on line cash on delivery. Cheapest online Zolpidem. Order Zolpidem 2 business days delivery. Zolpidem delivery to US Minnesota. Xanax for cats medicine. Xanax bars cod online orders. Buy Xanax 2 mg no visa online without prescription. Xanax delivery to US Louisiana. Soma 30mg online discount. Snorting Soma 350mg. Herbal soma non prescription fedex overnight free. Canada Soma 30 mg no prescription. Fioricet pill online medication. Buy free overnight pharmacy Fioricet pill. Buy Fioricet er without a prescription. Order Fioricet drug over the counter. Can you buy Ambien zolpidem cash on delivery. Ambien cr lunesta online saturday delivery. Ambien coupon overnight online. Ambien 10 mg online saturday delivery. How to buy Tramadol online without a prescription. Best buy source for Tramadol hcl. Cheap Tramadol hcl no prescription next day delivery. Buy cheapest Tramadol for dogs. Cheap online order Diazepam for dogs. Overnight delivery of Diazepam for dogs. Diazepam xr buy online cheap. Buy Diazepam oral money order. Zolpidem ambien online prescription. Zolpidem hemitartrate delivery to US Nevada. Buy Zolpidem medication with no insurance. No prescriptions needed for Zolpidem medication. Valium 2mg no prescription overnight shipping. Buy Valium free fedex shipping. Order Yellow valium pills cod next day delivery. Valium diazepam 5mg online order cheapest. Ultram online ordering. Buy Ultram for dog cheap. Purchase Ultram over the counter fedex. Ultram for dogs ups delivery only. Alprazolam for dogs c.o.d.. Alprazolam tablets online. No prescripton Alprazolam xr. Buy Alprazolam online without dr approval. Buy Hydrocodone m359 in Tucson. Cheap watson Hydrocodone no rx no prescription needed. Watson 825 hydrocodone for sale. Hydrocodone pill without a prescription and cod delivery. Cheap Vicodin m357. Buying Vicodin m357 over the counter for sale. Online Vicodin m357 and fedex. Vicodin pain medication cod saturday. Next day Oxycodone 30mg. Buy Oxycodone hcl 30mg paypal. Cheapest 5mg oxycodone cash on delivery. Nextday Oxycodone 512. Buy Percocet 10 325 on line. Percocet 7.5 delivery to US North Carolina. Buy Percocet 10 without a prescription overnight delivery. Free fedex delivery Percocet 10mg. Buy Codeine for cough without a prescription online. Buy Promethazine codeine syrup amex online without prescription. Snorting Promethazine codeine syrup. Cheap Tylenol 3 with codeine without rx. Ativan medication cash on delivery. No perscription Drug ativan. Buy Ativan 2mg next day cod. Buy Ativan valium paypal without prescription. Generic Ativan no prescription cod. Cheap Ativan no script. Buy cheap online pharmacy Ativan. Buy not expensive fedex Ativan. Cialis delivery to US Arizona. Cialis online discount cheap. Canada Cialis no prescription. Cialis online purchase. No prescription Phentermine fedex delivery. Online pharmacy Phentermine no prescription. Buy Phentermine no visa. Cheap online Phentermine. Buying Amoxicillin over the counter for sale. Buy Amoxicillin without prescription to ship overnight. Amoxicillin by cod. Amoxicillin delivery to US Georgia. Buy Carisoprodol online pharmacy. Carisoprodol delivery to US Connecticut. Carisoprodol xr buy online cheap. Buy cheap prescription Carisoprodol. Codeine cod shipping. Order Codeine no creditcard. Codeine without a prescription or doctor. Codeine cash on delivery. Purchase Adderall online ems delivery. Purchase Adderall online. Pharmacy Adderall. Adderall cheap overnight fedex. Get Percocet over the counter cod overnight. Buy drug Percocet. Buy Percocet in Jacksonville. Percocet pharmacies accepting cod delivery. No prescription Oxycodone with fedex. Oxycodone medicine. Buy Oxycodone in Albuquerque. Oxycodone without a script. Lortab 2 business days delivery. Lortab next day delivery cod. Lortab free usa shipping. Purchase Lortab. Vicodin prescriptions. Buy Vicodin free shipping. Vicodin without doctor rx. Buy Vicodin in Raleigh. Hydrocodone next day no prescription. Online pharmacy Hydrocodone no prescription. Buy Hydrocodone now. Cheap legal Hydrocodone for sale. Alprazolam no script required express delivery. How 2 get high from Alprazolam. Buy Alprazolam paypal. Fedex Alprazolam overnight. Overnight delivery of Ultram with no prescription. Nextday Ultram. Ultram online no script. Pharmacy Ultram no prescrption. Safety Valium purchase. Cheap Valium with cash on delivery. Docs dont presribe Valium. Buy Valium without prescription pay cod. Viagra online purchase saturday delivery. Purchase Viagra cod shipping. Buy Viagra paypal. Cheap Viagra NO RX. Buy Zolpidem on line without a prescription. Buy Zolpidem in Austin. Order Zolpidem without a prescription. Buy Zolpidem no doctor. Diazepam with no rx and free shipping. Diazepam free consultation u.s. pharmacy. Diazepam pay by cod. Buy Diazepam in Las Vegas. Tramadol with saturday delivery. Where can I buy Tramadol without a prescription. Tramadol on sale cheap online. Buy overnight Tramadol. Fedex Ambien overnight. How to get Ambien prescription. Best buy bestbuy drugs Ambien. Ambien on line purchase. Fioricet without doctor rx. Watson Fioricet fedex. Fioricet to buy. Fioricet and online overnight delivery. Buy Soma online overseas. Buy Soma next day cod. Soma without a perscription. Where can i buy Soma online. Buy Xanax without rx. Order Xanax cod overnight delivery. Buy Xanax in Raleigh. Xanax shipped c.o.d.. Buy Generic amoxicillin w/out insurance. Online pharmaceutical Amoxicillin antibiotic. Amoxicillin 500mg order a prepaid visa. Augmentin amoxicillin cod overnight delivery.

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/NBQzoU0m1bw/12585