();         int selectionStart=this.getTextPane().getSelectionStart();         int selectionEnd=this.getTextPane().getSelectionEnd();          StyleContext context = new StyleContext();         Style style;          Element element=doc.getCharacterElement(selectionStart);         