[MonoDevelop] [PATCH] Include _ on double-click selectionof words

Jeffrey Stedfast fejj at novell.com
Wed Apr 18 13:56:53 EDT 2007


As Lluis was hinting at, the proper fix for this would be to somehow
provide Pango with a new word-boundary policy (which the Pango API sorta
has a way of doing, it just doesn't actually work - I don't remember all
the details, it was something Miguel and I looked into a while back).

Jeff

On Wed, 2007-04-18 at 19:46 +0200, Lluis Sanchez wrote:
> I think this patch should not be committed since it is not a solution to
> the real problem: GtkSourceView follows Pango's policy for detecting
> word boundaries. The patch may fix the case of selecting using
> double-click, but there are cases which would still be incorrect (e.g.
> selecting using control+shift+left/right, or navigating through code
> using control+left/right, or selecting a block of words by double
> clicking on the first word and then dragging the pointer).
> 
> We need a more generic solution that covers all those cases (and I don't
> even know if there is a solution for all cases).
> 
> Lluis.
> 
> El dc 18 de 04 del 2007 a les 17:46 +0200, en/na Ben Motmans va
> escriure:
> > this patch fixes http://bugzilla.ximian.com/show_bug.cgi?id=81192
> > 
> > let me know if it is ok to commit
> > 
> > thx,
> > -- Ben
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list