Properly reset editor.lineNumbers after disabling zen mode#90822
Properly reset editor.lineNumbers after disabling zen mode#90822isidorn merged 1 commit intomicrosoft:masterfrom
Conversation
|
Seems to work great. Merging in. Thanks a lot for this PR. |
|
@isidorn @jeanp413 not a big fan of how this ends up adding a new field to the As for vscode/src/vs/editor/common/editorCommon.ts Lines 248 to 258 in 9a81eb3 Upon disposal, simply remove the entry from the transition disposables. |
|
Yeah, adding to the |
|
@isidorn Sure I'll create another PR to tackle bpasero's feedback |
This PR fixes #90240
Uses a
Setto remember all the editors we have hidden line numbers for. Not sure if it's safe to callupdateOptionson disposed editor widgets (this could happen if we have multiple editor groups and we close any of them)cc @isidorn