Changeset 951


Ignore:
Timestamp:
04/15/15 15:40:07 (9 years ago)
Author:
davidb
Message:

Change in code to cope with commit #936, that broke the Javascript running within Expeditee

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Javascript2.java

    r919 r951  
    202202                        if(i instanceof Text && !i.isAnnotation()) {
    203203                                String text = ((Text)i).getText();
     204                                if (i == org.expeditee.io.flowlayout.XGroupItem.GROUPSEP_START) {
     205                                        text = "{";
     206                                }
     207                                else if (i == org.expeditee.io.flowlayout.XGroupItem.GROUPSEP_END) {
     208                                                text = "}";
     209                                }
     210                               
    204211                                int lineNumber = 0;
    205212                                for(String line : text.trim().split("[\\n\\r]+")) {
Note: See TracChangeset for help on using the changeset viewer.