1 11 package org.eclipse.swt.custom; 12 13 14 import org.eclipse.swt.events.*; 15 16 20 public class TextChangingEvent extends TypedEvent { 21 24 public int start; 25 29 public String newText; 30 33 public int replaceCharCount; 34 37 public int newCharCount; 38 41 public int replaceLineCount; 42 45 public int newLineCount; 46 47 static final long serialVersionUID = 3257290210114352439L; 48 49 56 public TextChangingEvent(StyledTextContent source) { 57 super(source); 58 } 59 TextChangingEvent(StyledTextContent source, StyledTextEvent e) { 60 super(source); 61 start = e.start; 62 replaceCharCount = e.replaceCharCount; 63 newCharCount = e.newCharCount; 64 replaceLineCount = e.replaceLineCount; 65 newLineCount = e.newLineCount; 66 newText = e.text; 67 } 68 69 } 70 | Popular Tags |