Comparing scripts

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Josh
Posts: 46
Joined: Sat Jan 12, 2008 6:42 am

Comparing scripts

Post by Josh » Tue Apr 22, 2008 4:56 pm

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

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Tue Apr 22, 2008 5:46 pm

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.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

aetaylorBUSBnWt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Thu Sep 20, 2012 5:11 pm

Re: Comparing scripts

Post by aetaylorBUSBnWt » Tue Feb 19, 2013 6:55 pm

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

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Comparing scripts

Post by Klaus » Tue Feb 19, 2013 7:06 pm

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

aetaylorBUSBnWt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Thu Sep 20, 2012 5:11 pm

Re: Comparing scripts

Post by aetaylorBUSBnWt » Thu Feb 21, 2013 2:15 pm

I knew there had to be someway to see more stuff!

Thanks!

Post Reply