Please sign in to comment.
fix: scroll sync does not work in last line (fix #411)
Editor need 18px margin in top and bottom by design guide. So the margin of CodeMirror-sizer was set as 6px. CodeMirror-sizer is element for calculating content size. The sytle of CodeMirror-size is set dynamicly while update display of CodeMirror. Therefore, setting the margin on the CodeMrror-sizer is not a good idea. So if marign need to be set somewhere in CodeMirror, CodeMirror-lines is more better choice.
- Loading branch information...