[TxMt] DIALOG2 popup Summary + Suggestion
Thomas Aylott
textmate at subtlegradient.com
Mon Apr 21 20:51:49 UTC 2008
That looks pretty hip. But the ui should show what you're typing
somewhere.
Thomas Aylott [SubtleGradient] from iPhone
On Apr 21, 2008, at 12:10 PM, Hans-Joerg Bibiko <bibiko at eva.mpg.de>
wrote:
>
> On 21 Apr 2008, at 17:39, Allan Odgaard wrote:
>
>> On 18 Apr 2008, at 14:52, Hans-Joerg Bibiko wrote:
>>
>>> On 18 Apr 2008, at 14:27, Hans-Joerg Bibiko wrote:
>>>> But by doing this I have some limitations:
>>>> 1) The size of my suggestions:
>>>> Up to now I have to pipe it to DIALOG2 but this size is limited.
>>>> Maybe it is worth to think about a mechanism to load a file
>>>> containing the suggestions.
>>> This is wrong. Of course, I can use cat instead of echo.
>>> I've just tried out to pipe a 1Mb file with 16500 suggestion to
>>> popup in lookup mode, and it works ;)
>>
>> Yeah, there is an ARG_MAX define which tells the maximum size of
>> environment variables and command arguments. I think it is around
>> 64 KB.
>>
>> Pipes of course are without such limits. This is also why it is
>> generally preferred to take selection (for TM commands) as input
>> rather than use TM_SELECTED_TEXT, at least for commands where it
>> might be more than a few words/lines.
> Yeap.
>
> But there is still the question, whether it's worth to implement
> such lookup mode in popup?
> See http://www.bibiko.de/TM_DIALOG2_popup_lookup.mov (1M)
>
> --Hans
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list