Tex-Edit memory limitation
Tex-Edit memory limitation
- Subject: Tex-Edit memory limitation
- From: Gnarlodious <email@hidden>
- Date: Thu, 18 Oct 2001 08:32:43 -0600
I am using Smile 1.8.2 and also Script Debugger with Tex-Edit+ 4.1.2
running this script:
Change tags to lowercase
set itemlist to {"NAME", "BODY", "ALT", "HEIGHT", "WIDTH", "IMG SRC",
"STRONG", "UL>", "HREF", "DOCTYPE HTML PUBLIC", "W3C", "/EN", "DTD", "HTML",
"TITLE>", "CONTENT=", "<P", "LINK REL", "CLASS", "BLOCKQUOTE", "A>", "HEAD",
"TYPE=", "STYLE", "META", "H>", "<H ", "<BR>", "DIV"}
tell application "Tex-Edit Plus"
activate
tell front window
repeat with i from 1 to (count items in itemlist)
set currentItem to item i of itemlist
repeat with n from 1 to count of style runs
if color of style run n is "#333333" then
search style run n looking for currentItem
change case of selection into lowercase
end if
end repeat
end repeat
end tell
close front window saving ask
end tell
The file is 39K but both stop processing about 3/4 through the list and
reports Tex-Edit ran out of memory. I increased the memory to 5.1M with no
improvement. What is happening?
Rachel
http://www.gnarlodious.com