Page 1 of 1

Comparing scripts

Posted: Tue Apr 22, 2008 4:56 pm
by Josh
Hi all,

I found two file comparison software packages that I like for pascal program comparisons (examdiff and winmerge). However, neither work with .rev files. Is anyone aware of such a comparison program for Revoluation files to compare modified projects?

Thanks,
Josh

Posted: Tue Apr 22, 2008 5:46 pm
by Janschenkel
Hi Josh,

Revolution stackjs are binary files, and text compare tools aren't quite ready for that. What you could do, and some hgave done before, is export your stacks to either a giant XML format - or if you're just interested in the scritps, you could dump each script into a separate text file with a consistent/unique naming scheme, and then do a folder-wide file comparison.

Hope this helped,

Jan Schenkel.

Re: Comparing scripts

Posted: Tue Feb 19, 2013 6:55 pm
by aetaylorBUSBnWt
Hello All,

So since 2008, NOBODY writing LiveCode has ever had a need to compare one script against another?
I am brand new to LiveCode (not to programming - been doing that for 35 years), so I am trying to grock something that is similar, yet maddeningly different from what I am used to (be better off if I knew nothing I suspect). So subtleties that I don't notice are probably rather important.

Anyway, it seems that there is only one code editor window in LiveCode, so there is no way to see two scripts side by side? Or does everybody do massive editing with external editors and copy/paste into the one LiveCode code editing window?

:?

Thanks in advance for helping me see the obvious that I can't see!
Andrew

Re: Comparing scripts

Posted: Tue Feb 19, 2013 7:06 pm
by Klaus
HI Andrew,
aetaylorBUSBnWt wrote:Anyway, it seems that there is only one code editor window in LiveCode, so there is no way to see two scripts side by side?
things ain't always what they SEEM to be!

The default is to have TABs for each scripts in the editor, but please right-click on a TAB 8)
And in the "Preferences" you can select: Scripts open in: Newtab/new window

OK so far? :D


Best

Klaus

Re: Comparing scripts

Posted: Thu Feb 21, 2013 2:15 pm
by aetaylorBUSBnWt
I knew there had to be someway to see more stuff!

Thanks!