Good... you had me worried. :-) I've just submitted an additional
patch that takes care of the tabs as well.
-KQ
On Mar 21, 8:15 pm, Kevin Ballard wrote:
> Ahh, apparently it does collapse backwards as well. I probably had a hard
> tab behind the cursor in my initial test case, which would ex
Ahh, apparently it does collapse backwards as well. I probably had a hard
tab behind the cursor in my initial test case, which would explain why it
didn't get collapsed.
-Kevin Ballard
On Sat, Mar 21, 2009 at 5:40 PM, wrote:
>
> I intended justOneSep to handle full collapse of spacing, both
> fo
This patch seems to make things a bit worse for me:
1. Start with a file that is larger than the current screen (emacs
keybindings)
2. Ctrl-L to center current line vertically
3. Ctrl-X 2 to split windows. Cursor is now in bottom window.
Issue#1: Ctrl-X -- immediately, the *top* window redraws
unitSep is intended to return true on whitespace separating words. I
implemented two forms, where unitSepThisLine should be constrained to
the current line but unitSep is not (I didn't end up using unitSep but
it seemed like an orthogonal function to add while I was implementing
those). So unitS
I intended justOneSep to handle full collapse of spacing, both
forwards and backwards, and it seems to work that way for my tests.
Do you have a sample where this isn't working?
Thanks for the update on the tabs... I had assumed that
Data.Char.isSeparator would have returned true for tabs, but in
Sat Mar 21 18:07:10 EDT 2009 ke...@sb.org
* Fix compilation of Yi.UI.Cocoa
Ignore-this: 419d64c209b927ffc6a772c6792746cd
M ./Yi/UI/Cocoa.hs -3 +3
--~--~-~--~~~---~--~~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi
Sat Mar 21 14:20:02 EDT 2009 Sergei Trofimovich
* fix yi.hs recompilation failure when monads-fd are used
Ignore-this: 16448da4b60b285dbb82bba6151379a0
Trying to use transformers in yi.hs leads to compilation failures,
when mtl library is installed (I have it with lambdabot, which use
justOneSep doesn't match Emacs's just-one-space function. justOneSep only
deletes spaces going forward, but just-one-space not only also deletes tabs,
it checks backwards as well, so it deletes all spaces/tabs around the cursor
to leave only a single space.
On Fri, Mar 20, 2009 at 2:27 PM, Jean-Ph