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

Поиск
Список
Период
Сортировка
От J.F. Oster
Тема Re: PATCH: Clear undo/redo history when a file is opened in Query editor
Дата
Msg-id 16910200208.20141028190848@mail.ru
обсуждение исходный текст
Ответ на Re: PATCH: Clear undo/redo history when a file is opened in Query editor  (Sanket Mehta <sanket.mehta@enterprisedb.com>)
Ответы Re: PATCH: Clear undo/redo history when a file is opened in Query editor  (Sanket Mehta <sanket.mehta@enterprisedb.com>)
Список pgadmin-hackers
Hello Sanket,


SM> As per my understanding below is the bug scenario.
Yes,

 - open any file in sql editor..
 - perform some modifications to file so that Undo is possible.
 - now open a second file in same editor and try Undo. It will show
   you previous file content again.═
 - do Save.

Now contents of the second file is replaced on disk with contents of
the previous file.


SM> On Mon, Oct 27, 2014 at 4:14 PM, Dave Page <dpage@pgadmin.org> wrote:
SM> Ashesh, can you review/commit this please?

SM> On Fri, Oct 24, 2014 at 8:35 PM, J.F. Oster <jinfroster@mail.ru> wrote:
>> 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.



В списке pgadmin-hackers по дате отправления:

Предыдущее
От: inspector morse
Дата:
Сообщение: Re: PATCH: Stored procedure large parameter list
Следующее
От: "J.F. Oster"
Дата:
Сообщение: Re: pgAdmin III commit: Beautify the query shown in the SQL pane for the fu