Sign in to follow this  
Followers 0
benners

Unwanted characters after running Tidy

3 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Yep thanks Jos. v2.4.0.0 does not add the extra text

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0