[twdev] Re: Total confusion

2018-03-05 Thread PMario
On Monday, March 5, 2018 at 9:05:37 PM UTC+1, joearms wrote: > > As you say there are actually two tidders > XXX and Draft of 'XXX' (and two files on disk) > Yes. ... Jeremy wanted to save the "Draft" state. So even nodejs server version saves those changes immediately. .. This is ok for a

[twdev] Re: Total confusion

2018-03-05 Thread joearms
On Monday, 5 March 2018 11:26:53 UTC+1, PMario wrote: > > Hi Joe, > > That's intentional. The "Draft of" tiddler is a "clone" of the tiddler you > want to edit. > Using the draf to edit a tiddler is the only way to implement a "canceling > system", which reverts back to the original. > >

[twdev] Re: Understanding TW code

2018-03-05 Thread PMario
On Monday, March 5, 2018 at 12:21:08 PM UTC+1, PMario wrote: > > > Parsing the wiki-syntax has 2 modes: > > - Inline-mode which is used for eg: ''bold'' or //italic// and > - Block-mode which is used for eg: paragraphs, bullet lists, numbered > lists and so on. > uups forgot one important

[twdev] Re: Understanding TW code

2018-03-05 Thread PMario
On Sunday, March 4, 2018 at 4:52:18 PM UTC+1, joearms wrote: > > ... > I found this code: (it's as is and unformatted since I > don't know when I can add white space or even line feeds) > > > \define journalButton() > <$button tooltip={{$:/language/Buttons/NewJournal/Hint}} >

[twdev] Re: Understanding TW code

2018-03-05 Thread PMario
On Sunday, March 4, 2018 at 4:52:18 PM UTC+1, joearms wrote: > > I'm trying to understand how to program the TW - right now what I'm doing > is reading the source of individual tiddlers and guessing what the > code means. > > This is a rather time consuming process, and unsatisfactory, to the >

[twdev] Re: Total confusion

2018-03-05 Thread PMario
Hi Joe, That's intentional. The "Draft of" tiddler is a "clone" of the tiddler you want to edit. Using the draf to edit a tiddler is the only way to implement a "canceling system", which reverts back to the original. If you use the toolbar: "cancel-button", the draft will be deleted, without