Package com.puppetlabs.xtext.dommodel.formatter.css

Examples of com.puppetlabs.xtext.dommodel.formatter.css.Alignment


   * @param context
   */
  private void formatTokenInternal(StyleSet styleSet, IDomNode node, ITextFlow output, ILayoutContext context) {
    String text = styleSet.getStyleValue(TokenTextStyle.class, node, functions.textOfNode());

    Alignment alignment = styleSet.getStyleValue(AlignmentStyle.class, node);
    boolean verbatim = styleSet.getStyleValue(VerbatimStyle.class, node, Boolean.FALSE);
    final boolean defaultAlignment = alignment == null;
    if(defaultAlignment)
      alignment = Alignment.left;
    final int textLength = text.length();
View Full Code Here

TOP

Related Classes of com.puppetlabs.xtext.dommodel.formatter.css.Alignment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.