processing/processing

Tweak mode loses undo history

Fechada

#4.124 aberto em 9 de nov. de 2015

 (1 comentário) (1 reação) (0 responsável)Java (1.540 forks)batch import
help wantedtweak

Métricas do repositório

Stars
 (6.431 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Hi,

I'm using Processing 3.0.1 on Arch Linux 64-bit.

If I enter a sketch, just for example (though it could be any valid sketch):

void setup()
{
    size(600, 500);
}

void draw()
{
    background(#ff0000);
}

Then type some extra junk in anywhere, then undo with Ctrl-Z to restore the sketch as above, then start Tweak Mode by selecting Sketch -> Tweak, then close the sketch window to leave Tweak Mode -

At this point, "Redo" on the Edit menu is greyed out. I can't get the 'junk' back which I undid just before entering Tweak Mode (the shortcut, Ctrl-Shift-Z, does nothing).

And hitting "Undo" repeatedly (either by menu item or by Ctrl-Z), moves the text cursor around the place (possibly as if remembering places in its history) but doesn't make any changes to the text.

Guia do colaborador