code-google-com / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Multi tab sync error on file rename #788

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1.Open a file for example mycode.php
2.Reopen the same file in a new tab
3.Rename the file in the second tab with a new name, for example mynewcode.php

After the rename operation i see two tab with two different files with the same 
text, but if i change the text of the second file ( mynewcode.php ) , the text 
of the first file (mycode.php in the first tab) changes synchronously with the 
second file, as if the files are still the same.

Version 0.7.20 installed on Mac Os 10.5.8

Installed Binary version

Sorry for my bad english :)

Original issue reported on code.google.com by dvd...@gmail.com on 28 Jan 2013 at 5:29

GoogleCodeExporter commented 9 years ago
The file edit views are linked to the same file. Sounds like an issue with not 
refreshing the inactive tab title text after the file rename.

Just for clarity how exactly are you renaming the file. For example are you 
renaming it in the Finder window of the operating system or from within Editra 
somehow (if in Editra please specify how).

thanks

Original comment by CodyPrec...@gmail.com on 29 Jan 2013 at 7:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm sorry , i wrote "rename" and it's not the right word.

In the second tab i saved the file with "Save as" menu, within Editra, so i 
created a new file, identical to the first, but with a new name.
After doing this, i see two open tabs with two different files, and it's ok, 
but files are still linked. So if i edit the file in second tab, the text of 
the first tab (where i see the original file) changes synchronously with the 
second new file. And if i save my changes to the new file, this changes are 
saved on the original file as well.

Original comment by dvd...@gmail.com on 1 Feb 2013 at 7:35