52
52
import java .util .Scanner ;
53
53
import java .util .Set ;
54
54
import java .util .prefs .Preferences ;
55
- import java .util .regex .Pattern ;
56
55
57
56
import javax .swing .Box ;
58
57
import javax .swing .Icon ;
@@ -398,7 +397,7 @@ private Runner notifyChange() {
398
397
if (text ==null ) return null ; // If this was called prior to the "text" being fully initialized
399
398
OurSyntaxWidget t = text .get ();
400
399
if (Util .onMac ()) frame .getRootPane ().putClientProperty ("windowModified" , Boolean .valueOf (t .modified ()));
401
- if (t .isFile ()) frame .setTitle (t .getFilename ()); else frame .setTitle ("Alloy Analyzer (Electrum) " +Version .version () );
400
+ if (t .isFile ()) frame .setTitle (t .getFilename ()); else frame .setTitle ("Alloy Analyzer " + Version . version () + " (Electrum Analyzer" +Version .eleVersion ()+ ")" );
402
401
toolbar .setBorder (new OurBorder (false , false , text .count ()<=1 , false ));
403
402
int c = t .getCaret ();
404
403
int y = t .getLineOfOffset (c )+1 ;
@@ -514,7 +513,7 @@ private void copyFromJAR() {
514
513
// Record the locations
515
514
System .setProperty ("alloy.theme0" , alloyHome () + fs + "models" );
516
515
System .setProperty ("alloy.home" , alloyHome ());
517
- // System.setProperty("debug", "no "); // [HASLab]: this breaks iteration!
516
+ // System.setProperty("debug", "yes "); // [HASLab]: this breaks iteration!
518
517
}
519
518
520
519
/** Called when this window is resized. */
@@ -1454,7 +1453,7 @@ private Runner doOptSyntaxHighlighting() {
1454
1453
/** This method displays the about box. */
1455
1454
private Runner doAbout () {
1456
1455
if (wrap ) return wrapMe ();
1457
- OurDialog .showmsg ("About Alloy Analyzer " + Version .version (),
1456
+ OurDialog .showmsg ("About Alloy Analyzer " + Version .version () + " (Electrum Analyzer " + Version . eleVersion ()+ ")" ,
1458
1457
OurUtil .loadIcon ("images/logo.gif" ),
1459
1458
"Alloy Analyzer " + Version .version (),
1460
1459
"Build date: " + Version .buildDate (),
@@ -1468,7 +1467,13 @@ private Runner doAbout() {
1468
1467
" " ,
1469
1468
"Thanks to: Ilya Shlyakhter, Manu Sridharan, Derek Rayside, Jonathan Edwards, Gregory Dennis," ,
1470
1469
"Robert Seater, Edmond Lau, Vincent Yeung, Sam Daitch, Andrew Yip, Jongmin Baek, Ning Song," ,
1471
- "Arturo Arizpe, Li-kuo (Brian) Lin, Joseph Cohen, Jesse Pavel, Ian Schechter, and Uriel Schafer."
1470
+ "Arturo Arizpe, Li-kuo (Brian) Lin, Joseph Cohen, Jesse Pavel, Ian Schechter, and Uriel Schafer." ,
1471
+ " " ,
1472
+ "Electrum Analyzer " + Version .eleVersion (),
1473
+ " " ,
1474
+ "Lead developer: Nuno Macedo" ,
1475
+ "Project lead: Alcino Cunha" ,
1476
+ "Thanks to: David Chemouil, Julien Brunel, Denis Kuperberg, Eduardo Pessoa, Tiago Guimarães."
1472
1477
);
1473
1478
return null ;
1474
1479
}
@@ -1785,7 +1790,7 @@ private SimpleGUI (final String[] args) {
1785
1790
1786
1791
// Enable better look-and-feel
1787
1792
if (Util .onMac () || Util .onWindows ()) {
1788
- System .setProperty ("com.apple.mrj.application.apple.menu.about.name" , "Alloy Analyzer (Electrum) " +Version .version () );
1793
+ System .setProperty ("com.apple.mrj.application.apple.menu.about.name" , "Alloy Analyzer " + Version . version () + " (Electrum Analyzer" +Version .eleVersion ()+ ")" );
1789
1794
System .setProperty ("com.apple.mrj.application.growbox.intrudes" ,"true" );
1790
1795
System .setProperty ("com.apple.mrj.application.live-resize" ,"true" );
1791
1796
System .setProperty ("com.apple.macos.useScreenMenuBar" ,"true" );
@@ -1962,7 +1967,7 @@ private void finishInit(String[] args, List<Integer> initialAllowedMemorySizes,
1962
1967
all .add (status , BorderLayout .SOUTH );
1963
1968
1964
1969
// Generate some informative log messages
1965
- log .logBold ("Alloy Analyzer (Electrum) " +Version .version ()+" (build date: " +Version .buildDate ()+")\n \n " );
1970
+ log .logBold ("Alloy Analyzer " + Version . version ()+ " (Electrum Analyzer " +Version .eleVersion ()+") (build date: " +Version .buildDate ()+")\n \n " );
1966
1971
1967
1972
// If on Mac, then register an application listener
1968
1973
try {
0 commit comments