Skip to content

Commit

Permalink
Update InlineCssTextArea.java
Browse files Browse the repository at this point in the history
Corrected parameter name
  • Loading branch information
Jugen committed Nov 18, 2019
1 parent 5c8d67e commit b8c87ee
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ public InlineCssTextArea(@NamedArg("text") String text) {
/**
* Convenient method to append text together with an inline style.
*/
public void append( String text, String styleClass ) {
insert( getLength(), text, styleClass );
public void append( String text, String style ) {
insert( getLength(), text, style );
}

/**
* Convenient method to insert text together with an inline style.
*/
public void insert( int position, String text, String styleClass ) {
replace( position, position, text, styleClass );
public void insert( int position, String text, String style ) {
replace( position, position, text, style );
}

}

0 comments on commit b8c87ee

Please sign in to comment.