< prev index next >
src/java.desktop/share/classes/javax/swing/text/StyledEditorKit.java
Print this page
*** 286,295 ****
--- 286,297 ----
* names attributes. Subclasses may wish to refine what is and what
* isn't copied here. But be sure to first remove all the attributes that
* are in <code>set</code>.<p>
* This is called anytime the caret moves over a different location.
*
+ * @param element the element
+ * @param set the attributes
*/
protected void createInputAttributes(Element element,
MutableAttributeSet set) {
if (element.getAttributes().getAttributeCount() > 0
|| element.getEndOffset() - element.getStartOffset() > 1
< prev index next >