well this is what some of the old code looks like:
Regex oReg = new Regex("([\’][\)\(\s\w_\\?,.\+\-\$@½=:%#<>&/\\][\’])|" +
// 1 Literal Text “([”][\)\(\s\w_\\?,.\+\-\$@½h=:%#<>&/\\]["])|"
Sure, but adding a declaration for a new regexp variable to a mode doesn’t do anything. What I’m asking is how you are using the regexp.
Sorry I just went over everything with my boss and what i said originally didn’t make sense. So what they want is to take a mode that is similar to the one we used to use for our old program and turn it into a new mode for our own language.
Also just a silly question but how do you test whatever you put inside code mirror. I placed “console.log(//.test(“in 1992”));” inside code mirror assuming it would pop up with true or false in the browser console but no such luck
You seem somewhat confused about that CodeMirror is. I think it would help to start by reading the manual (it’s an editor, and only an editor).
To be honest I’m confused but not about codemirror specifically but what my boss wants me to do with it. To my understanding the older version of the program I’m working on used to have a editor where the user could type in some information that would be added to a table or create the table on that page and that tables information could be used for other things. Is codemirror able to help me with that? Also i read the manual before but ill go through it again and see if i missed something.