benners Posted December 21, 2013 Share Posted December 21, 2013 I have a script I am currently working on using SciTE and every so often run Tidy to keep everything neat. On certain occasions the script is altered and the top 8 lines are replaced by other text. I assume the text is related to the workings of how Tidy does its thing but I don't know why it is altering the script. Below is the text that the 8 lines are overwritten with kGet|_Word_DocOpen|_Word_DocPictureAdd|_Word_DocPrint|_Word_DocRangeSet|_Word_DocSave|_Word_DocSaveAs|_Word_DocTableRead|_Word_DocTableWrite|_Word_Quit| pen|_Word_DocPictureAdd|_Word_DocPrint|_Word_DocRangeSet|_Word_DocSave|_Word_DocSaveAs|_Word_DocTableRead|_Word_DocTableWrite|_Word_Quit| n|_Word_DocPictureAdd|_Word_DocPrint|_Word_DocRangeSet|_Word_DocSave|_Word_DocSaveAs|_Word_DocTableRead|_Word_DocTableWrite|_Word_Quit| _Word_DocPrint|_Word_DocRangeSet|_Word_DocSave|_Word_DocSaveAs|_Word_DocTableRead|_Word_DocTableWrite|_Word_Quit| |_Word_DocSave|_Word_DocSaveAs|_Word_DocTableRead|_Word_DocTableWrite|_Word_Quit| _Word_DocTableRead|_Word_DocTableWrite|_Word_Quit| _Word_DocTableWrite|_Word_Quit| Word_Quit| Does anybody have any ideas? I am using :- SciTE Version 3.2.0, Jun 9 2012 00:35:28 Tidy Version 2.2.2.0 I have never had this problem with any other scripts. Thanks Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted December 21, 2013 Developers Solution Share Posted December 21, 2013 (edited) Have you tried the latest version of Tidy to see if that solves your issue? Provide a reproducer script to test with when that doesn't solve it. Jos Edited December 21, 2013 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
benners Posted December 21, 2013 Author Share Posted December 21, 2013 Yep thanks Jos. v2.4.0.0 does not add the extra text Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now