simonsteele / pn

Programmer's Notepad
374 stars 116 forks source link

Duplicatly open files when select from MRU list #47

Closed simonsteele closed 9 years ago

simonsteele commented 9 years ago

Original issue 18 created by simonsteele on 2008-03-18T08:04:40.000Z:

What steps will reproduce the problem?

  1. Open a file
  2. Select the same file from the "Recent Files" list
  3. The file would be re-opened again no matter what your option about re- open is

What is the expected output? What do you see instead?

The action should be the same as re-open a file

What version of the product are you using? On what operating system?

All versions on all OSes.

Please provide any additional information below.

I've patched it in the attachment. And in this patch, the last enhancement requred in issue # 17 is also included. Thanks.

simonsteele commented 9 years ago

Comment #1 originally posted by simonsteele on 2008-03-18T09:07:56.000Z:

Sorry, I uploaded a wrong zip file, here is the right one. Sorry!

simonsteele commented 9 years ago

Comment #2 originally posted by simonsteele on 2008-03-18T10:31:25.000Z:

<empty>

simonsteele commented 9 years ago

Comment #3 originally posted by simonsteele on 2008-03-24T19:03:29.000Z:

Accepted the patch for checking the file is already open, I want to think more about the other change, reasons:

  1. It needs to be controlled by an option
  2. I'm not sure that the code is in the right place (in CheckAlreadyOpen)

I may still take this.

simonsteele commented 9 years ago

Comment #4 originally posted by simonsteele on 2008-04-15T20:23:55.000Z:

<empty>

simonsteele commented 9 years ago

Comment #5 originally posted by simonsteele on 2008-11-20T21:46:35.000Z:

Now fully implemented for next release.