[tw] Re: Pasting text into a tiddler without having it wikified

2013-05-06 Thread TonyM
I place text between these braces to store and display pure text.

{{{
Text here
}}}

or
{{{Text here}}}

But I also past HTML in between the 
html

/html

Then I get full HTML in my tiddler.

Tags. I don't recall which plugin from TiddlyTools permitted this. I do use 
the FF Plugin Copy HTML to make this easier.

Tony

On Saturday, 27 September 2008 02:00:33 UTC+10, konrad...@laposte.net wrote:

 Dear TiddlyWiki experts, 

 I am looking for the solution to a problem that seems frequent to me, 
 and yet I didn't find any solution in the archives of this group, nor 
 elsewhere. 

 I have a TiddlyWiki that I use as a personal notebook. It contains 
 basically two kinds of tiddlers: notes that I typed myself, and text 
 pasted in from other sources (usually Web pages). For typing notes, 
 TiddlyWiki is just fine. But pasted-in text often looks ugly when 
 interpreted with Wiki markup. What I'd like to do is tell TiddlyWiki 
 not to apply any specific formatting to a given tiddler, either by 
 adding a tag or by adding some straightforward markup (the less the 
 better). 

 At first I thought nowiki or triple quotes would do the job, but 
 they also suppress line breaks, turning my tiddler into a single long 
 paragraph. 

 I want my pasted-in text to look just as if I had pasted it into any 
 word processor: the division into paragraphs should be respected, 
 ideally URLs should be recognized and made clickable (though that's 
 not essential), and that's it. No WikiWords, no strikethrough, nothing 
 at all. 

 Thanks in advance for any suggestions, 
   Konrad. 


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Transcluded Sections do not get refreshed

2013-05-06 Thread PMario
uups,
I didn't see you created a new post. 

There is an issue at: 
https://github.com/TiddlyWiki/tiddlywiki/issues/123
-m

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Announcing TiddlyWiki version 2.7.2 BETA 1

2013-05-06 Thread julien23
Hi Eric

Thank you for new version.

I am very pleased too to have import tiddler from files that are outside 
of the current folder. back. Same as Måns, it gives me hope to have one 
day your AttachFilePackage back too.

Regards

Julien

Le samedi 4 mai 2013 08:44:07 UTC+2, Måns a écrit :

 Hi Eric


 * Backstageimport: 
   See https://github.com/TiddlyWiki/tiddlywiki/issues/116 

 Importing tiddlers now uses FileReader API whenever available 
 (currently supported by Chrome, Firefox 20+, etc.).  This new HTML5- 
 standard browser-based file I/O handling does not require any special 
 privileges or security permissions to read contents of files that you 
 interactively select from your local filesystem, and you can now 
 successfully import tiddler from files that are outside of the current 
 folder. 


 This is *GREAT* news :-)
 It seems to work very well - thank you!

 I was wondering: Is there any chance that your  AttachFilePlugin could 
 benefit from the same FileReader API?

 Cheers Måns Mårtensson


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Announcing TiddlyWiki version 2.7.2 BETA 1

2013-05-06 Thread julien23
Hi

Upgrade process worked fine.

I was exited to have the import feature back so I immediately triggered my 
sync scheme ... but it relies on LoadTiddlersPlugin that have to be fixed 
as well :(

Thank you anyway ... waiting for the futur


Le lundi 6 mai 2013 13:27:15 UTC+2, julien23 a écrit :

 Hi Eric

 Thank you for new version.

 I am very pleased too to have import tiddler from files that are outside 
 of the current folder. back. Same as Måns, it gives me hope to have one 
 day your AttachFilePackage back too.

 Regards

 Julien

 Le samedi 4 mai 2013 08:44:07 UTC+2, Måns a écrit :

 Hi Eric


 * Backstageimport: 
   See https://github.com/TiddlyWiki/tiddlywiki/issues/116 

 Importing tiddlers now uses FileReader API whenever available 
 (currently supported by Chrome, Firefox 20+, etc.).  This new HTML5- 
 standard browser-based file I/O handling does not require any special 
 privileges or security permissions to read contents of files that you 
 interactively select from your local filesystem, and you can now 
 successfully import tiddler from files that are outside of the current 
 folder. 


 This is *GREAT* news :-)
 It seems to work very well - thank you!

 I was wondering: Is there any chance that your  AttachFilePlugin could 
 benefit from the same FileReader API?

 Cheers Måns Mårtensson



-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: A View Mode Editor and a simple Calcualtor

2013-05-06 Thread TonG
Hi Vincent,

An update about not being able to edit the title of a tiddler in my main TW:
1) I found the size of the font is important. I can edit the title for a 
font-size up to and including 1.98em. From 1.99em upwards it is not 
possible anymore (TWtid/TWtedv1.63).
2) In my main TW I use a modified ViewTemplate with divs for classes 
tagging, tagged and tagClear between divs toolbar and title. But with a 
default ViewTemplate the problem stays.
3) In a MTC with TWtid and TWted v1.63 I can edit the title even with a 
font-size of 10em!
4) With TWtid/TWted v1.64 in my main TW I can edit the title for a 
font-size up to and including 2.54em. From 2.55em upwards it is not 
possible anymore.
No idea why.
I made a MTC with topmenus. modified ViewTemplate and with TWtid/TWted 
v1.64 [1] which has the title problem: I can edit the title for a 
font-size up to and including 2.54em. From 2.55em upwards it is not 
possible anymore.
The font-size for the title is at the top of the StyleSheet.

N.B. With plugins v1.64 there is no shift in an old unmodified main TW 
(#displayArea, .tiddler as was in the past), so your solution for the 
positioning issue works.

Cheers,

Ton

[1] 
https://dl.dropboxusercontent.com/u/2638511/MTC_TW_271_TWed_164_topmenu.html

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Announcing TiddlyWiki version 2.7.2 BETA 1

2013-05-06 Thread Scott Simmons
On Monday, May 6, 2013 1:56:11 AM UTC-4, TonyM wrote:


 All seemed to be working fine then lost ability to save all, also for 
 orignal tiddlywik in another tab.

 Restarted firefox and every thing seems to be working in both original and 
 new versions


For what it's worth, this has been happening for me occasionally as far 
back as TW 2.5.2.

I've never been able to nail down the exact circumstances or define a 
procedure that reliably replicates the error, but it tends to surface when 
I have multiple TiddlyWikis from different locations open in the same 
browser for long periods of time.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] fET in sidebar?

2013-05-06 Thread magev958
Hi, I'm trying to use the 'Pagewise' list all Tiddlers (10 Tiddlers per 
page, with page up/down buttons) -example in a tiddler in the sidebar. It 
works greate when I open the tiddler in the tiddlerDisplay-area, but in the 
sidebar the  go to next button does not work. IE 7 say the 
'context.viwerTiddler.title' is null or not an objekt?
How can I solve this?
 
 
http://tiddlywiki.abego-software.de/#%5B%5B'Pagewise'%20list%20all%20Tiddlers%20(10%20Tiddlers%20per%20page%2C%20with%20page%20up%2Fdown%20buttons)%5D%5D

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Assaulting CodeMirror, take 3: final success (and feedback)

2013-05-06 Thread Yakov
Hi Mario, hello others,

today I have successfully installed the CodeMirror package and I'd like to 
share my thoughts.

First, thanks Mario, that's a breakthrough. I like the idea to work within 
TW (although, in Android one still needs tools like console and html/css 
instectors).

Second, I must admit, it wasn't easy with current documentation and notes 
from previous attempts helped me. I'd suggest to create an installation 
section and list these steps there:

* copy/import codemirror.js, runmode.js, zCodeMirrorPlugin with their 
systemConfig tags
* edit EditTemplate by adding the div class='toolbar' 
macro='typeChooser'/div line (for instance after the div 
class='editor' macro='edit title'/div line)
* optionally edit ViewTemplate by adding (type: span macro='view 
content-type link'/span) in the div class='subtitle'... line, 
before the ending /div
* copy/import CMEditCommands with systemConfig tag, change ToolbarCommands 
by adding cmEdit to the ViewToolbar slice and cmSave to the EditToolbar 
slice, copy/import codemirror.css
* copy (and may be edit) CodeMirrorConfig
* add parts for different modes: css.js for CSS, tiddlywiki.js and 
tiddlywiki.css for TiddlyWiki syntax etc; overlay.js [here some 
instructions about when it's need may go]
* save and reload
* to get syntax highlightning in the cmEdit mode work, go to the 
edit/cmEdit mode and chose a content-type for the tiddler (for instance, 
text/css for a CSS tiddler)
* optionally install ExtraKeysAddOn and/or RenderBufferPlugin

Next, I've encountered several bugs which I'll list in the order of 
descreasing importance [all the plugins I used are of up-to-date versions; 
I haven't installed the two additional plugins]:

* for me, in both Opera and FireFox text selection in the cmEdit mode is 
invisible (that's rather disturbing for the workflow), but that happens 
only in my local TW, not in the TiddlySpace repository of CodeMirrorPlugins
** may be I installed something wrongly? looks like I took all the 
necessary tiddlers from [1]
* after content-type is chosen with typeChooser, the text area gets hidden. 
Saving and reopening the tiddler gets it back to visible and the 
content-type is saved, though
* when I press and hold the down button, sometimes the cursor doesn't go 
just down, but also jumps to the right
** I haven't succeed to make this totally reproducabe -- even for me in the 
same conditions it sometimes happens and sometimes doesn't. The only thing 
I can say is I that happened in a tiddler which consists totally of list 
items of different levels
* finally, nbsp; still appears next to the 1 in the line number colomn

Some wishes and then ideas:

* it would be much more convenient if the typeChooser is a toolbar command 
as well -- in this case it wouldn't be necessary to edit templates at all
* would be very nice if the Are you sure you want to abandon your changes 
prompt doesn't appear if no changes were applied. As for now it does in the 
zCodeMirrorPlugin even if it wasn't touched; and if any tiddler was touched 
but it led to no changes (say, pressed space and then backspace), the 
prompt appears as well
* an idea: to extend the x-tiddlywiki highlightning so that inner links and 
wikiwords are highlighted too (may be with blue, paler than that of 
external links)
* also, as for now I don't see any reason (aside developer's convenience) 
to keep all those separated tiddlers: for the ease of installation, it 
would be more useful to have at least zCodeMirrorPlugin, CMEditCommands 
merged and also codemirror.js, codemirror.css and runmode.js merged

Finally, thanks again for the plugin(s).

Best regards,
Yakov.

[1] http://codemirror.tiddlyspace.com/#tag:cmtw

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: fET in sidebar?

2013-05-06 Thread Yakov
Hi magev958,

this happens because the code inside the example uses 
story.refreshTiddler which tries to refresh a tiddler in which the 
buttons and the list are contained. As there's no tiddler, no refreshing 
happens.

What you need is to refresh the sidebar. In the code of each button, try to 
substitute

story.refreshTiddler(context.viewerTiddler.title,null,true);

lines with.. em.. probably

refreshElements(document.getElementById(sidebar));

Not 100% sure if it will work as I don't quite understand how the version 
with refreshTiddler works: forEachTiddler doesn't have any refresher in 
the Udo's version. You can also try my v1.2.0 from [1]. I haven't yet 
released it for the community as I haven't finished the documentation. 
Also, be aware that despite the fact that it seems to work for me even in 
TW 2.6.0 (which I don't understand why), its official CoreVersion 
requirement is 2.6.2 (or higher). Aside the introduced refresher, it also 
supports fet alias and a filter parameter to be used before the 
where one.

Best regards,
Yakov.

[1] 
http://yakovl.bplaced.net/TW/materials_for_discussions/ForEachTiddlerPlugin.txt

понедельник, 6 мая 2013 г., 19:12:17 UTC+4 пользователь magev958 написал:

 Hi, I'm trying to use the 'Pagewise' list all Tiddlers (10 Tiddlers per 
 page, with page up/down buttons) -example in a tiddler in the sidebar. It 
 works greate when I open the tiddler in the tiddlerDisplay-area, but in the 
 sidebar the  go to next button does not work. IE 7 say the 
 'context.viwerTiddler.title' is null or not an objekt?
 How can I solve this?
  
  

 http://tiddlywiki.abego-software.de/#%5B%5B'Pagewise'%20list%20all%20Tiddlers%20(10%20Tiddlers%20per%20page%2C%20with%20page%20up%2Fdown%20buttons)%5D%5D


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Assaulting CodeMirror, take 3: final success (and feedback)

2013-05-06 Thread PMario
Hi Yakov,
Thx for the detailed feedback. It's allways very welcome. 

On Monday, May 6, 2013 5:20:09 PM UTC+2, Yakov wrote:

 Second, I must admit, it wasn't easy with current documentation and notes 
 from previous attempts helped me. I'd suggest to create an installation 
 section and list these steps there:

There is a video for tiddlyspace that may help (for TS users) 
https://www.youtube.com/watch?v=J5tq5xv0FHU 
I think I'll have to add some links to the ..Info tiddler. 

* to get syntax highlightning in the cmEdit mode work, go to the 
 edit/cmEdit mode and chose a content-type for the tiddler (for instance, 
 text/css for a CSS tiddler)
 * optionally install ExtraKeysAddOn and/or RenderBufferPlugin

If you want to have block indent you'll need  ExtraKeysAddOn
RenderBufferPlugin is _not_ needed at all atm.

Next, I've encountered several bugs which I'll list in the order of 
 descreasing importance [all the plugins I used are of up-to-date versions; 
 I haven't installed the two additional plugins]:

 * for me, in both Opera and FireFox text selection in the cmEdit mode is 
 invisible (that's rather disturbing for the workflow), but that happens 
 only in my local TW, not in the TiddlySpace repository of CodeMirrorPlugins

** may be I installed something wrongly? looks like I took all the 
 necessary tiddlers from [1] 

I'll need to check this for vanilla file TW. 
I did some mini-mini-mini test with Opera / Win7 so need to have a look 
there too. Does Opera allready use the WebKit rendering libraries?

* after content-type is chosen with typeChooser, the text area gets hidden. 
 Saving and reopening the tiddler gets it back to visible and the 
 content-type is saved, though

Don't know about this behaviour. Need to check with a vanilla TW. 
 

 * when I press and hold the down button, sometimes the cursor doesn't go 
 just down, but also jumps to the right
 ** I haven't succeed to make this totally reproducabe -- even for me in 
 the same conditions it sometimes happens and sometimes doesn't. The only 
 thing I can say is I that happened in a tiddler which consists totally of 
 list items of different levels

This was a known error with the codemirror library I'm using. It should 
have been fixed there, but I can see it from time to time too. But for me 
it wasn't enough annoyance, to fix it :) I'll have a look. May be an update 
to the latest 2.x version will help. 
 

 * finally, nbsp; still appears next to the 1 in the line number colomn

From where did you import your plugins. codemirror-plugins.tiddlyspace.com?
This one should be deffinitely gone. Which file TW version do you use?
 

 Some wishes and then ideas:

 * it would be much more convenient if the typeChooser is a toolbar command 
 as well -- in this case it wouldn't be necessary to edit templates at all

Good idea. Need to check if that's possible.
 

 * would be very nice if the Are you sure you want to abandon your 
 changes prompt doesn't appear if no changes were applied. As for now it 
 does in the zCodeMirrorPlugin even if it wasn't touched; and if any tiddler 
 was touched but it led to no changes (say, pressed space and then 
 backspace), the prompt appears as well

The codemirror library, doesn't keep track of changes in a way, that you 
know if something was really changed. As soon as any key is pressed I 
need to invalidate the TW core editor/buffer, otherwise the core refresh 
and cancel handling bites me. There is probably no easy way to fix this 
(but I need to have a look at the latest cm library documentation)

* an idea: to extend the x-tiddlywiki highlightning so that inner links and 
 wikiwords are highlighted too (may be with blue, paler than that of 
 external links)

what do you mean with inner links ... [[ and ]]  are highlighted. The 
text in between, is not. 
hmm. ... WikiWords we'll see

* also, as for now I don't see any reason (aside developer's convenience) 
 to keep all those separated tiddlers: for the ease of installation, it 
 would be more useful to have at least zCodeMirrorPlugin, CMEditCommands 
 merged and also codemirror.js, codemirror.css and runmode.js merged

It was intended, to be used with the tiddlyspace include mechanism, so 
several tiddlers are no problem here. I could update the build process. 

Finally, thanks again for the plugin(s).

you are welcome 

issues can be posted here too: 
https://github.com/pmario/tw.CodeMirrorPlugin/issues


have fun!
mario
PS: Please be patient, because I'll have to update the build process to 
use TW5 builds TW2 first. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Transcluded Sections do not get refreshed

2013-05-06 Thread Stephan Hradek
There is an issue at: 

 https://github.com/TiddlyWiki/tiddlywiki/issues/123
 -m

 Yes, I know, but no one reacted.

And the solution/bugfix was already provided. The refresh kicks in, but 
can't find my transcluded section as the section has a wrapper with an 
attribute tiddler=TiddlerTitle##Section. But the refresh handler comparse 
this attribute with just the title. So it's necessary to cut off the 
section, which my bugfix does. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [tw] Re: TW and (Alex Gorbatchev's) SyntaxHighlighter

2013-05-06 Thread carlos duarte
by any chance do you know how to wrap a transcluded tiddler in code?
let's say i have a tiddler that contains a bash script (non-syntax
highlighted), and then i want to transclude it somewhere else, but i want
the transclusion to be syntax highlighted... how do i do that?

thanks!

-carlos


On Sat, May 4, 2013 at 4:54 AM, PMario pmari...@gmail.com wrote:

 Hi Carlos,
 Nice you found the issue.

 If you need syntax highlighting in edit mode too. codemirror may be an
 option. http://codemirror.tiddlyspace.com/
 There is also a video, how to activate the stuff:
 https://www.youtube.com/watch?v=J5tq5xv0FHU

 have fun!
 mario

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/PhwQzroWz4Q/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Transcluded Sections do not get refreshed

2013-05-06 Thread PMario
Hi Stephan,
It seems you are digging into TiddlyWiki, which is a good thing. It seems 
you can read the plugin code and find bugs, which is a good thing. ... keep 
on going. 

On Monday, May 6, 2013 8:15:52 PM UTC+2, Stephan Hradek wrote:

 There is an issue at: 

 https://github.com/TiddlyWiki/tiddlywiki/issues/123
 -m

 Yes, I know, but no one reacted.


I think, this 
(https://groups.google.com/forum/?hl=defromgroups=#!topic/tiddlywiki/Nm0DhKdVmqQ)
 
was the first post I saw.  
cool I'm no one :)

And the solution/bugfix was already provided. The refresh kicks in, but 
 can't find my transcluded section as the section has a wrapper with an 
 attribute tiddler=TiddlerTitle##Section. But the refresh handler comparse 
 this attribute with just the title. So it's necessary to cut off the 
 section, which my bugfix does. 


I did see your second post which contains

 .. This, of course, only works for sections transcluded using tiddler 
not those transcluded wikify

I did reply with some info's. They are probably wrong or don't work but my 
reply is the last one. 



Some thoughts.

If you want, that someone digs deeper into a problem (even if it is a bug), 
a minimal testcase will help a lot. eg: I know, where to find wikify 
and editSections plugin, but it needs time to create a testcase. If 
there is no test TiddlyWiki, that demonstrates the problem and if I'm not 
in the mood to build one on my own, I try to give a hint. Hint's typically 
need a minute of my time. 

IMO the easiest way to create at TW related testcase atm is with 
TiddlySpace [1]. 

-m

[1] http://tiddlyspace.com

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [tw] Re: TW and (Alex Gorbatchev's) SyntaxHighlighter

2013-05-06 Thread PMario
On Monday, May 6, 2013 10:19:56 PM UTC+2, carlos duarte wrote:

 by any chance do you know how to wrap a transcluded tiddler in code? 
 let's say i have a tiddler that contains a bash script (non-syntax 
 highlighted), and then i want to transclude it somewhere else, but i want 
 the transclusion to be syntax highlighted... how do i do that?


I think there is no simple way to achieve that, because transcluding 
tiddler text without {{{}}} will transform line breaks to br elements. 

so if you have

[mario:~] $ cd 
[mario:~] $ ls -a

it will be highlighted like that
[mario:~] $ cdbr[mario:~] $ ls -a

see the br element


Is there a problem, if you have a tiddler eg: myScript that contains: 

code class=brush:bash
[mario:~] $ cd 
[mario:~] $ ls -a
/code

or

{{{
[mario:~] $ cd 
[mario:~] $ ls -a
}}}


if you transclude tiddler myScript you'll get a syntax highglighted 
version 


For the second version you'll need create a tiddler named: zzConfig tagged 
systemConfig
that contains 

config.options.chkGuessSyntax = true;
config.options.chkExpertSyntax = true;

config.options.txtShText = 'brush:bash';

-

but I think there is no way around the {{{}}} or //{{{ //}}} 

see: http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info 
for more info.

have fun!
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Feature request for TW5

2013-05-06 Thread Daniel
Remindermacros is very useful since you can associate a date with a tiddler. I 
like the way you can set several reminders, as many as you like in one tiddler. 
They can have any title you choose and it is simple to customise lists of 
reminders. The plugin is at 
http://remindermacros.tiddlyspot.com/

I'd really like to have this feature in TW5 either out of the box or as a 
module.

TW5 looks very promising.
Daniel

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [tw] Re: TW and (Alex Gorbatchev's) SyntaxHighlighter

2013-05-06 Thread PMario
I think you have a valid usecase, so I'll create an add on.
-m

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Assaulting CodeMirror, take 3: final success (and feedback)

2013-05-06 Thread Yakov

понедельник, 6 мая 2013 г., 21:27:59 UTC+4 пользователь PMario написал:

 Hi Yakov,
 Thx for the detailed feedback. It's allways very welcome. 

 On Monday, May 6, 2013 5:20:09 PM UTC+2, Yakov wrote:

 Second, I must admit, it wasn't easy with current documentation and notes 
 from previous attempts helped me. I'd suggest to create an installation 
 section and list these steps there:

 There is a video for tiddlyspace that may help (for TS users) 
 https://www.youtube.com/watch?v=J5tq5xv0FHU 
 I think I'll have to add some links to the ..Info tiddler. 

 My point is, it would be useful, if there were *all* the steps at one 
place, as separately all of them appear in the repository, most at least 
twice..
 


 If you want to have block indent you'll need  ExtraKeysAddOn

 Ok, I see, I'll take this into account. 


 Next, I've encountered several bugs which I'll list in the order of 
 descreasing importance [all the plugins I used are of up-to-date versions; 
 I haven't installed the two additional plugins]:

 * for me, in both Opera and FireFox text selection in the cmEdit mode is 
 invisible (that's rather disturbing for the workflow), but that happens 
 only in my local TW, not in the TiddlySpace repository of CodeMirrorPlugins

 ** may be I installed something wrongly? looks like I took all the 
 necessary tiddlers from [1] 

 I'll need to check this for vanilla file TW. 
 I did some mini-mini-mini test with Opera / Win7 so need to have a look 
 there too. Does Opera allready use the WebKit rendering libraries?

 I think no. They declared their intention, but I think if they changed 
Presto to WebKit, they would surely write that in the changelog, and that 
haven't happened yet.
 

 * after content-type is chosen with typeChooser, the text area gets 
 hidden. Saving and reopening the tiddler gets it back to visible and the 
 content-type is saved, though

 Don't know about this behaviour. Need to check with a vanilla TW. 
  

 * when I press and hold the down button, sometimes the cursor doesn't 
 go just down, but also jumps to the right
 ** I haven't succeed to make this totally reproducabe -- even for me in 
 the same conditions it sometimes happens and sometimes doesn't. The only 
 thing I can say is I that happened in a tiddler which consists totally of 
 list items of different levels

 This was a known error with the codemirror library I'm using. It should 
 have been fixed there, but I can see it from time to time too. But for me 
 it wasn't enough annoyance, to fix it :) I'll have a look. May be an update 
 to the latest 2.x version will help. 

Yeap, that's a minor bug, I mentioned it because I've noticed that, don't 
expect that will annoy much.
 

  

 * finally, nbsp; still appears next to the 1 in the line number 
 colomn

 From where did you import your plugins. codemirror-plugins.tiddlyspace.com
 ?
 This one should be deffinitely gone. Which file TW version do you use?
  

I took the plugins from http://codemirror.tiddlyspace.com/. (by the way, in 
the HelloWorld there's a wrong link to 
http://codemirror-plugin.tiddlyspace.com/, in the Info section). I took a 
look at the codemirror-plugins space, but no plugins are listed in the 
timeline because of the excludeLists so I haven't found them. Anyway, 
zCodeMirrorPlugin has the same 0.2.8 version as in the codemirror space and 
so CMEditCommands does (0.1.3). Other tiddlers don't contain any Version 
slices. Are they different in the two repositories?
 

 Some wishes and then ideas:

 * it would be much more convenient if the typeChooser is a toolbar 
 command as well -- in this case it wouldn't be necessary to edit templates 
 at all

 Good idea. Need to check if that's possible.
  

 * would be very nice if the Are you sure you want to abandon your 
 changes prompt doesn't appear if no changes were applied. As for now it 
 does in the zCodeMirrorPlugin even if it wasn't touched; and if any tiddler 
 was touched but it led to no changes (say, pressed space and then 
 backspace), the prompt appears as well

 The codemirror library, doesn't keep track of changes in a way, that you 
 know if something was really changed. As soon as any key is pressed I 
 need to invalidate the TW core editor/buffer, otherwise the core refresh 
 and cancel handling bites me. There is probably no easy way to fix this 
 (but I need to have a look at the latest cm library documentation)

 First, let me notice that the issue regarding zCodeMirrorPlugin doesn't 
have to do with those problems. Other than that, I see. Just write if you 
get any new about this. 

There are two more questions about how much is it possible to interact 
with the plugin?:
* first, if it's possible to create autoindent, is it possible to create 
autocomplete/autoreplace as well? (autoreplace can be particularly useful 
with html entities and some math notations) 
* second, is it possible to add classes styling of which will be applied in 
the edit mode as well? What I mean:

.red { 

Re: [tw] Re: TW and (Alex Gorbatchev's) SyntaxHighlighter

2013-05-06 Thread PMario
Have a look at:

http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info

section: Macro highlightTiddlerText

have fun!
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: A View Mode Editor and a simple Calcualtor

2013-05-06 Thread Vincent Yeh
Ton,

Thanks for the MTC file. It helped me realize how the font-size issue came 
up. It was caused by some test codes that I tried randomly when I had no 
idea what caused the position shift in TiddlySpace. I did those tests quite 
a while ago and forgot to remove them after fixing the positioning issue 
with your help. After removing them this font-size issue seems gone. It 
will be in the next release. Thanks again.

By the way, v1.6.4 is quite buggy as I had found and fixed some of them 
yesterday. It is so because I am still midway to separate large table 
support. I would suggest to stay with 1.6.3 for now if it worked out for 
you.

Have fun!
Vincent

On Monday, May 6, 2013 8:26:50 PM UTC+8, TonG wrote:

 Hi Vincent,

 An update about not being able to edit the title of a tiddler in my main 
 TW:
 1) I found the size of the font is important. I can edit the title for a 
 font-size up to and including 1.98em. From 1.99em upwards it is not 
 possible anymore (TWtid/TWtedv1.63).
 2) In my main TW I use a modified ViewTemplate with divs for classes 
 tagging, tagged and tagClear between divs toolbar and title. But with a 
 default ViewTemplate the problem stays.
 3) In a MTC with TWtid and TWted v1.63 I can edit the title even with a 
 font-size of 10em!
 4) With TWtid/TWted v1.64 in my main TW I can edit the title for a 
 font-size up to and including 2.54em. From 2.55em upwards it is not 
 possible anymore.
 No idea why.
 I made a MTC with topmenus. modified ViewTemplate and with TWtid/TWted 
 v1.64 [1] which has the title problem: I can edit the title for a 
 font-size up to and including 2.54em. From 2.55em upwards it is not 
 possible anymore.
 The font-size for the title is at the top of the StyleSheet.

 N.B. With plugins v1.64 there is no shift in an old unmodified main TW 
 (#displayArea, .tiddler as was in the past), so your solution for the 
 positioning issue works.

 Cheers,

 Ton

 [1] 
 https://dl.dropboxusercontent.com/u/2638511/MTC_TW_271_TWed_164_topmenu.html


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Transcluded Sections do not get refreshed

2013-05-06 Thread Stephan Hradek
Moin!

Am Montag, 6. Mai 2013 22:35:34 UTC+2 schrieb PMario:


 Yes, I know, but no one reacted.

 I think, this (
 https://groups.google.com/forum/?hl=defromgroups=#!topic/tiddlywiki/Nm0DhKdVmqQ)
  
 was the first post I saw.  
 cool I'm no one :)


At the time of my posting there was no reaction.
 

  .. This, of course, only works for sections transcluded using 
 tiddler not those transcluded wikify

 I did reply with some info's. They are probably wrong or don't work but my 
 reply is the last one. 


Ups... Sorry... missed that.
 

 Some thoughts.

 If you want, that someone digs deeper into a problem (even if it is a 
 bug), a minimal testcase will help a lot.


I posted that on github, but didn't notice I made a mistake and it was 
eaten by the software.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Announcing TiddlyWiki version 2.7.2 BETA 1

2013-05-06 Thread TonyM
Thanks for the observation Scott.

It may have something todo with my continuing problem where FF abends on 
save of my tiddlywiki (TiddlyWiki forced to 0 Bytes in size) after being 
open for some time. I loose to much when this happens so I am restarting FF 
3 + times a day to avoid it.

Experienced in Multiple FF versions, tiddlyFox and tiddlywiki versions.

Tony M

On Monday, 6 May 2013 23:45:46 UTC+10, Scott Simmons wrote:

 On Monday, May 6, 2013 1:56:11 AM UTC-4, TonyM wrote:


 All seemed to be working fine then lost ability to save all, also for 
 orignal tiddlywik in another tab.

 Restarted firefox and every thing seems to be working in both original 
 and new versions


 For what it's worth, this has been happening for me occasionally as far 
 back as TW 2.5.2.

 I've never been able to nail down the exact circumstances or define a 
 procedure that reliably replicates the error, but it tends to surface when 
 I have multiple TiddlyWikis from different locations open in the same 
 browser for long periods of time.


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.