- April 8, 2018 at 3:09 pm #22954PangiusParticipant
Procedure to make Lines Displayed changes when Converting between “Wrap by Window” to “No Wrap”:
1. Open a *.TXT File (Manually Select “Wrap by Window Width”).
2. Open a *.CSV File (Automatically Selects “No Wrap”).
3. The *.TXT Document Lines Displayed will have Changed based off the Number of Wrapped Lines above the First Line Originally Displayed.
The problem is when you Open a *.CSV File, EmEditor always Defaults to No Wrap. If you have Tick “Synchronize Wrap Mode” (“Tools” Drop-down Menu => Customize => “View” Tab => Tick “Synchronize Wrap Mode”) any *.TXT Documents set to “Wrap by Window Width” will be changed to “No Wrap”. Then a Bug in EmEditor shifts the Displayed Lines in the *.TXT File down by however many Line Wraps there were Above the Top Row shown in the EmEditor Window before the *.CSV File was Opened (Wrapped Lines Below the Top Row have no effect).
Hence this Bug doesn’t happen if:
* You have No Line Wraps in the *.TXT Document Above the Top Row shown in the EmEditor Window before the *.CSV File was Opened.
* The Top Line in the *.TXT Document was Line 1.
The Cursor Position stays the Same in the *.TXT Document before & after the *.CSV File is opened. Its just the Lines shown in the EmEditor Window changes.
This is an example of the Lines Displayed Shift on a 1000 Line Text Document with 1 Line Wrap on each Line:
Top Line in *.TXT Before *.CSV Opened: Top Line in *.TXT After *.CSV Opened:
This Bug happens wheather you have “Line and Column Display as” either “Display Coordinates”, “Logical Coord. (Full-width Char. as 2 Col)”, “Logical Coord. (Full-width Char. as 1 Col)”, “Logical w/Tab (Full-width Char. as 1 Col)”.
The only work around to this Bug I’ve found is: “Tools” Drop-down Menu => Customize => “View” Tab => Untick “Synchronize Wrap Mode”.
This was Tested in EmEditor 17.5, however it has been around for a long time.April 9, 2018 at 9:29 pm #22958Yutaka EmuraKeymaster
I am not sure exactly what the issue is, so can you please send me a screencast or screenshot to tech @ emurasoft.com? You can also send me sample files (after zipped) with steps to reproduce the issue.
Thanks,April 16, 2018 at 7:48 pm #23043skyParticipant
Try to reproduce one of the issues as below:
Step 1. Open test.txt, and set to “Wrap by Window”.
Step 2. Open test.csv.
Step 3. Back to “test.txt” tab, it became to “No Wrap”. => Problem here.
Step 4. Set to “Wrap by Window” again.
Step 5. Switch to “test.csv” tab
Step 6. Back to “test.txt” tab again, it is keep as “Wrap by Window”. => OKApril 17, 2018 at 7:51 am #23044Yutaka EmuraKeymaster
Thanks for explanation.
This is the specs. To work around, as you already know, please go to the View page of the Customize dialog box, and clear the “Synchronize Wrap Mode”.
- You must be logged in to reply to this topic.