[rd-editor] IJPL-201535 Remove fallback to backend flag because it is always true

GitOrigin-RevId: fa0884be69955de5bdd0141b9d2644aba73de4b9
This commit is contained in:
Alexander Trushev
2025-09-23 20:26:21 +00:00
committed by intellij-monorepo-bot
parent 54f632621f
commit a4cf6abb29
2 changed files with 0 additions and 10 deletions
@@ -24,13 +24,6 @@ public class UndoRemoteBehaviorService {
return service.isSpeculativeUndoAvailable();
}
public static boolean isBackendFallbackEnabled() {
if (!isSpeculativeUndoEnabled()) {
throw new IllegalStateException("speculative undo is disabled");
}
return Registry.is("ide.undo.backend.fallback.if.broken", true);
}
public static boolean debugExperimentalFrontendUndo() {
if (!isSpeculativeUndoEnabled()) {
throw new IllegalStateException("speculative undo is disabled");
@@ -2248,9 +2248,6 @@ ide.undo.transparent.caret.movement.description=When enabled caret movement will
ide.undo.frontend.if.possible=true
ide.undo.frontend.if.possible.restartRequired=true
ide.undo.frontend.if.possible.description=Feature flag for IJPL-185748 (WIP!). If enabled, undo/redo is performed on the frontend side if possible.
ide.undo.backend.fallback.if.broken=true
ide.undo.backend.fallback.if.broken.restartRequired=true
ide.undo.backend.fallback.if.broken.description=Disable frontend undo/redo if stacks corruption detected IJPL-192753
ide.undo.frontend.if.possible.debug=false
ide.undo.frontend.if.possible.debug.description=If enabled, logs debug info during undo/redo stacks evolving