Tue Aug 11 05:10:25 EDT 2009 [email protected]
* Let the window region be a mere value
Ignore-this: 7398fca5647509ae51e363b9f8b09b93
This simplifies things for what's coming.
Also, this probably speeds up things, since the region is calculated
only once per layout. When it's a function from FBuffer, it must be
recomputed every time the region is fetched.
(And I'm just about to add a systematic usage of the region field right
after the layout)
M ./src/Yi/Buffer/Region.hs -4 +2
M ./src/Yi/Editor.hs -1 +1
M ./src/Yi/UI/Pango.hs -4 +5
M ./src/Yi/UI/Vty.hs -12 +13
M ./src/Yi/Window.hs -5 +3
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---