benfry / processing4

Processing 4.x releases for Java 17
https://processing.org
Other
1.35k stars 239 forks source link

New Feature: Quit Ctrl-T code formatting without making any changes! #311

Open toniholzer opened 2 years ago

toniholzer commented 2 years ago

Hallo Processing is a great product and I like to code sketches, really!!! But there is one thing that annoys me.

Description

The command Ctrl-Z destroy the source code formatting mostly without viewing this changes!!! You must know on german keyboard the key 'T' is between 'R' and 'Z' and I often use Ctrl-Z. Sometimes I do not really notice that I accidentally touch Ctrl-T and the chic takes its course. Recovering the code is often a long and tedious story.

Expected Behavior

PLEASE warn me against changing the entire code and let me refuse the changes as well. Big changes must be possible to acknowledge!

!!! PLEASE add this feature to processing 4 !!!

Current Behavior

No warning, no acknowledgement :-(

Your Environment

benfry commented 1 year ago

But hitting Undo immediately afterwards should bring your code back entirely. Does it not?