Ciao PMario I do see the complexity.
I am interested in ... (a) whether it is even possible and ... (b) ... what could be a first step towards it? Anything that can improve showing define and macro logic is a winner. HTML I'm less bothered about. I wonder if we could just start on it now and add subtlety later? I guess I find it odd we can do css and javascript but not, right now, our own "language" in CodeMirror. Josiah On Monday, 4 February 2019 15:22:41 UTC+1, PMario wrote: > > Hi Josiah, > > I did create a TWclassic CM highlighter. ... BUT the possibilities with > TW5 are much bigger. > > The new highlighter, will need to check for HTML, widgets, macros and > wiki-text. So it will be a "mixed-mode" highlighter. This doesn't make it > complicated, but a hell lot more work. ... (and more sophisticated ;) > > At the moment there is some work going on to create a CM-rewrite see: > CodeMirror 6 [1] ... which is in early alpha. > > As I wrote in a different thread. I don't think, it makes much sense to > create a TW5 highlighter/editor with CM5. I think, it should be done with > the upcoming CM6, once they did define, how the new highlighter logic > should work. > > just some thoughts > Mario > > [1] https://codemirror.net/6/ > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c025e28-e38b-495e-8cd6-f2614fa18a44%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.