Page 1 of 1

V 14 Beta 1 - Flat mode and CSV Mode incompatible

Posted: Thu Dec 06, 2012 2:46 pm
by Lance Andrewes
V 14 beta 1 x64
Issue: If Flat Mode is enabled you cannot switch back to CSV mode

To reproduce:
1. Set CSV mode to Auto, Text Mode enabled, Flat Mode disabled
2. Create a simple CSV file, e.g.
A,B,C
1,2,3
2,3,4
and save as test.csv
3. Open the CSV file in V. It will display in columns.
4. Enable Flat Mode
5. Enable CSV Mode. Message appears "Not a valid CSV file". Click OK to close the message.
6. Disable Flat Mode. Enable CSV Mode. CSV Mode now works.

Re: V 14 Beta 1 - Flat mode and CSV Mode incompatible

Posted: Thu Dec 06, 2012 5:02 pm
by FileViewer
Issue: If Flat Mode is enabled you cannot switch back to CSV mode
I think I would like to call this a feature rather than a bug!

The reason that it cannot switch back to CSV mode is that it parses the CSV file as it is displayed on screen rather than how it is stored on file - and obviously does not think that the file is a valid CSV file.

I am not sure I will do anything about this. For the moment you will have to get out of flat mode before going into CSV mode.

Re: V 14 Beta 1 - Flat mode and CSV Mode incompatible

Posted: Sun Dec 09, 2012 6:20 pm
by Lance Andrewes
Fair enough. I do see the logic of why it doesn't work, so haven't thought of it as a bug. I agree - it is a feature :)