View Single Post
Old 10-05-2012, 10:03 PM   #109
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
ZOMG! clarification, please....


Quote:
Originally Posted by kiwidude View Post
And worst of all *if* the user does not have Tidy turned completely off, it *will* screw up your document in it's attempt to help. Pretty Print will "guess" where closing tags should be or what tags to remove. Tidy will make an even bigger mess of your HTML. You will lose content, users complain when they notice. Just because you didn't notice any issue with turning the check off, doesn't mean that (a) an issue didn't happen, or (b) that you just happened to get exceptionally lucky.
Hopefully what you mean is that, even if the user has "pretty print" enabled, the above will happen IF and ONLY IF THE USER clicks "fix automatically." If you click "fix manually" nothing much happens behind the scenes, but you are returned to the edit screen with at least a hint of what problem was detected.

In the former case, the user will reap what he has sown (perhaps there should be a warning... "Are you SURE you trust me to GUESS what you intended to do?") . In the latter case, no changes should be made, albiet the file must get fixed before another save can be made.

No time to fix it? That's why the Unix "gods" provide "xkill" and the Redmond "demi-gods" gave us the task manager. You will revert to your last saved file, but if that hurts, consider it an object lesson in learning when / when not to save files.

I kind of dislike autosave options because I like to experiment a lot with various coding before settling on an alternative. Now, if the program distinguished between autosaves and intentional saves (a la LibreOffice and many others) this would be a non-issue.
st_albert is offline