Skip to content

Conversation

@0nko
Copy link
Contributor

@0nko 0nko commented Feb 11, 2017

Fixes #245.

Can someone have a quick look so that it can be included in the release? Thanks!

@theck13 theck13 self-requested a review February 11, 2017 16:18
Copy link
Contributor

@theck13 theck13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some minor comments. Everything else looks good!

}
}

//<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. We can remove this unused code too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, time to get rid of it.

.any {
selectionStart == editableText.getSpanEnd(it)
}
val spanAtEndOfWhichMediaIsAdded = editableText.getSpans(selectionStart, selectionEnd, AztecBlockSpan::class.java)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like spanAtEndOfWhichMediaIsAdded was renamed similar to spanAtStartOfWhichMediaIsAdded. What about naming them spanBeforeMedia and spanAfterMedia, respectively? That's easier to grok.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah :) makes sense..

@0nko
Copy link
Contributor Author

0nko commented Feb 11, 2017

Thanks for the quick review @theck13.

Copy link
Contributor

@theck13 theck13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants