How can i set CodeMirror to keep the tabs equal as the original line?
So the 2nd $("#chat1")
would have the same tab amount as the line it is part of(the first $("#chat1")
)
How can i set CodeMirror to keep the tabs equal as the original line?
So the 2nd $("#chat1")
would have the same tab amount as the line it is part of(the first $("#chat1")
)
Hi, do you happen to know the way cm6 does? Trying to do the same tab thing like yours based on cm6
Not really, have took a quick peek for you and my guess is that you need: lineIndent
How I solved my problem, check for a demo that has the desired function and then check the source code.
Thanks!!! I’ll take a look at it, hope I’ll solve it soon.