Fix `line_spacing` in code editor will not take effect immediately on change
Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.
(cherry picked from commit 23d6225c1e59f33cc6cfe0df3a00961c0c93155f)