You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On pressing end button in a line , the cursor moves to the end of the line but scrollbar does not catch up. We have to drag the scrollbar to the end to see the rightmost text.
Same thing happens when we type anything at the end of the line.
But with fixedGutter:true scrolling works properly.
varmyCodeMirror=CodeMirror(document.getElementById('editor'),{value: "function myScript(){console.log(\"100\");}\nconsole.log(\"test test test test test test test test testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest\");\n\n\n\n\n\n\n\n\n\n\n\n\n",mode: "javascript",lineNumbers: true,fixedGutter: false,});