Changeset 42 in default


Ignore:
Timestamp:
11/05/10 17:24:08 (13 years ago)
Author:
zeiss
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/formatter/EbnfHtmlFormatterVisitor.java

    r41 r42  
    201201        } 
    202202         
     203        protected void space() { 
     204                metaText("<span style='mso-spacerun:yes'>&nbsp;</span>"); 
     205                buf.append(" "); 
     206                newLineOffsetCounter++; 
     207        } 
     208         
     209        protected void spaces(int count) { 
     210                metaText("<span style='mso-spacerun:yes'>"); 
     211                buf.append(" "); 
     212                for (int i=0; i < count; i++) { 
     213                        metaText("&nbsp;"); 
     214                } 
     215                metaText("</span>"); 
     216        } 
    203217        // ----------------------------------------------------------------------------- 
    204218         
Note: See TracChangeset for help on using the changeset viewer.