Repository: vscode
Issue: Merge editor code lens not aligned
Labels: bug,merge-editor

The code lenses should be aligned:

![Image](https://github.com/user-attachments/assets/00e2e744-1128-4ee6-9fab-5c5627fd5e68)


```json
{
    "languageId": "typescript",
    "base": "export class MultiDiffEditorViewModel extends Disposable {\n\tprivate readonly _documents = observableFromValueWithChangeEvent(this.model, this.model.documents);\n\n\tpublic readonly items = mapObservableArrayCached(this, this._documents, (d, store) => store.add(this._instantiationService.createInstance(DocumentDiffItemViewModel, d, this)))\n\t\t.recomputeInitiallyAndOnChange(this._store);\n\n\tpublic readonly focusedDiffItem = derived(this, reader => this.items.read(reader).find(i => i.isFocused.read(reader)));\n\tpublic readonly activeDiffItem = derivedObservableWithWritableCache<DocumentDiffItemViewModel | undefined>(this, (reader, lastValue) => this.focusedDiffItem.read(reader) ?? lastValue);\n",
    "input1": "export class MultiDiffEditorViewModel extends Disposable {\n\tprivate readonly _documents = observableFromValueWithChangeEvent(this.model, this.model.documents);\n\n\tprivate readonly _documentsArr = derived(this, reader => {\n\t\tconst result = this._documents.read(reader);\n\t\tif (result === 'loading') {\n\t\t\treturn [];\n\t\t}\n\t\treturn result;\n\t});\n\n\tpublic readonly isLoading = derived(this, reader => this._documents.read(reader) === 'loading');\n\n\tpublic readonly items = mapObservableArrayCached(this, this._documentsArr, (d, store) => store.add(this._instantiationService.createInstance(DocumentDiffItemViewModel, d, this)))\n\t\t.recomputeInitiallyAndOnChange(this._store);\n\n\tpublic readonly focusedDiffItem = derived(this, reader => this.items.read(reader).find(i => i.isFocused.read(reader)));\n\tpublic readonly activeDiffItem = derivedObservableWithWritableCache<DocumentDiffItemViewModel | undefined>(this, (reader, lastValue) => this.focusedDiffItem.read(reader) ?? lastValue);\n",
    "input2": "export class MultiDiffEditorViewModel extends Disposable {\n\tprivate readonly _documents: IObservable<readonly RefCounted<IDocumentDiffItem>[]> = observableFromValueWithChangeEvent(this.model, this.model.documents);\n\n\tpublic readonly items: IObservable<readonly DocumentDiffItemViewModel[]> = mapObservableArrayCached(\n\t\tthis,\n\t\tthis._documents,\n\t\t(d, store) => store.add(this._instantiationService.createInstance(DocumentDiffItemViewModel, d, this))\n\t)\n\t\t.recomputeInitiallyAndOnChange(this._store);\n\n\tpublic readonly focusedDiffItem = derived(this, reader => this.items.read(reader).find(i => i.isFocused.read(reader)));\n\tpublic readonly activeDiffItem = derivedObservableWithWritableCache<DocumentDiffItemViewModel | undefined>(this, (reader, lastValue) => this.focusedDiffItem.read(reader) ?? lastValue);\n",
    "result": "export class MultiDiffEditorViewModel extends Disposable {\r\n\tprivate readonly _documents: IObservable<readonly RefCounted<IDocumentDiffItem>[]> = observableFromValueWithChangeEvent(this.model, this.model.documents);\r\n\r\n\tpublic readonly items = mapObservableArrayCached(this, this._documents, (d, store) => store.add(this._instantiationService.createInstance(DocumentDiffItemViewModel, d, this)))\r\n\t\t.recomputeInitiallyAndOnChange(this._store);\r\n\r\n\tpublic readonly focusedDiffItem = derived(this, reader => this.items.read(reader).find(i => i.isFocused.read(reader)));\r\n\tpublic readonly activeDiffItem = derivedObservableWithWritableCache<DocumentDiffItemViewModel | undefined>(this, (reader, lastValue) => this.focusedDiffItem.read(reader) ?? lastValue);\r\n",
    "initialResult": "export class MultiDiffEditorViewModel extends Disposable {\r\n\tprivate readonly _documents: IObservable<readonly RefCounted<IDocumentDiffItem>[]> = observableFromValueWithChangeEvent(this.model, this.model.documents);\r\n\r\n\tpublic readonly items = mapObservableArrayCached(this, this._documents, (d, store) => store.add(this._instantiationService.createInstance(DocumentDiffItemViewModel, d, this)))\r\n\t\t.recomputeInitiallyAndOnChange(this._store);\r\n\r\n\tpublic readonly focusedDiffItem = derived(this, reader => this.items.read(reader).find(i => i.isFocused.read(reader)));\r\n\tpublic readonly activeDiffItem = derivedObservableWithWritableCache<DocumentDiffItemViewModel | undefined>(this, (reader, lastValue) => this.focusedDiffItem.read(reader) ?? lastValue);\r\n"
}
```