Skip to content

Commit 17946f2

Browse files
author
Gerardo
committed
InlineFormatter - Move markStyleColor declaration
1 parent 299b8ea commit 17946f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/formatting/InlineFormatter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ import org.wordpress.aztec.watchers.TextChangedEvent
3737
class InlineFormatter(editor: AztecText, val codeStyle: CodeStyle, private val highlightStyle: HighlightStyle) : AztecFormatter(editor) {
3838

3939
var backgroundSpanColor: Int? = null
40+
var markStyleColor: String? = null
4041

4142
data class CodeStyle(val codeBackground: Int, val codeBackgroundAlpha: Float, val codeColor: Int)
4243
data class HighlightStyle(@ColorRes val color: Int)
43-
var markStyleColor: String? = null
4444

4545
fun toggle(textFormat: ITextFormat) {
4646
if (!containsInlineStyle(textFormat)) {

0 commit comments

Comments
 (0)