On Thursday, June 6, 2013 1:55:04 AM UTC+2, Yakov wrote:
>
> By the way, would you mind, to improve the workflow of using 
> codemirror-plugins space
> * add the "close" button in the main part of the toolbar (not in the 
> "more" part of it)
>

I wouldn't mind, but the ToolbarCommands tiddler that you mention, is part 
of the http://tiddlyspace.tiddlyspace.com/ space, which is a "system" space.

This ToolbarCommands looks like this:

ViewToolbar: +editTiddler +cloneTiddler > fields ... closeOthers < 
closeTiddler

So it should work as expected. I did have _very short_ look at the source. 
The code to handle the "more ..>" and "less .. <" commands is there. So it 
may be a "system" bug. I'll have a closer look and file an issue at github 
if needed. There is a second issue with ToolbarCommands too. 
 

> * add the Version slices to the CodeMirror .js tiddlers, because I can't 
> see any other chance to find updated tiddlers other than go to [1] and then 
> search for "June 2013" among those tiddlers (by the way, I didn't get why 
> [2] doesn't work to sort those tiddlers)
>
If you paste this:

CodeMirror.version

into your dev console, you'll find the CodeMirror version. 
CodeMirror addons don't have any version info. Those guys think they don't 
need them. 

Does your StyleSheetCodeMirror tiddler look like this? and
>> Are your css tiddlers named exactly the way used below?
>>
>> Yes, both is true (in the new version one more line line-height: 1.1em;was 
>> added).
>

That was me. codemirror.css has changed a bit, so the default seemd to be 
to small. 
 

By the way, a couple of new suggestions:
>
:)
 

> * include "|" bars into the PrettyLink highlightning (so not only the "[" 
> and "]" brackets are highlightened)
>
You are right, this would make sense. I'll have a look. 
 

> ** (add this to the previous suggestion to highlight inner "targets" of 
> prettyLinks and WikiWords)
>
That would makes sense too. ... I did skip wiki word detection, because I 
couldn't figure it out, as I created the cm highlighter :) 
 

> * make font-family: arial,helvetica in the tiddlywiki.css (default for 
> TW; this is arguable, but I feel like it's more appropriate to show 
> ordinary tw-text as ordinary text, not as code)
>
As you wrote "this is arguable". What ever I do here, it is wrong. So I 
initialized it, the way I like it :) 
There is a shadow tiddler "StyleSheetCodeMirror" that is there for this 
reason. adjust this one. 

** sure, I can customize tiddlywiki.css myself
>
You should _not_ mess with tiddlywiki.css for compatibility reasons. It 
comes from codemirror.net. use StyleSheetCodeMirror

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


Reply via email to