[Geany-devel] ui_editable_insert_text_callback

Nick Treleaven nick.treleaven at xxxxx
Tue Nov 2 17:15:41 UTC 2010


On Sat, 30 Oct 2010 16:45:06 +0300
Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:

> On Fri, 29 Oct 2010 18:22:17 +0100
> Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> 
> > > > > 2. 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.

Committed, thanks.

Nick



More information about the Devel mailing list