<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Rather than using just the *current* file as the source for completions, I'd like to expand that a bit and make TextMate search all currently open files for word completions.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've searched around a bit, and I am aware of the standard completions / completionCommand usage. However, it seems that there is no way of getting the list of currently open documents in to the shell. Is that the case?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Courier">TM_SELECTED_FILES </FONT>appears to be pretty close, but it only works on "selected" files within the project. Is the list of shell variables in the manual a comprehensive list? I'm hoping there's a secret something that I've missed :)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Regards,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Duane Johnson</DIV><DIV>(canadaduane)</DIV><DIV><A href="http://blog.inquirylabs.com">http://blog.inquirylabs.com</A>/</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>