message: construction: Bug fixes in codemirror-smooth-plugin
diff: @@ -41,10 +41,19 @@ RunningConfig.on('aTabHasBeenCreated', ({ tabElement, client, instance, isEditor
  refreshCursor()
  })
  - StaticConfig.keyChanged('editorFontSize', () => {
  + const EditorFontSizeChangedListener = StaticConfig.keyChanged('editorFontSize', () => {
  refreshCursor(true)
  })
  + const SidePanelResizedListener = RunningConfig.on('sidePanelHasBeenResized', () => {
  + refreshCursor(true)
  + })
  +
  + tabElement.state.once('destroyed', () => {
  + EditorFontSizeChangedListener.cancel()
  + SidePanelResizedListener.cancel()
  + })
  +
  function refreshCursor(fast = false) {
  if (!isCursorVisible(instance)) {
  cursor.style.display = 'none'
  