[tw5] Re: Autocompletion when transcluding: how to?

2020-12-23 Thread Sylvain Naudin
Hi Mario,

Sound interesting option.
Well, we don't need to select text to do CTRL-L and insert [[link]], so 
don't need to worries about it, no ?

And if by mistake user have selected text, yes I agree, insert after.

Regards,
Sylvain

Le mercredi 23 décembre 2020 à 17:19:28 UTC+1, PMario a écrit :

> The CTRL-L function allows to select some text and then insert a link, 
> using the text as "pretty link". ... For transclusions, this text doesn't 
> make sense, so the question is, what should we do with the text.
>
>  a)  Replace it
>  b)  Insert the transclusion after the text and leave the text unchanged. 
>
> I would go for b). .. Just some thoughts!!
>
> -mario
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85c7530d-cb16-4795-ba01-74c3c705d802n%40googlegroups.com.


[tw5] Re: Autocompletion when transcluding: how to?

2020-12-23 Thread PMario
Hi Ivan,
I did have a short look at the existing "Create wikitext link CTRL-L" 
button with "auto completion". It should be simple to implement, but we 
would need to change the UI a little bit.  And there is no time left to 
get it into TW V5.1.23 ... 

So it seems to be much easier to crate a completely new function as a 
plugin based on the existing function.

The CTRL-L function allows to select some text and then insert a link, 
using the text as "pretty link". ... For transclusions, this text doesn't 
make sense, so the question is, what should we do with the text.

 a)  Replace it
 b)  Insert the transclusion after the text and leave the text unchanged. 

I would go for b). .. Just some thoughts!!

-mario

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1f9e3137-3e4e-4738-b319-3cc2c061ab41n%40googlegroups.com.


[tw5] Re: Autocompletion when transcluding: how to?

2020-12-23 Thread IvanPsy
Ok Tones sounds tricky.
I evaluate, since autocompletion on backlinks is also important to me ;-)

Il giorno mercoledì 23 dicembre 2020 alle 02:20:10 UTC+1 TW Tones ha 
scritto:

> Ivan,
>
> Yopu could make a modified version of the existing EditorToolBar "Link" 
> button. This inserts the tiddler name inside [[braces]], it could be 
> modified to use {{ }}
> However once inserting a [[tiddlername]] and highlighting it, 
> the  EditorToolBar "[[*]]" button will remove the [[]] and the "{{*}}" will 
> add curly braces. 
>
> Regards
> Tones
>
> On Tuesday, 22 December 2020 at 17:16:19 UTC+11 IvanPsy wrote:
>
>> Greetings,
>>
>> Is there a way to have the autocompletion feature when transcluding a 
>> Tiddler into another one?
>>
>> I already use autocompletion for backlinks, but I also use transclusion a 
>> lot, and always remebering the exact name of the Tiddler is unhandy.
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51e10063-c83d-4532-8675-e1409044a350n%40googlegroups.com.


[tw5] Re: Autocompletion when transcluding: how to?

2020-12-22 Thread TW Tones
Ivan,

Yopu could make a modified version of the existing EditorToolBar "Link" 
button. This inserts the tiddler name inside [[braces]], it could be 
modified to use {{ }}
However once inserting a [[tiddlername]] and highlighting it, 
the  EditorToolBar "[[*]]" button will remove the [[]] and the "{{*}}" will 
add curly braces. 

Regards
Tones

On Tuesday, 22 December 2020 at 17:16:19 UTC+11 IvanPsy wrote:

> Greetings,
>
> Is there a way to have the autocompletion feature when transcluding a 
> Tiddler into another one?
>
> I already use autocompletion for backlinks, but I also use transclusion a 
> lot, and always remebering the exact name of the Tiddler is unhandy.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/434e06f1-9828-4bf8-9a6a-51e619666e4an%40googlegroups.com.