~ubuntu-branches/debian/experimental/arduino/experimental

« back to all changes in this revision

Viewing changes to app/src/processing/app/Theme.java

  • Committer: Package Import Robot
  • Author(s): Scott Howard
  • Date: 2012-03-11 18:19:42 UTC
  • mfrom: (1.1.5) (5.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20120311181942-be2clnbz1gcehixb
Tags: 1:1.0.1~rc1+dfsg-1
New upstream release, experimental.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
import processing.app.syntax.*;
31
31
import processing.core.*;
 
32
import static processing.app.I18n._;
32
33
 
33
34
 
34
35
/**
48
49
    try {
49
50
      load(Base.getLibStream("theme/theme.txt"));
50
51
    } catch (Exception te) {
51
 
      Base.showError(null, "Could not read color theme settings.\n" +
52
 
                           "You'll need to reinstall Processing.", te);
 
52
      Base.showError(null, _("Could not read color theme settings.\n" +
 
53
                             "You'll need to reinstall Processing."), te);
53
54
    }
54
55
 
55
56
    // check for platform-specific properties in the defaults
196
197
    s = st.nextToken();
197
198
    boolean bold = (s.indexOf("bold") != -1);
198
199
    boolean italic = (s.indexOf("italic") != -1);
 
200
    boolean underlined = (s.indexOf("underlined") != -1);
199
201
 
200
 
    return new SyntaxStyle(color, italic, bold);
 
202
    return new SyntaxStyle(color, italic, bold, underlined);
201
203
  }
202
 
}
 
 
b'\\ No newline at end of file'
 
204
}