[tw5] Re: Codemirror plugin questions

2018-04-29 Thread Mat
Simon and Mario - big thanks for clarifications! The current implementation has no idea about TW-titles. ... We would need > an eg: "title-hint.js" function. > Seems like a most common use case. There's a limited set of titles and easily findable. Could maybe even have all titles in a hash

[tw5] Re: Codemirror plugin questions

2018-04-29 Thread PMario
On Sunday, April 29, 2018 at 5:20:55 PM UTC+2, Mat wrote: > > I note that if I create a new tiddler, named *New Tiddler* and, in > another tiddler, type [[ I automatically get also the closing brackets > [[]] (and cursor conveniently placed in between) > That's because of the "-closebrackets"

[tw5] Re: Codemirror plugin questions

2018-04-29 Thread PMario
On Sunday, April 29, 2018 at 6:00:33 PM UTC+2, BurningTreeC wrote: > > try writing "Lo" in the Lorem ipsum tiddler, then hit Ctrl+Space > Type needs to be "text/vnd.tiddlywiki" to get the "in tiddler" auto-complete. -m -- You received this message because you are subscribed to the Google

[tw5] Re: Codemirror plugin questions

2018-04-29 Thread BurningTreeC
@Mat in the lorem ipsum tiddler there's no "Hello" and no "There" - that's because you don't get the autocompletion. It's not global, only per tiddler and there only per text field. It may be possible (with help) to extend that autocomplete function, therefor one would have to look deeper

[tw5] Re: Codemirror plugin questions

2018-04-29 Thread Mat
Thanks Simon but looking at the Codemirror demo (which is exactly what I did before) where the autocompletion plugin seems to be installed, I still don't get how to make it work. If I type "Hel" in the LoremIpsum tiddler... how do I get it to autocomplete into "HelloThere"? Clicking Ctrl+Space

[tw5] Re: Codemirror plugin questions

2018-04-29 Thread BurningTreeC
Hi Mat, if the autocompletion plugin is installed, you can autocomplete with Ctrl+Space in normal tiddlers it autocompletes text that is already in the "buffer" - that means, text that's already in the tiddler text field you'll get a dropdown to select from if there are more possible