notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[Feature request] Display Undo/Redo and add an Undo/Redo history window

Open
#16,943 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Is there an existing issue for this?
  • I have searched the existing issues
Description of the Issue

It is often difficult to tell what has changed in a large document when undo/redo are used.
Try replacing a block of text with a paste operation and you will see what I mean.
The window scroll position is also not ideal.

Describe the solution you'd like.
  1. Edit->Undo should display the name of the action that will be undone if selected. Redo should display similarly.

  2. Create an Undo/Redo History window/pane.

Examples of both can be found in the Digital Audio Workstation software REAPER, which also displays timestamps for each event and also when each save operation occurred.

Debug Information
This is not a bug, but sure.

Notepad++ v8.5.4   (64-bit)
Build time : Jun 17 2023 - 20:42:45
Path : C:\Program Files\ACCESSORIES\Notepad++\notepad++.exe
Command Line : "C:\Users\CR1-W10\AppData\Roaming\REAPER\Scripts\daxliniere_Explode takes across tracks with auto-renaming (multi-track aware).lua"
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro N (64-bit)
OS Version : 22H2
OS Build : 19045.6216
Current ANSI codepage : 1252
Plugins : 
    ComparePlugin (2.0.2)
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)
Anything else?
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the Edit→Undo and Edit→Redo commands and requests a new Undo/Redo History window or pane, but it names no files or tests. Start by tracing those existing commands and compare the requested behavior with the REAPER examples. Done means the commands show the pending action and a history view records undo, redo, and save events.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.