setCaret(caret);
getDocument().addDocumentListener(new DocumentListenerHandler());
}
private Action createFindAction() {
SearchableTextComponent s = new SearchableTextComponent(this, Strings.get("Search.Title"), true, true);
s.setActionDescription(Strings.get("Search.ToolTip"));
return s.getFindAction();
}