mob
verb
OpenCode(Code as file)
if(findtextEx("[Code]",".dm")==0)
alert(src,"You did not load a Code file.")
return
usr.CodeFile = "[Code]"
var/Z = "[html_encode(file2text(Code))]" //open it
winset(usr,"default.Codes","text='[Z]'") // THIS IS AN INPUT
src.UpdateBrowser()
Problem description:
In Make My Dream, the manual code editor is an input and everything is fine with it but it seems when i load a code file,and use html_encode to have it keep the same format as dm, it doesn't apply to my interface input. Any reason why it only works on browsers and not on inputs? Is this a bug?
Would you give that a try, and let me know if it displays correctly?