Create a model for getting line numbers from a QQuickTextDocument and then add them to the MessageSource page