On Sunday, September 14, 2014 4:53:16 PM UTC+2, Yakov wrote:
>
> Hi Mario,
>
> I see your point. I use CodeMirror locally, that's why I'm talking about 
> complicated installation,
>

I see your point too :)
 

> for TiddlySpace what you are describing should be nice (still, aside 
> including, your version requires changing EditTemplate and 
> ToolbarCommands). In fact, what documentation is missing (to my taste) is a 
> simple how-to-install sequence.
>

CodeMirrorPluginInfo Documentation section describes those steps. There is 
no HowTo label, but imo Documentation is as clear as HowTo. But if users 
don't read Documentation, they don't read the HowTo. 
 

> If you think it's a good idea, I can establish a separate repository and 
> put there codemirror.js v3.18 and other compatible stuff (may be try to 
> update it at least to the latest 3.x), 
>

You can name your repos codemirror-3 and codemirror-3-plugins ... I'll link 
them when you are done. Do you have github repos too?

I did create a highly automated workflow at: 
https://github.com/pmario/tw.CodeMirrorPlugin ... but it needed a ruby 
environment, which I don't know well. 
So messing around with the dependencies was a pain. And since I'm happy 
with my 2.x setup I didn't rebuild the stuff with TW5 node environment with 
javascript. 
TW5 is able to build a TWclassic version and TWc plugins. ... But still a 
fair amount of work needed :/

add my tweaks and cook one plugin (using CookTiddlerPlugin) which is to be 
> supplemented only by tiddlers like tiddlywiki.js and tiddlywiki.css. 
>
 

> I think CodeMirror is nice stuff for TiddlyWiki markup itself, only it 
> needs some tweaking of the search options, displaying a newly created 
> tiddler and also it would be nice to combine QuickEdit and AutoSuggest with 
> it.
>

You are right. If you write a lot of TW markup, and you are new to TW, it's 
nice. But I don't need TW markup highlighting anymore, if I'm using an 
external editor. What would be nice, is a tiddler title autocomplete, or a 
macro parameter autocomplete .... For TW5 the preview mode good enough for 
me at the moment. ....

...  I did create the cm- plugins to get a javascript environment to 
develop TWc plugins. I did all my plugin editing with TWc as the js editor 
and FireBug as the debugger. I didn't find any good external editors. I did 
use gedit and Geany... But as Brackets was released I switched and staid 
with it. It works with several OSes and it uses codemirror as its editor. 
It has jshint ... There may be  a chance that we get TW syntax highlighting 
as a Brackets / TW5 plugin in the future :)

I still like the tw- codemirror project very much but I don't feel enough 
pain to invest the time to rewrite it using the latest codemirror.net 
version. ... They are moving with an incredible pace. So keeping up will be 
it's own challenge :)

-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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to