Initial attempt at making the scrollstyle configurable (with all the patches this time)

2010-10-12 Thread jwall
6 patches for repository http://code.haskell.org/yi/: Mon Oct 11 18:15:48 CDT 2010 jw...@google.com * Add a config setting for the style of scroll. After the last patch fixing the scrolling bug and making yi do scrolling in the style of vim the next logical step is to make this setting

Initial attempt at making the scrollstyle configurable

2010-10-12 Thread jwall
5 patches for repository /Users/jwall/sandbox/apps/yi-pristine: Tue Oct 12 17:16:10 CDT 2010 jw...@google.com * retrieve the scroll tyle in runEditor Tue Oct 12 17:34:34 CDT 2010 jw...@google.com * Actually use the ScrollStyle in the refreshEditor This patch compiles but I've y

darcs patch: fix scrolling so it no longer snaps to t... (and 2 more)

2010-10-06 Thread jwall
ditor -> Int -> (Window, Bool) -> Rendered hunk ./src/Yi/UI/Vty.hs 267 renderWindow cfg e width (win,hasFocus) = -let (rendered,_) = drawWindow cfg e hasFocus win width (height win) +let (rendered,_,_) = drawWindow cfg e hasFocus win width (height win) in rendered -- | Draw a windo

darcs patch: fix scrolling so it no longer snaps to t... (and 1 more)

2010-09-18 Thread jwall
ht win) +let (rendered,_,_) = drawWindow cfg e hasFocus win width (height win) in rendered -- | Draw a window hunk ./src/Yi/UI/Vty.hs 272 -- TODO: horizontal scrolling. -drawWindow :: UIConfig -> Editor -> Bool -> Window -> Int -> Int -> (Rendered, Region) -drawWindow cfg