1080linebooks / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Switching between code view and book view scrolls to bottome of file #845

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load a html document for viewing
2. switch to code view and manually delete/change some code
3. return to book view. will be at bottom of file
...

What is the expected output? What do you see instead?
return to book view should correspond to where you were editing

What version of the product are you using? On what operating system?
windows 7 x64 and sigil 0.4.0b3

Original issue reported on code.google.com by swordfr...@gmail.com on 7 Apr 2011 at 7:48

GoogleCodeExporter commented 9 years ago
This depends on your HTML file. Sigil tries to deduce the location from one 
view to the other, but this is an operation that can fail if your markup is 
ill-formed. Using Tidy cleaning will probably fix your code so that such view 
switching works.

Original comment by Strahinja.Markovic@gmail.com on 11 Apr 2011 at 9:48