[MonoDevelop] Possible refactoring in ConsoleView.cs

Jay Bazuzi jay at bazuzi.com
Tue Aug 7 07:18:40 UTC 2012


I forked ConsoleView.cs from MonoDevelop for my own project. I did this
refactoring to use a dispatch table for KeyPressEvents, instead of a series
of if/else.

You may want to do the same thing in the MonoDevelop codebase.

https://github.com/JayBazuzi/Pash2/commit/1a2703dcd63887c57fbe9ea0be21e8de6c3c7424

-J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120807/29f90866/attachment.html>


More information about the Monodevelop-list mailing list