ChoicescriptIDE / ChoicescriptIDE/main

Undo/redo stack lost on rename

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
36
Forks
8
PR merge metrics
No merged PRs in 30d

Description

When a scene is renamed we need to re-create its model in order to keep its (Monaco) Uri in sync (as Monaco uses these to uniquely identify models, as will the language services). At the time of writing there is no API for editing the Uri of an already created model, so this is a necessary evil. Unfortunately, it means losing data associated with the model, such as the undo/redo history.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.