Hybrid Undo Redo System Dynamic Regions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional undo operations in text editing applications are limited to linear undo, where only the last edit can be easily undone and redone, restricting the ability to undo edits in arbitrary order across dynamic regions in a document.

Innovation Solution

Implementing a hybrid undo/redo system that uses dynamic regions with start, end, and offset values to define areas within a document, allowing non-linear undo and redo operations by adjusting these values based on line additions or deletions, and pushing records onto stacks to enable modifications to be undone or redone across regions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional linear undo operations are implemented, then the system is simple to implement, but the user cannot undo edits in arbitrary order across dynamic regions

Engineering Contradiction:
Improveundo operation flexibilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent divides the document into multiple dynamic regions, each with its own undo stack. This segmentation allows independent undo operations within each region while maintaining overall system coherence. The region data structure includes start value, end value, and offset value to define boundaries, enabling granular control over undo operations across different document sections.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a regional dimension to the traditional linear undo stack by organizing undo records into region-specific stacks. Each region maintains its own stack of modification records, allowing users to navigate and undo operations across multiple regions in non-linear fashion. This dimensional organization transforms the single-dimensional linear undo into a multi-dimensional undo system.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Adaptability or versatility

If dynamic regions with adjustable start, end, and offset values are implemented, then non-linear undo operations are enabled, but the data structure complexity increases

Engineering Contradiction:
Improveregion-based operation capabilityVSAvoiddata structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies local quality by giving each dynamic region its own specific data structure with start value, end value, and offset value tailored to its needs. Each region's undo stack is customized to track modifications within that specific region, allowing the system to handle different region requirements with appropriate local data structures rather than a uniform approach.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements nesting by placing undo stacks within region data structures, which are themselves nested within the broader document structure. Each region contains its own undo stack, and regions are organized within the document hierarchy. This nested organization allows efficient access to region-specific undo operations while maintaining the overall document structure.

Inventive Principle:
Principle #7Nested doll (Nesting)

3Measurement precision

If region offset values are adjusted based on line additions or deletions, then region positioning accuracy is maintained, but the computational overhead increases

Engineering Contradiction:
Improveregion positioning accuracyVSAvoidcomputation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing offset values for each dynamic region. When lines are added or deleted, the system proactively updates the offset values of affected regions before the user performs any operations. This preliminary adjustment ensures that region positioning remains accurate without requiring complex real-time calculations during user interactions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms by monitoring line additions and deletions and automatically adjusting region offset values in response. The system continuously tracks document structure changes and provides feedback by updating region definitions to maintain accurate positioning. This feedback loop ensures region integrity while automating the adjustment process to minimize manual intervention.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11704532B2Dynamic region based application operations
Publication Date: 2023.07.18 CITRIX SYSTEMS INC
  • US11704532B2 patent drawing
  • US11704532B2 patent drawing
  • US11704532B2 patent drawing

AI summary

Techniques are disclosed for a hybrid undo/redo for text editing, where non-linear undo and redo operations are performed across dynamic regions in a document and linear undo and redo operations are performed within the dynamic regions in the document. In an example, the hybrid undo/redo may be achieved by maintaining respective region offset values for the dynamic regions created in a document by the edits made to the document. In operation, the respective region offset values associated with the dynamic regions can be used to negate or otherwise counteract the effect of edits made in the dynamic regions.