On 17 July 2013 19:21, Anoop Nayak <[email protected]> wrote: > Hi devs, > > Just want your opinion. Can I fork out a version of codemirror to implement > the live syntax highlighting? >
I haven't had time to look into this a great deal yet, but yes - at least the license is compatible. It may be too big a tool for the minimum required to build here. I'm hoping for opinions from others here. Cheers, Joe > > Joe, Brane, > > Please do pour in your suggestions. And also I need help setting up the > timeline. > > > On Tue, Jul 16, 2013 at 12:00 AM, Anoop Nayak <[email protected]> > wrote: > > > Thanks Joe. I am actually figuring out the possible solutions and that > was > > why I was asking regarding usage of frameworks and stuff. Regarding the > > example, I just tried now and got it to work. I just entered ' **Hello** > ' > > as the input and got *Hello* in the div. Should I use something like a > > mix of CodeMirror <http://codemirror.net/mode/markdown/index.html>. The > > link just shows up syntax highlighting. Can that be modified to show the > > output in the overlay div instead of the syntax highlighting? Please do > > comment on. > > > > > > > > On Mon, Jul 15, 2013 at 10:47 PM, Joachim Dreimann < > > [email protected]> wrote: > > > >> On 15 July 2013 15:38, Olemis Lang <[email protected]> wrote: > >> > >> > On 7/15/13, Anoop Nayak <[email protected]> wrote: > >> > > Hi Olemis, > >> > > > >> > > >> > :) > >> > > >> > >> The real question I make to myself is, in these kinds of editors > >> > >> where's the model ? Or is it that you'd just use client-side > >> > >> templating ? > >> > > > >> > > Ya I just wanted to use a framework to provide a structure. As of > now > >> > there > >> > > aren't any models. Since I was learning angularjs I just quoted it > >> :). I > >> > > might only be using the client side. I intially thought of making > the > >> > > editor into an app and it does the rest of the job. I don't know how > >> the > >> > > situation might be. And can you suggest some approaches on solving > >> this? > >> > > >> > Right now I do not recall . > >> > > >> > > I > >> > > have to submit my proposal at the earliest :) with a well written > >> > timeline. > >> > > > >> > >> If the later case is the target then **ideally** I'd rather use a > >> > >> solution supporting Genshi templates so that it will be possible to > >> > >> reuse existing and have a consistent style in server and client > code. > >> > >> In the mean time there's a patch proposed in #195 based on > Blueimp's > >> > >> js templates engine. However it's not a straitjacket due to the > fact > >> > >> that jQuery-File-Upload may be customized to use custom JS template > >> > >> engines (if there's a good reason to do so ;). > >> > > > >> > > I didn't quite get you here. Did you mean to use some stuff like > >> > genshi2js? > >> > > Or another library which can go hand in hand with genshi templates? > >> > > > >> > > >> > That would be the **ideal** approach (and that's IMO) in order to > >> > reuse Genshi templates in the client-side and write them just once. > >> > Otherwise UI templates have to be written at least twice . > >> > > >> > [...] > >> > > >> > -- > >> > Regards, > >> > > >> > Olemis. > >> > > >> > >> Some other feedback about your proposal: > >> > >> All of your Abstract described Apache Bloodhound, only the last sentence > >> describes what you intend to do. > >> > >> I'm not overly familiar with the specific requirements for the proposal, > >> but I would suggest that you condense all the 'About Bloodhound' stuff > to > >> one sentence and expand what you will actually do in the abstract to the > >> length of a paragraph. > >> > >> You also link to an example, but I can't get it to work: > >> http://jsfiddle.net/anoopknayak/r8KY9/ > >> > >> I assume your example replaces * with <b> and </b> to strings that are > >> surrounded by * and *. > >> > >> Cheers, > >> Joe > >> > >> -- > >> Joachim Dreimann | *User Experience Manager* > >> > >> WANdisco // *Non-Stop Data* > >> > >> e. [email protected] > >> twitter @jdreimann <https://twitter.com/jdreimann> > >> > > > > > > > > -- > > Anoop > > > > > > -- > Anoop > -- Joachim Dreimann | *User Experience Manager* WANdisco // *Non-Stop Data* e. [email protected] twitter @jdreimann <https://twitter.com/jdreimann>
