[twdev] Re: [TW5] Future Feature - Update Template

2018-04-29 Thread TonyM
Mat, On further thought if we could have an update view and this was extensible we could build a designer view where tidbiz actively builds the tiddler, once build however it can all be hidden in the other views. I think your desired approach is achievable with the following functions., -

[twdev] Re: [TW5] Future Feature - Update Template

2018-04-29 Thread TonyM
Mat, Also see my reply to Mario. > > I think it makes sense to improve the editmode experience and I have some > opinions on what should be done BUT I think *the main problem is the very > editor*! I really wish we could have a more interactive editor that > featured something comparable

[twdev] Re: [TW5] Future Feature - Update Template

2018-04-29 Thread TonyM
Mario, By info Area I understand you mean under the Info Button, the drop down view. I some ways it would be nice to choose what view appears in a tiddlers view on opening a tiddler, the edit, update or view and then have the remaining ones available under the info button, or a new button

[twdev] Re: Forloop plugin by ibnishak.github.io

2018-04-29 Thread BJ
you need to do it like this: var re = new RegExp(forvar, 'g');for (; i <= max; i += iter) { textBuffer.push(text.replace(re, i)); } all the best BJ On Sunday, April 29, 2018 at 4:03:52 PM UTC+2, Bala Chandra wrote: > > It replaces only the first instance of the forvar .. So i tried to

[twdev] Re: [TW5] Future Feature - Update Template

2018-04-29 Thread Mat
On Saturday, April 28, 2018 at 1:10:23 PM UTC+2, PMario wrote: > > > With 5.1.16 we did a complete revise of the codemirror editor. Including > the "cm-autocomplete" addOn. ... It knows about CSS, HTML, XML, javascript, > elements. Since those elements are part of cm. ... > FYI I just posted a

[twdev] Forloop plugin by ibnishak.github.io

2018-04-29 Thread Bala Chandra
It replaces only the first instance of the forvar .. So i tried to modify the code of $:/plugins/tesseract/forloop/forloop.js (https://ibnishak.github.io/Tesseract/pluginsandmacros/index.html#Simple%20for-loop%20macro) for (; i <= max; i += iter) {