isFirst() & isLast() improvements
isFirst() & isLast() improvements

Slightly improved the isFirst() and isLast() methods on the TextElement
class by not using .index() and comparing the first/last element directly
to `this`.

ericcornelissen/htmlarea,ericcornelissen/htmlarea,ericcornelissen/html-area