[TxMt] Hyperlink helper: wiki link
Brett Terpstra
brett at circlesixdesign.com
Sat Jul 7 17:39:10 UTC 2007
Oh, and do let me know if it's a decent solution, I'll make my first
SVN commit ;). If there's a more elegant way than a manual gsub, I'm
curious. None of the escape routines seem to play nice with the open-
uri library, which doesn't like escaped single quotes.
Brett
On Jul 7, 2007, at 12:23 PM, Brett Terpstra wrote:
> See if this does the trick. It's a stab in the semi-dark, so if
> you're willing to test it more extensively than I have time for, it
> would be appreciated ;).
>
> Thanks,
> Brett
>
>
>
> <Lookup Word : Selection on Wikipedia and link.tmCommand>
> On Jul 7, 2007, at 11:26 AM, Timothy Bates wrote:
>
>> Buglet for you:
>>
>> Select the text "Cronbach's alpha"
>>
>> "Lookup selection on wikipedia and link" -->
>>
>> Received exception:bad URI(is not URI?):
>> http://en.wikipedia.org/wiki/Cronbach\'s_alpha
>> <a href="" title=""></a>
>>
>> In a plain text document it returns the following
>>
>> Received exception:bad URI(is not URI?):
>> http://en.wikipedia.org/wiki/Cronbach\'s_alpha
>> (this language is not supported, see … for more info)
>>
>
>
> ______________________________________________________________________
> 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