Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Mat
Saq Imtiaz wrote: > > I'll try to find time to investigate this weekend. > Excellent. Part of my goal here is to make sure you are comfortable with the wikitext > portion of the code, so that if this does get into shape for release you > are able to maintain it and provide support. > Even

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Saq Imtiaz
@Mat: I.e only delete if what is currently investigated does not match the > template in use. Problem is, there is no "template in use" until one has > been set. But if we could set a faux template value in em-state to begin > then nothing will match this, until the template in use is set,

[twdev] Could gh host TW for multi user?

2020-07-14 Thread Mat
Is this even hypothetically possible with the current version of gh: To host a TW on gh, i.e in the way so it is presented as a usable wiki (not as merely files), and multiple users can have user rights to make contributions (i.e modifications) directly to it... but there's also some way to

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Mat
Saq Imtiaz wrote: > > This is probably because you are inside a list widget, so for every type > of autocomplete defintion (eg widget, macro, etc) that doesn't match, you > end up deleting the state tiddler even if there was a match in another type > of autocomplete defintion. > Aaah, of

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Saq Imtiaz
@Mat: > >>>- If there is no match, we cancel any already shown popups. >>> >>> failed attempt - I made a "deletePopState" macro but calling it gives > RSOE Uncaught TypeError: Cannot read property 'left' of undefined > (to locate the call: it's in editorMagicActions in the inner

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Saq Imtiaz
I feel like with the hit rate of these guesses I should be playing the lottery. About to take a look at your demo now. On Tuesday, July 14, 2020 at 3:20:20 PM UTC+2, Mat wrote: > > Saq Imtiaz wrote: >> >> Have you made trigger-end available as a variable in the popup? >> > > Doh! Now added and

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Mat
Saq Imtiaz wrote: > > Have you made trigger-end available as a variable in the popup? > Doh! Now added and it works. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Saq Imtiaz
Have you made trigger-end available as a variable in the popup? On Tue, 14 Jul 2020, 14:26 Mat, wrote: > Thanx, it was indeed misplaced outside of the button. It now works but no > trigger-end is appended. I'm leaving it for your to look at. > > <:-) > > -- > You received this message because

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Mat
Thanx, it was indeed misplaced outside of the button. It now works but no trigger-end is appended. I'm leaving it for your to look at. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Saq Imtiaz
Make sure you use the exact attribute name that I mentioned earlier, and that the span is inside the button for each list result. If that doesn't help, I'll debug later. On Tuesday, July 14, 2020 at 1:38:17 PM UTC+2, Mat wrote: > > Saq, no rush whatsoever. > > I just also updated the TitlePicker

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Mat
Saq, no rush whatsoever. I just also updated the TitlePicker to include that keyboard shortcut code. It doesn't do anything so I'm guessing something more is needed. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Saq Imtiaz
Mat: Busy day but I'll make some time to read, catch up and review in the afternoon. On Tue, Jul 14, 2020 at 12:17 PM Mat wrote: > OK, updated http://editormagic2.tiddlyspot.com/ > > I think I've now managed to separate concerns between the /body/editor and > /_Popup. It is worth noting that

Re: [twdev] Re: Caret position - Take 2

2020-07-14 Thread Mat
OK, updated http://editormagic2.tiddlyspot.com/ I think I've now managed to separate concerns between the /body/editor and /_Popup. It is worth noting that what exact data, and which exact values that should be stored in the state tiddler or which variables that should be defined in /_Popup

[twdev] Re: Haschanged / changecount reset

2020-07-14 Thread PMario
I don't have the real core code in mind, but as far as I can remember. On Tuesday, July 14, 2020 at 7:32:55 AM UTC+2, TonyM wrote: *Why;* > > Current Example: If I am building a package and I export the content say > to a json file or plugin package, I would like to reset the change count

[twdev] Re: Haschanged / changecount reset

2020-07-14 Thread Eric Shulman
On Monday, July 13, 2020 at 10:32:55 PM UTC-7, TonyM wrote: > > One strong use case it if a user is on a readonly wiki, such as where they > do not have a suitable saver or access to save, eg github hosted/php hosted > etc.. then they could fill out a survey. Once they export their survey >