Mapped list with index
Note that some of this (the update of gradle) is on another PR #82 .
The purpose of this is based on issue seen in RichTextFX where we need to get the index of the line when a paragraph is changed. For that I created a mapped list which uses a mapping function with the index.
This change should be relatively safe as it is a new type of mapped list next to the existing one (and I abstracted the existing code to avoid duplication).
This is based on following issue: https://github.com/FXMisc/RichTextFX/issues/1273
That's a very good comment, I should have thought about it (sometimes one can do some over-the-top solution ;-) ). I'm fixing and pushing the change