[tw] Re: using script and <> to make a table
Mario, you are a genius - That works perfectly - thank you! Now I have to print out the code and stare at it for a while to figure out how it works... :-) Dave On Feb 10, 9:03 am, Dave Parker wrote: > On Feb 10, 8:27 am, PMario wrote: > > > Hi Dave, > > Is it really a script TW, or do you play my game? > > No, I was just playing :-), its actually a bible TW I've been > attempting on and off for years (mainly because my TW comprehension > skills are slow) My first attempt divided books ("Acts") into > individual tiddlers each verse, but now I'm trying it a section per > verse, hoping it'll be quicker responding (so far so good!). So the > real reference would be e.g. $1=Genesis, $2=1, $3=(index I=1 to 7 or > whatever I end up using) > > Thank you for your detailed response. I will try it out this weekend > (bogged down now with my day job). > > Dave -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Syntax for Refresh iFrame plugins
Hi, I am new in TW. I want to refresh my default tiddler in certain seconds. I import refreshiframe plugins and checkbox plugins for that. Now I coundn't find any good document that show me how to use it. Would any one please show me the syntax or usage for that as I am not programming man. Thank you in advance. Nick -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Failed to save main TiddlyWiki file. Your changes have not been saved
Hi, I have been using TW for last 3 months fine with FF 3.5 and IE8. From today I got Java error message "Error when saving tiddler 'AdvancedOptionsPlugin':ReferenceError: regexpBackSlash is not defined" and second message popup say "Failed to save main TiddlyWiki file. Your changes have not been saved". I tried everything but nothing works for me. Please help me! Nick -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Request: Firebug tutorial for TiddlyWiki
I have used firebug in past some years. Some of the uses are: 1. to inspect DOM in order to find out what div.class and div.id I need to target and manipulate for formatting TW. 2. to actually try out changing the css attribute values in the live DOM before including them in a Styling tiddler. 3. to inspect DOM in order to find out what divs and their classes do what in a TW interface, like what is a displayArea and what is a tiddlylinkExisting etc 4. to run short lines of javascript code from console line just to see their effect before actually including them into an inline script 5. to debug inline script by sending flag values to console.log of firebug. Besides firebug another tool which is indispensible when it comes to any coding in TW is Eric Shulman's http://www.tiddlytools.com/insideTW/ -shavinder On Feb 11, 2:26 am, "Mark S." wrote: > Just thinking out loud. So much of the code that you're likely to want > to edit is stored in tiddlers as plugins or systemConfig code which > gets evaluated *after* the core code has loaded. So I don't think you > can find it in the FireBug code window. Anyway, I wasn't able to use > FireBug on any of the code I was writing. But maybe there's some > special technique. I suppose it would be possible to temporarily park > code in the Markup section so that it would get evaluated like "real" > javascript. Then move it to its containing tiddler once its been > debugged. > > Mostly I've used FB to help me see what styles TW is applying. In the > code itself I use alerts to let me know where the code is executing, > and what key variables have been set to. I've found in other > environments that debuggers often gets in your way more than they > help. > > Mark > > On Feb 11, 4:09 am, Mike wrote: > > > Looking for a TW experts point of view on how to use Firebug with > > TW. . . > > > Not sure if anyone has the time or energy to put something together, > > but I think it would be a good contribution to the general knowledge > > base. This also would be a good resource for people learning how to > > troubleshoot and write their own scripts / macros / plugins. > > > Slowly making all of us users into mini experts :P > > > Any Thoughts? > > > Mike -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Format cells in a table
Hi All I wish to modify the appearance of some cells in a table. I want to remove some of the borders and change the background colour of some cells in the table. I can set the background colour but only if I use a hex value for the colour. Setting the colour using [[ColorPalette::PrimaryPale]] does not work for me. Can I use the [[ColorPalette::]] values to set the colour of a table cell? !!Change background colour in cells 2-4, and 6-8 (~PrimaryPale = #9b9). |cell #1|bgcolor(#9b9):cell #2|bgcolor:#9b9;cell #3|background- color:#9b9;cell #4| |cell #5|bgcolor([[ColorPalette::PrimaryPale]]):cell #6|bgcolor: [[ColorPalette::PrimaryPale]]; cell #7|background-color: [[ColorPalette::PrimaryPale]]; cell #8| I can successfully remove the vertical line between two columns but cannot remove the horizontal line between two rows. How can i remove the horizontal border between two rows? !!Remove vertical line between column 1 and column 2 (Successful). |border-right-width:0; cell #1 |border-left-width:0; cell #2 | cell #3 | |border-right-width:0; cell #4 |border-left-width:0; cell #5 | cell #6 | !!Remove horizontal line between row 1 and row 2 (Unsuccessful). |border-bottom-width:0; cell #1 |border-bottom-width:0; cell #2 | |border-top-width:0; cell #3 |border-top-width:0; cell #4 | |cell #5|cell #6| I am using MPTW with Firefox 3.5.7 on Windows XP. I have also tried the examples above in an empty TW 2.5 and had the same results. Cheers Andrew Mc -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Request: Firebug tutorial for TiddlyWiki
Just thinking out loud. So much of the code that you're likely to want to edit is stored in tiddlers as plugins or systemConfig code which gets evaluated *after* the core code has loaded. So I don't think you can find it in the FireBug code window. Anyway, I wasn't able to use FireBug on any of the code I was writing. But maybe there's some special technique. I suppose it would be possible to temporarily park code in the Markup section so that it would get evaluated like "real" javascript. Then move it to its containing tiddler once its been debugged. Mostly I've used FB to help me see what styles TW is applying. In the code itself I use alerts to let me know where the code is executing, and what key variables have been set to. I've found in other environments that debuggers often gets in your way more than they help. Mark On Feb 11, 4:09 am, Mike wrote: > Looking for a TW experts point of view on how to use Firebug with > TW. . . > > Not sure if anyone has the time or energy to put something together, > but I think it would be a good contribution to the general knowledge > base. This also would be a good resource for people learning how to > troubleshoot and write their own scripts / macros / plugins. > > Slowly making all of us users into mini experts :P > > Any Thoughts? > > Mike -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Request: Firebug tutorial for TiddlyWiki
Looking for a TW experts point of view on how to use Firebug with TW. . . Not sure if anyone has the time or energy to put something together, but I think it would be a good contribution to the general knowledge base. This also would be a good resource for people learning how to troubleshoot and write their own scripts / macros / plugins. Slowly making all of us users into mini experts :P Any Thoughts? Mike -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
Re: [tw] Re: Change the colour of the background in a tiddler in edit mode
Thank you gentlemen. I aim to continue the exemplification of great teaching style Mr. Eric Shulman - someone who, if British - would be no doubt be knighted for services to the Tiddler. I also am inspired by Mr. FND's contributions, and in this instance his comments on 'the off topic thread' [1]. I hoped my help would not be "stymying deeper understanding and perpetuating reliance on a small group of established experts." Rather I aimed to share a problem solving method which hopefully could be applied to a more general cases thus aiding the ever willing experts who have helped me become a nano-expert in their mission. ALex [1] http://groups.google.com/group/tiddlywiki/msg/ee75b995be632320 On 10 February 2010 10:29, dickon wrote: > I echo Tony's thanks for this, Alex - good teacher! > > Dickon > > On Feb 1, 10:40 pm, Alex Hough wrote: > > Hi Tony, > > > > Are there details anywhere (on the internet) of what other features of > > > > > TW can be customised? > > > > Yes. > > On tiddlywiki.com there are some tips. Look under 'customisation' and > follow > > some links. > > Moris Grey's tw help is very good -http://twhelp.tiddlyspot.com/ > > For more formal info look athttp://tiddlywiki.org > > > > For example, how does one discover how to change the background of a > > > > > tiddler. > > > > Here's how i did it. > > I used Firebug, a firefox extention. using it you can select part of the > TW > > and see the CSS code. You can even see the color specified. I cut and > pasted > > the existing code from firebug into the StyleSheet tiddler and changed > the > > colour to white. > > You get firefug fromhttp://getfirebug.com/. It is well worth learning. > If > > you get chance to see someone using it i think it is helpful too. I was > > lucky enough to see Simon McMannus at Osmosoft using it. > > > > I discovered it when I started to look at Shadow Tiddlers. It took a > while > > for me to get it, but basically these are the ones you need to change to > > customise your TW. > > > > > > > > > Even better, can you explain why the above change works. Knowing the > > > theory would be very helpful. > > > > The change works by overwriting the existing style code. Here is the code > > again > > > > .editor textarea, .editor input { > > background-color:white; > > > > } > > > > it is saying, "anything that has the class of editor and is a textarea, > or > > has the class of editor and input, make the background white. The dot (.) > in > > front of the word means 'class' > > look at the W3 website for more info on CSS. -www.w3schools.com/*css*/ > > > > hope this helps > > > > Alex > > > > Tony > > > > > > > > > > > > > On Jan 28, 8:01 pm, Alex Hough wrote: > > > > Add this to stylesheet > > > > > > .editor textarea, .editor input { > > > > background-color:white; > > > > > > } > > > > > > Alex > > > > > > On 28 January 2010 09:51, dickon > > > wrote: > > > > > > > Hi, > > > > > I am trying to change the colour of the background of my tiddlers > when > > > > > they are switched into edit mode. At present the background is a > grey > > > > > that is too dark to pick out the cursor, so that typing/editing is > > > > > difficult. > > > > > > > I am looking through the colorpalette designations, and can't see > > > > > which colour I am meant to be changing. > > > > > > > The tiddlywiki in question is my tiddlymanual at > > > > >http://imp.peermore.com/imp/recipes/editorial/tiddlers.wiki > > > > > > > Sorry this is an obvious question, but I can't find documentation > that > > > > > identifies this element. > > > > > > > Dickon > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "TiddlyWiki" group. > > > > > To post to this group, send email to tiddlyw...@googlegroups.com. > > > > > To unsubscribe from this group, send email to > > > > > tiddlywiki+unsubscr...@googlegroups.com > > > > > > > > > > > > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/tiddlywiki?hl=en. > > > > > > --http://www.multiurl.com/g/64 > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "TiddlyWiki" group. > > > To post to this group, send email to tiddlyw...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > tiddlywiki+unsubscr...@googlegroups.com > > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/tiddlywiki?hl=en. > > > > --http://www.multiurl.com/g/64 > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to tiddlyw...@googlegroups.com. > To unsubscribe from this group, send email to > tiddlywiki+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en. > > -- http://www.multiurl.com/g/64 -- You received this message because you are subscribed to the
[tw] Re: Including line breaks in easyFormat code
That did it!!! It's amazing how long I can bang my head against a wall because of the wrong type of slash. Thanks Ton! Jono On Feb 10, 10:37 am, TonG wrote: > Hi Jono. > > You need to use a backslash instead of a slash and double quotes > around \n, so > > config.commands.format.putInPlace("<<<"+"\n" > +TWkd.context.selection.content+"\n"+"<<<",TWkd.context.selection); > } > > Regards, > > Ton > > On Feb 10, 3:06 pm, GeoJono wrote: > > > Hi Ton, > > > Thanks for the link. I tried putting in /n, but I must be doing > > something wrong. Here's the new code: > > > config.commands.format.addMode({ > > name:'Multi-line Block', > > tooltip:'turns multi-line selection into blocked text', > > operation:function(){ > > config.commands.format.putInPlace("<<<"+/n > > +TWkd.context.selection.content+/n+"<<<",TWkd.context.selection); > > } > > > }); > > > and this is the error I got: Error: SyntaxError: invalid regular > > expression flag n > > > Can someone give me some tips on the proper syntax? > > > Thanks, > > Jono > > > On Feb 10, 3:34 am, TonG wrote: > > > > I hope this helps: > > > >http://groups.google.com/group/TiddlyWiki/browse_thread/thread/16da06... > > > > Ton > > > > On Feb 9, 11:35 pm, GeoJono wrote: > > > > > I am using easyFormat to more easily format my tiddlers and I have a > > > > question about it. I'm trying to add a multi-line block quote into > > > > it... > > > > > to take this: > > > > > Multiple lines > > > > in the > > > > block quote > > > > > and make it this: > > > > > <<< > > > > Multiple lines > > > > in the > > > > block quote > > > > <<< > > > > > So far, the only thing I can get it to do is this: > > > > > << > > > in the > > > > block quote<<< > > > > > which doesn't work. > > > > > I'd like to know how to make it insert line breaks so that the > > > > formatting will come out right. > > > > > Here's the code for that line: > > > > > config.commands.format.addMode({ > > > > name:'Multi-line Block', > > > > tooltip:'turns multi-line selection into blocked text', > > > > operation:function(){ > > > > config.commands.format.putInPlace("<<<"+TWkd.context.selection.content > > > > +"<<<",TWkd.context.selection); > > > > } > > > > > }); > > > > > Does anyone know how to insert line breaks in here so that after the > > > > "<<<" it will go to the next line, and then again before the last > > > > "<<<"? > > > > > Thanks, > > > > Jono -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: using script and <> to make a table
On Feb 10, 8:27 am, PMario wrote: > Hi Dave, > Is it really a script TW, or do you play my game? > No, I was just playing :-), its actually a bible TW I've been attempting on and off for years (mainly because my TW comprehension skills are slow) My first attempt divided books ("Acts") into individual tiddlers each verse, but now I'm trying it a section per verse, hoping it'll be quicker responding (so far so good!). So the real reference would be e.g. $1=Genesis, $2=1, $3=(index I=1 to 7 or whatever I end up using) Thank you for your detailed response. I will try it out this weekend (bogged down now with my day job). Dave -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
Re: Using MonkeyGTD on Android
Not on Android browser, but on Dolphin browser, go to settings. There is a checkbox for "write to SD card" See if having that checked fixes this up. On Jan 26, 12:52 pm, Andy Pastuszak wrote: > The Android browser would not let me write to the SD card, so my test only > allowed read only access. So close... > > I emailed the Dolphin developer to see if there was something I was missing, > > Waiting to hear back. > > Andy > -- You received this message because you are subscribed to the Google Groups "GTD TiddlyWiki" group. To post to this group, send email to gtd-tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to gtd-tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gtd-tiddlywiki?hl=en.
[tw] Re: Including line breaks in easyFormat code
Hi Jono. You need to use a backslash instead of a slash and double quotes around \n, so config.commands.format.putInPlace("<<<"+"\n" +TWkd.context.selection.content+"\n"+"<<<",TWkd.context.selection); } Regards, Ton On Feb 10, 3:06 pm, GeoJono wrote: > Hi Ton, > > Thanks for the link. I tried putting in /n, but I must be doing > something wrong. Here's the new code: > > config.commands.format.addMode({ > name:'Multi-line Block', > tooltip:'turns multi-line selection into blocked text', > operation:function(){ > config.commands.format.putInPlace("<<<"+/n > +TWkd.context.selection.content+/n+"<<<",TWkd.context.selection); > } > > }); > > and this is the error I got: Error: SyntaxError: invalid regular > expression flag n > > Can someone give me some tips on the proper syntax? > > Thanks, > Jono > > On Feb 10, 3:34 am, TonG wrote: > > > I hope this helps: > > >http://groups.google.com/group/TiddlyWiki/browse_thread/thread/16da06... > > > Ton > > > On Feb 9, 11:35 pm, GeoJono wrote: > > > > I am using easyFormat to more easily format my tiddlers and I have a > > > question about it. I'm trying to add a multi-line block quote into > > > it... > > > > to take this: > > > > Multiple lines > > > in the > > > block quote > > > > and make it this: > > > > <<< > > > Multiple lines > > > in the > > > block quote > > > <<< > > > > So far, the only thing I can get it to do is this: > > > > << > > in the > > > block quote<<< > > > > which doesn't work. > > > > I'd like to know how to make it insert line breaks so that the > > > formatting will come out right. > > > > Here's the code for that line: > > > > config.commands.format.addMode({ > > > name:'Multi-line Block', > > > tooltip:'turns multi-line selection into blocked text', > > > operation:function(){ > > > config.commands.format.putInPlace("<<<"+TWkd.context.selection.content > > > +"<<<",TWkd.context.selection); > > > } > > > > }); > > > > Does anyone know how to insert line breaks in here so that after the > > > "<<<" it will go to the next line, and then again before the last > > > "<<<"? > > > > Thanks, > > > Jono -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: using script and <> to make a table
Hi Dave, Is it really a script TW, or do you play my game? > > I hope that makes it more clear... Since 3PO decrypted it. Yes, I think, it is. I prepared 2 tiddlers for you [1][2] for easy access. You will need RefreshTiddler [3] from tiddlytools, for refreshing. There are some checks for input values, ... but they are __not__ tested. Testing is your part, if it fits your needs. regards Mario [1] http://a-pm-experimental.tiddlyspot.com/#ScriptMaster [2] http://a-pm-experimental.tiddlyspot.com/#ScriptTemplate [3] http://www.tiddlytools.com/#RefreshTiddler Thats inside the tiddlers. But the list will break the lines. NewTiddler: ScriptMaster contains !The structure {{{ |++...@[n] [[(go)|Note$1$2:$3]] <>===| <>| }}} !Setup |Show # lines before start line|<>| |Start at line: |<>| |Number of lines to display: |<>| <> <> === end of Script Master NewTiddler: Script Template !Script List var co = config.options; var out = ''; /* initialize / create the variables */ co.txtCntNumber = (co.txtCntNumber != undefined)? co.txtCntNumber : '10'; /* change 10 to your default value */ co.txtCntPre =(co.txtCntPre!= undefined)? co.txtCntPre: '0'; /* change 0 to your default value */ co.txtCntStart = (co.txtCntStart != undefined)? co.txtCntStart : '1'; /* change 1 to your default value */ /* check for negative values */ var cntNumber = parseInt(co.txtCntNumber); var cntPre= parseInt(co.txtCntPre); var cntStart = parseInt(co.txtCntStart); /* user input check */ cntNumber = (cntNumber > 0) ? cntNumber : 10; /* should be same as above! */ cntPre= (cntPre >= 0) ? cntPre: 0; cntStart = (cntStart > 0) ? cntStart : 1;/* limit the smallest start value */ var max = cntStart + cntNumber; /* create the table */ for (var i=cntStart; i>===|< >|\n" } return out; == end of Script Template == On Feb 10, 2:27 am, Dave Parker wrote: > Hi Mario - I'm glad I was able to entice you!! > > > ^ .. width, with no parameter .. does sets width to auto. > > actually thats part of the nested sliders plugin that says the slider > shows in the form of a popup. > > > [n] .. activated by key 'n' > > not exactly, its just a little slider label "n", so it should look > like this in the table: > | [n] |Act1 Scene1:line 1 Leah - "help me Obiwan Kenobi, you're my > only hope!"| > > when you hover over the n (for "note") it'll display a popup like this > |(go) (and here are the notes for Act1 scene1:line1 if they exist) | > and if you click on "(go)", it'll open up the notes so you can either > create or edit them. > > and the tiddler "Act1" has this section: > !scene1.line1 > scene1:line1 Leah - "help me Obiwan Kenobi, you're my only hope!" > > >Fore one line, there are 2 tiddlers involved? > > I guess you could say 3, there's the note tiddler, there's the > template tiddler (here known as "TiddlerName") with the < $2.$3>> and that (due to the parameters) refers to a 3rd called Act1 > and the various sections > > >Please give 2! examples for $1 $2 $3 > > Act1, scene1, line1 > Act7, scene3, line34>Which one is the counting variable i in for(i=1;i< .. > > $3 is the counting variable, so elsewhere in the TW I'd have already > picked the first 2 variables, and here it would pick out however many > lines from the "Act" tiddler, which could be quite huge if opened in > its entirety. With the [n] thing you could write notes for each > line. I intend to make it so you can click something to look at the > next 8 or 10 and/or the previous bunch too. > > I hope that makes it more clear... > > thanks, > Dave > > On Feb 9, 3:19 pm, PMario wrote: > > > Hi Dave. > > q:-)) You lured me. Yes it is relevant. > > > Let's split things a little bit, to make the problem simpler, for me > > to understand and solve the little parts. > > > My thoughts: > > > > TiddlerName tiddler has this: > > > |++...@[n] [[(go)|Note$1$2:$3]] <>===| > > > <>| > > > === > > > R2D2 says: > > |++...@[n] [[(go)|Note$1$2:$3]] <>===| > > <>| > > > I feel like Luke Skywalker now.. > > > | .. start of the table > > +++ .. start of NestedSliderPlugin > > ^ .. width, with no parameter .. does sets width to auto. > > * .. closes display, if click occurs somewhere in tiddler > > @ .. the slider will be opened if mouse hovers it > > [n] .. activated by key 'n' > > > If $1=X $2=Y $3=Z it opens a Tiddler named NoteXY:Z ->right? > > > [[(go)|Note$1$2:$3]] > > ^^ > > | | > > | +-- Link to NoteXY:Z > > +-Label (go) prittylink > > > And if the mouse goes there it hovers the content of that tiddler ->right? > > > <> > > > cool idea! > > > === .. end of nested slider > > > | .. finished the left part of the table > > > <>| > > Displays the Section content of tiddler X##Y.Z -> right? > > > | .. end of right part of the table. > > > = > > There are 3 Variables $1 $2 $3 which are
[tw] Re: Including line breaks in easyFormat code
Hi Ton, Thanks for the link. I tried putting in /n, but I must be doing something wrong. Here's the new code: config.commands.format.addMode({ name:'Multi-line Block', tooltip:'turns multi-line selection into blocked text', operation:function(){ config.commands.format.putInPlace("<<<"+/n +TWkd.context.selection.content+/n+"<<<",TWkd.context.selection); } }); and this is the error I got: Error: SyntaxError: invalid regular expression flag n Can someone give me some tips on the proper syntax? Thanks, Jono On Feb 10, 3:34 am, TonG wrote: > I hope this helps: > > http://groups.google.com/group/TiddlyWiki/browse_thread/thread/16da06... > > Ton > > On Feb 9, 11:35 pm, GeoJono wrote: > > > I am using easyFormat to more easily format my tiddlers and I have a > > question about it. I'm trying to add a multi-line block quote into > > it... > > > to take this: > > > Multiple lines > > in the > > block quote > > > and make it this: > > > <<< > > Multiple lines > > in the > > block quote > > <<< > > > So far, the only thing I can get it to do is this: > > > << > in the > > block quote<<< > > > which doesn't work. > > > I'd like to know how to make it insert line breaks so that the > > formatting will come out right. > > > Here's the code for that line: > > > config.commands.format.addMode({ > > name:'Multi-line Block', > > tooltip:'turns multi-line selection into blocked text', > > operation:function(){ > > config.commands.format.putInPlace("<<<"+TWkd.context.selection.content > > +"<<<",TWkd.context.selection); > > } > > > }); > > > Does anyone know how to insert line breaks in here so that after the > > "<<<" it will go to the next line, and then again before the last > > "<<<"? > > > Thanks, > > Jono -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Putting image between line breaks
hi not tested, but try > Text text text > [img(50%+,)[images/ABC.png]] > Text text text -m On Feb 10, 9:41 am, Claudio wrote: > Hi, > > Would it be possible to insert empty lines at both the top and bottom > of an image (with ResizeImagePlugin installed)? > > Text text text > (line break) > [img(50%+,)[images/ABC.png]] > (line break) > Text text text -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Change the colour of the background in a tiddler in edit mode
I echo Tony's thanks for this, Alex - good teacher! Dickon On Feb 1, 10:40 pm, Alex Hough wrote: > Hi Tony, > > Are there details anywhere (on the internet) of what other features of > > > TW can be customised? > > Yes. > On tiddlywiki.com there are some tips. Look under 'customisation' and follow > some links. > Moris Grey's tw help is very good -http://twhelp.tiddlyspot.com/ > For more formal info look athttp://tiddlywiki.org > > For example, how does one discover how to change the background of a > > > tiddler. > > Here's how i did it. > I used Firebug, a firefox extention. using it you can select part of the TW > and see the CSS code. You can even see the color specified. I cut and pasted > the existing code from firebug into the StyleSheet tiddler and changed the > colour to white. > You get firefug fromhttp://getfirebug.com/. It is well worth learning. If > you get chance to see someone using it i think it is helpful too. I was > lucky enough to see Simon McMannus at Osmosoft using it. > > I discovered it when I started to look at Shadow Tiddlers. It took a while > for me to get it, but basically these are the ones you need to change to > customise your TW. > > > > > Even better, can you explain why the above change works. Knowing the > > theory would be very helpful. > > The change works by overwriting the existing style code. Here is the code > again > > .editor textarea, .editor input { > background-color:white; > > } > > it is saying, "anything that has the class of editor and is a textarea, or > has the class of editor and input, make the background white. The dot (.) in > front of the word means 'class' > look at the W3 website for more info on CSS. -www.w3schools.com/*css*/ > > hope this helps > > Alex > > Tony > > > > > > > On Jan 28, 8:01 pm, Alex Hough wrote: > > > Add this to stylesheet > > > > .editor textarea, .editor input { > > > background-color:white; > > > > } > > > > Alex > > > > On 28 January 2010 09:51, dickon > > wrote: > > > > > Hi, > > > > I am trying to change the colour of the background of my tiddlers when > > > > they are switched into edit mode. At present the background is a grey > > > > that is too dark to pick out the cursor, so that typing/editing is > > > > difficult. > > > > > I am looking through the colorpalette designations, and can't see > > > > which colour I am meant to be changing. > > > > > The tiddlywiki in question is my tiddlymanual at > > > >http://imp.peermore.com/imp/recipes/editorial/tiddlers.wiki > > > > > Sorry this is an obvious question, but I can't find documentation that > > > > identifies this element. > > > > > Dickon > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "TiddlyWiki" group. > > > > To post to this group, send email to tiddlyw...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > tiddlywiki+unsubscr...@googlegroups.com > > > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/tiddlywiki?hl=en. > > > > --http://www.multiurl.com/g/64 > > > -- > > You received this message because you are subscribed to the Google Groups > > "TiddlyWiki" group. > > To post to this group, send email to tiddlyw...@googlegroups.com. > > To unsubscribe from this group, send email to > > tiddlywiki+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/tiddlywiki?hl=en. > > --http://www.multiurl.com/g/64 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Selectively folding headings
> Tried this but it doesn't work... > > !!This Heading Doesn't Fold > This part appears all the time > {{someclass{!!Want This Heading to Fold > Content content content<>}}} Headings must start at the beginning of a line.. thus: !!This Heading Doesn't Fold This part appears all the time {{onlyfoldtheseheadings{ !!Want This Heading to Fold Content content content <> }}} enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Minor enhancement to Comment plugin request
Eric, With a new way of managing tiddlers I am developing my use of the comment plugin which is fantastic. I was wondering if it would be difficult for you to make a minor (?) change so I can use it more comprehensively. As you would know each time a comment is placed into the target tiddler a set of tags can be specified. Would it be possible to allow a "-" or some other indicator to be placed in front of the tags you want removed if they exists ? eg; "closed completed" to add these two tags "-closed -completed" to remove these tags if they exist. If this method could be mixed it would even be more helpful "HighPriority -MediumPriority -LowPriority" It would allow the comment plugin to be used for Tag Cycling. One final option that would be nice is to use the comment plugin in a silent mode such that for comments not requiring a subject or message to be entered the comment is inserted without an OK prompt. Even blank comments with only the tags changing would be useful. Thanks in advance if this is possible. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Putting image between line breaks
Hi, Would it be possible to insert empty lines at both the top and bottom of an image (with ResizeImagePlugin installed)? Text text text (line break) [img(50%+,)[images/ABC.png]] (line break) Text text text -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Selectively folding headings
Hi, Installed FoldHeadingsPlugin, it says: You can further limit the effect of the macro within the tiddler by surrounding several headings in a "CSS class wrapper" ({{classname{...}}}) or other containing DOM element (e.g., @@display:inline;...@@) and then embedding the <> macro inside that container (at the end)... only those headings that are also within that container will be made fold-able, instead of converting all the headings in that tiddler. But I can't figure out how to do it. Tried this but it doesn't work... !!This Heading Doesn't Fold This part appears all the time {{someclass{!!Want This Heading to Fold Content content content<>}}} -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Including line breaks in easyFormat code
I hope this helps: http://groups.google.com/group/TiddlyWiki/browse_thread/thread/16da06e35dc3010e/0988b99bad6390b0?lnk=gst&q=easyFormat#0988b99bad6390b0 Ton On Feb 9, 11:35 pm, GeoJono wrote: > I am using easyFormat to more easily format my tiddlers and I have a > question about it. I'm trying to add a multi-line block quote into > it... > > to take this: > > Multiple lines > in the > block quote > > and make it this: > > <<< > Multiple lines > in the > block quote > <<< > > So far, the only thing I can get it to do is this: > > << in the > block quote<<< > > which doesn't work. > > I'd like to know how to make it insert line breaks so that the > formatting will come out right. > > Here's the code for that line: > > config.commands.format.addMode({ > name:'Multi-line Block', > tooltip:'turns multi-line selection into blocked text', > operation:function(){ > config.commands.format.putInPlace("<<<"+TWkd.context.selection.content > +"<<<",TWkd.context.selection); > } > > }); > > Does anyone know how to insert line breaks in here so that after the > "<<<" it will go to the next line, and then again before the last > "<<<"? > > Thanks, > Jono -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.