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

Miguel de Icaza miguel at ximian.com
Sun Apr 22 13:02:52 EDT 2007


Hello,

> > essentially, what the docs tell us, is to create a new PangoEngineLang
> > class and implement the script_break () method, though there is an
> > issue with this solution:
> > according to monodoc, Pango# does not allow us to implement
> > script_break, maybe we could add a ScriptBreakFunc property? this way
> > we still allow the use of pango_default_break () when the property is
> > set to null and we can override it whenever we want

What I could never figure out was how to hook up the new PangoEngineLang
into the pango pipeline.

But if we could do this, we do not have to modify Gtk# (which would take
a full cycle of releases to go), but we could probably just safely
P/Invoke the proper method to do this.

Or even have the C code that implements the new engine to set the
attribute into whatever Pango object we need.

Miguel


More information about the Monodevelop-list mailing list