On Fri, 29 Oct 2010 18:22:17 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
- ui_editable_insert_text_callback() checks only the first character
(assuming typing?), so you can, say, paste 1boza in Go to line.
I can't reproduce this using Go to Line.
Type 1boza in a document, mark it, Ctrl-C, Go to Line, Ctrl-V. It must work, only gchar c = *new_text is checked with isdigit().
Oops, you're right about pasting.
Here is a proper check.