Allow SVG text tool to check whether it can edit the layer.
This moves some strings, but I wonder if this shouldn't be generalized more, so that @tymond can use it in the panel tool as well.
Test Plan
- Create a document with multiple vector layers.
- Hide and/or lock some of those layers.
- Try to use the text tool to add to each layer.
- When the layer is hidden/locked, it should give a floating message.
Edited by Wolthera van Hövell