Jump to content

Unwanted characters after running Tidy


benners
 Share

Go to solution Solved by Jos,

Recommended Posts

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

  • Developers
  • Solution

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...