[MonoDevelop] SourceEditorDisplayBinding.patch

Lluis Sanchez lluis at ximian.com
Mon Aug 14 07:19:17 EDT 2006


El ds 12 de 08 del 2006 a les 20:02 +0100, en/na James Fitzsimons va
escriure:
> Hi all,
> Work commitments and a busy summer has kept me from finishing this but I
> have a new version ready.

The patch looks great!
I had some crashes though, when trying to open a file not belonging to a
project, or when opening a nemerle file.

> 
> > 
> >       * It would be nice to add an option to the editor configuration
> >         panel to enable/disable the class bar.
> This one is done, not sure if it is the best place but you can turn the
> class bar on and off on the behaviour tab of the text editor properties.

Maybe a better place is the General section. Behavior is more for the
text editing behavior.

> 
> >       * It would be nice to always show in the method combo the method
> >         on which the editor cursor is positioned.
> I spent some time looking into this one. I thought it would be easy but 
> unfortunately I am struggling to find a way to figure out what method the
> cursor is currently in. As I probably won't have much time to work on
> this in the immediate future I've added it to my TODO list and thought
> I'd submit a patch without it. Better to have some features than none at
> all right!

It's easy. Each method has a body region, so you only need to loop
through all methods and find the one which contains the cursor position.

Lluis.




More information about the Monodevelop-list mailing list