PATCH: Clear undo/redo history when a file is opened in Query editor

From: "J(dot)F(dot) Oster" <jinfroster(at)mail(dot)ru>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: PATCH: Clear undo/redo history when a file is opened in Query editor
Date: 2014-10-24 19:35:24
Message-ID: 966458993.20141024233524@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello!

A user may occasionaly assign content of a previously edited file into
a next file opened in the same Query window, by calling Undo and Save.

Simple non-MDI text editors (for example, notepad.exe) prevent an
issue by clearing undo/redo history, so should we do.
Please see the attached patch.

--
Best regards,
J.F.

Attachment Content-Type Size
141024_frmQuery_empty_undo.patch application/octet-stream 511 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Mads Jensen 2014-10-24 21:57:36 F8 for Execute to file
Previous Message J.F. Oster 2014-10-24 19:12:36 PATCH: Support smallserial columns in Edit Data window