Hi Yakov,

Thank you, I'm glad you like it.
Initially this plugin was an experiment, but I also think that it has more
potential. I'm a novice in JavaScript and especially in RegExp so it's hard
for me to achieve progress. But it's fun and I'll try my best :)

Unfortunately At.js doesn't support unicode (and won't in near future), so
now I try to work around this issue without using more dependencies like
XRegExp library. I'm german so support for diacritics (like äöü) is
critical for me. I already tested some solutions and it worked more or
less, but I had no time to implement it yet. Does it work for you using
kyrillic characters (if you use any at all)?

Implementing support for pretty links should be my next challenge. As I
said, I'm new to all of this and it's kind of complicated to write a RegExp
for such a case. Maybe you have some ideas[1]? Matching "[[..." is easy,
but I don't really know how to match simultaneously this: "[[some text|...".

Making space symbol after suffix ("]]") an option should be easy. I will
implement this right now and release it on tiddlyspace soon.

Spasiba Yakov for your interest and your suggestions!

Albert

[1] see matcher function of At.js >
https://github.com/ichord/At.js/blob/master/dist/js/jquery.atwho.js#L616


2014-04-02 17:39 GMT+02:00 Yakov <[email protected]>:

> Wow, Albert,
>
> great stuff! Do you plan to implement suggestions for the [[some text|syntax 
> (to complete it to [[some
> text|target tiddler]])? Also, it would be nice if adding the space symbol
> after ]] is optional.
>
> This approach surely have potential for different applications, thanks for
> that.
>
> Best regards,
> Yakov.
>
> среда, 26 марта 2014 г., 20:52:02 UTC+4 пользователь Albert Riedinger
> написал:
>
>> Hi all,
>>
>> a few days ago Ramnath requested[1] a tiddler link suggestion feature in
>> edit mode, so I wrote a quick-and-dirty commands plugin[2] for the good old
>> TWC. It is just an implementation of At.js[3], which allows word
>> suggestions in textareas. After activating this feature with the toolbar
>> command, typing double square brackets "[[" in edit text field will suggest
>> tiddler names, while left-angle brackets(?) "<<" will suggest you installed
>> macros.
>> I'm not a programmer and it is my first public plugin, but I think that
>> your TW won't explode using this little hack :P
>>
>> Have fun and let me know if you find it useful!
>>
>> Cheers,
>> Albert
>>
>>
>> [1] https://groups.google.com/d/topic/tiddlywiki/b5xYteF6U9c/discussion
>> [2] http://autosuggest.tiddlyspace.com/#AutoSuggestPlugin
>> [3] https://github.com/ichord/At.js/ (see also:
>> https://github.com/ichord/Caret.js/)
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to