2009/8/10 Jean-Philippe Bernardy <jpberna...@community.haskell.org>:
>
> Mon Aug 10 09:27:09 EDT 2009  jeanphilippe.berna...@gmail.com
>  * comments
>  Ignore-this: b27fdd78faa94df93f4aa39055e1ec5f
>
>  Colin: Do you know why the "getRegion" field of Window takes a Buffer 
> parameter?
>  There is only one buffer in the window...
>
>
>    M ./src/Yi/Window.hs -1 +2

One BufferRef, but many FBuffers. In this case, I want to be able to
tell if typing in a buffer has caused the cursor to go off the screen.
Typing and scrolling doesn't change the Window but it does change the
FBuffer.

Or in other words, the geometry of a window is given by a function
from text to layout information (in this case, the visible region).

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to