Code

Implement snapping in the text tool