1 11 package org.eclipse.swt.custom; 12 13 import org.eclipse.swt.graphics.*; 14 import org.eclipse.swt.widgets.*; 15 16 19 class StyledTextEvent extends Event { 20 int[] ranges; 22 StyleRange[] styles; 23 int alignment; 24 int indent; 25 boolean justify; 26 Bullet bullet; 27 int bulletIndex; 28 Color lineBackground; 30 int[] segments; 32 int replaceCharCount; 34 int newCharCount; 35 int replaceLineCount; 36 int newLineCount; 37 int x; 39 int y; 40 int ascent; 41 int descent; 42 StyleRange style; 43 44 StyledTextEvent (StyledTextContent content) { 45 super(); 46 data = content; 47 } 48 } 49 50 51 | Popular Tags |