Hi Jeremy, What's not to love about bracket matching, automatic bracket closing, and syntax highlighting within the TiddlyWiki editor? I'm so looking forward to getting this working properly, it will be a nice change from the drab text I'm faced with at the moment when editing a tiddler.
I'm not putting my hand up to bring the plugin up to spec, as I'm sure that will require someone who has Javascript experience. However, I'm happy to be a tester for it. Hegart. On Sunday, 21 February 2016 11:32:33 UTC+13, Jeremy Ruston wrote: > > The CodeMirror plugin is quite unloved and out of date. Please shout if > anyone is interested in taking on lead developer for it. Failing that, > updates to the docs would be very welcome, > > Best wishes > > Jeremy > > On 19 Feb 2016, at 22:46, BJ <[email protected] <javascript:>> wrote: > > oops l Meant to say auto-matching - its getting late... > > On 19 February 2016 at 22:04, Hegart Dmishiv <[email protected] > <javascript:>> wrote: > >> As I say above, the bracket *matching* is working fine, but not the >> bracket *auto-closing*. Thanks for looking into this, BJ. >> >> Hegart. >> >> >> >> On Saturday, 20 February 2016 11:02:16 UTC+13, BJ wrote: >>> >>> I would guess that the version of codemirror in the tiddlywiki extension >>> is not the same as is on the codemirror site. - I have had a quick look at >>> the code and cannot see a version number! - it has been in the tw repo on >>> git hub for a couple of year.... >>> >>> I guess we will have to live without bracket matching at this time. It >>> needs to be raised as an issue. >>> >>> On Friday, February 19, 2016 at 9:24:40 PM UTC, Hegart Dmishiv wrote: >>>> >>>> Hi BJ, >>>> >>>> I've gotten the *Basic working configuration* to work, with bracket >>>> matching >>>> <https://dl.dropboxusercontent.com/s/y5yubous01eyifc/HegartDmishiv-on-DesignWrite.html>, >>>> >>>> but I can't get *Add closing brackets* to work. It comes up with a red >>>> Javascript error every time I use it. There must be a simpler way to use >>>> this thing, rather than having to add bits and pieces of raw Javascript >>>> code to my TiddlyWiki to make it work? Has someone got a working >>>> configuration that I can just pull into my TW instance, to get the bracket >>>> closing and WikiText syntax highlighting to work? >>>> >>>> Hegart. >>>> >>>> >>>> On Saturday, 20 February 2016 06:30:12 UTC+13, Hegart Dmishiv wrote: >>>>> >>>>> Aha! Thanks for that BJ. I was wondering what was going on. The >>>>> instructions >>>>> <http://tiddlywiki.com/plugins/tiddlywiki/codemirror/#HelloThere> for >>>>> this only say: >>>>> >>>>> "To add the plugin to your own TiddlyWiki5, *just drag this link to >>>>> the browser window*" >>>>> >>>>> Nothing about having to configure it. I'm going through the >>>>> configuration process now. The documentation for this definitely needs to >>>>> be better, not the internal documentation that you pointed me to, but the >>>>> fact that there even is internal documentation, and configuration >>>>> required, >>>>> needs to be pointed out for us n00bs! >>>>> >>>>> Hegart. >>>>> >>>>> >>>>> >>>>> On Saturday, 20 February 2016 05:39:48 UTC+13, BJ wrote: >>>>>> >>>>>> Hi Hegart, >>>>>> you need to look at the tiddler >>>>>> $:/plugins/tiddlywiki/codemirror/usage to see how to setup using a >>>>>> config >>>>>> tiddler ($:/config/CodeMirror) >>>>>> all the best >>>>>> BJ >>>>>> >>>>>> On Tuesday, February 16, 2016 at 2:32:47 AM UTC, Hegart Dmishiv wrote: >>>>>>> >>>>>>> I have two {{DesignWrite}} TW5 instances[1 >>>>>>> <https://dl.dropboxusercontent.com/s/y5yubous01eyifc/HegartDmishiv-on-DesignWrite.html#%24%3A%2FControlPanel> >>>>>>> ][2 >>>>>>> <https://dl.dropboxusercontent.com/s/wco3fcvaj1mweqt/inclusivity.html#%24%3A%2FControlPanel> >>>>>>> ] and my offline TW5 instance, all of which have the CodeMirror >>>>>>> <http://tiddlywiki.com/#CodeMirror%20Plugin> and the Highlight.js >>>>>>> <http://tiddlywiki.com/#Highlight%20Plugin> plugins installed. None >>>>>>> of my TW instances have syntax highlighting working when I edit a >>>>>>> tiddler. >>>>>>> I can't even see syntax highlighting on the plugin demo site >>>>>>> <http://tiddlywiki.com/plugins/tiddlywiki/codemirror/>. I've tried >>>>>>> it from both Firefox v44.0 and Midori <http://midori-browser.org/> web >>>>>>> browsers. I'm running Lubuntu <http://lubuntu.net/> v14.04 LTS as >>>>>>> my operating system. Is there something else I need to enable in order >>>>>>> to >>>>>>> get syntax highlighting to work properly? >>>>>>> >>>>>> >> -- >> 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/pi4TbvjRplM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/ad38cee1-13d2-427b-80a9-6c7a37ad5bf7%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/ad38cee1-13d2-427b-80a9-6c7a37ad5bf7%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > 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/CAJxZ06QtHVRyY13q54P37k8md%3DPgkS%2BFYa6g6eRrYFi01m-pZw%40mail.gmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/CAJxZ06QtHVRyY13q54P37k8md%3DPgkS%2BFYa6g6eRrYFi01m-pZw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d0f2b35a-e182-4b65-b2cd-222bbfbaccfc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

