Hi Arc, Thanks for your feedback. On Thursday, June 6, 2013 2:55:50 AM UTC+2, Arc Acorn wrote: > > With the recent talk on the board about the CodeMirrorPlugin I decided to > check it out, and was pretty interested in it until I noticed that the > QuickEditToolbar doesn't work with it...
The codemirror library doesn't (visibly) use the browser text input area. It needs to create it's own "highlighting editor". The "default text area" is only used when you open / save the tiddler. (cm even does its own keyboard handling) QuickEditToolbar deals with the default text area to extend the editor functions. It would be needed, to create a whole new set of QuickEdit buttons, that are aware of the CodeMirror editor. CM library has some built in functions to copy/paste/insert/remove/search/replace text from the cm editor. > As much as I like the line numbering, and in editor highlighting and well > I didn't get to getting extra addons to work the code hinting and folding The codemirror addons are built to be used with a cm-editor included into html pages. TW is an application, where you have the possibility to open several editors at the same time with different mime types. eg. TiddlyWiki text and StyleSheet CSS ... So most cm-addons will need a wrapper to play nice with TW. I also think, that code hinting / folding would be cool with the CodeMirror Version 3.0. But those tools available with 2.38 are kind of uncool. So I didn't implement them. (There is great potential here. But it needs a lot of work :) Especially the new 3.0 "variable line height" mode [1] would be nice to have. It would be able to create a WYSIWYGish type of "tiddlywiki syntax highlighting" editor. > I'm sure would be really nice; The QuickEditToolbar is simply to big of a > loss for me since I have spent quite a lot of time building up a rather > vast array of custom presets for it and it saves me a stunning amounts of > typing. As I started to implement the cm-editor (Aug. 2011), I thought I'd implement some type of cm-toolbar. But since I know the TW syntax quite well, I don't need it. So I didn't implement it. The only thing I still miss is a propper search / replace plugin for CM. have fun! -mario [1] http://codemirror.net/demo/variableheight.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 [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.

