I did not have time to took at the patch, but form the description,
I'd say it's great! :)

More shared code between UIs can mean only good.
I also hope this will help speed up pango rendering in the future.

-- JP

On Sun, May 24, 2009 at 9:23 PM, Colin McQuillan
<[email protected]> wrote:
>
> Sun May 24 15:10:14 EDT 2009  [email protected]
>  * Separate layout and rendering code
>  Ignore-this: 91890b0c750210471ce03c7c73449cf1
>  The most important change here is that the type of refresh is Editor -> IO 
> () instead of Editor -> IO Editor. rendering is no longer a necessary part of 
> handling Yi actions.
>
>  I hope this makes future optimizations easier. This change is part of an 
> attack on Issue 265: Slow pasting, but does not yet produce any speedup.
>
>    M ./Yi/Buffer/HighLevel.hs -11 +36
>    M ./Yi/Buffer/Misc.hs -12 +5
>    A ./Yi/Buffer/Misc.hs-boot
>    M ./Yi/Buffer/Region.hs -7 +3
>    M ./Yi/Core.hs -6 +9
>    M ./Yi/Editor.hs -1 +5
>    M ./Yi/UI/Common.hs -4 +4
>    M ./Yi/UI/Pango.hs -86 +77
>    M ./Yi/UI/Utils.hs -13
>    M ./Yi/UI/Vty.hs -78 +54
>    M ./Yi/Window.hs -6 +11
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to