1 11 package org.eclipse.jface.text; 12 13 14 import org.eclipse.swt.graphics.Point; 15 16 17 46 public interface IFindReplaceTarget { 47 48 53 boolean canPerformFind(); 54 55 69 int findAndSelect(int widgetOffset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord); 70 71 76 Point getSelection(); 77 78 83 String getSelectionText(); 84 85 90 boolean isEditable(); 91 92 100 void replaceSelection(String text); 101 } 102 | Popular Tags |