Issue 187 in yi-editor: Double-length unicode characters can mess the display

2009-05-19 Thread codesite-noreply
Comment #15 on issue 187 by coreyoconnor: Double-length unicode characters can mess the display http://code.google.com/p/yi-editor/issues/detail?id=187 Updated the test data to have the proper utf-8 for the given Mandarin sentence. (Which is ni hao ma "How are you?" btw) Able to view the te

patch applied (yi): updating issue 187 test text to have proper utf-8

2009-05-19 Thread Corey O'Connor
Wed May 20 02:23:37 EDT 2009 coreyocon...@gmail.com * updating issue 187 test text to have proper utf-8 Ignore-this: 775d721dc2d2446f41e2c0f9c9b97f83 M ./tests/data/issue_187.txt -1 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroup

Re: patch applied (yi): Fixes scrolling when > 1 window views the same buffer in the current tab

2009-05-19 Thread Nicolas Pouillard
Excerpts from Jean-Philippe Bernardy's message of Tue May 19 20:10:43 +0200 2009: > > This sounds like a good plan. As for the vim keymap bug, I can't > figure out what happens just yet, as pg-down works well in emacs > keymap... No, page-down is also broken for emacs. -- Nicolas Pouillard -

Re: patch applied (yi): Fixes scrolling when > 1 window views the same buffer in the current tab

2009-05-19 Thread Jean-Philippe Bernardy
This sounds like a good plan. As for the vim keymap bug, I can't figure out what happens just yet, as pg-down works well in emacs keymap... -- JP On Tue, May 19, 2009 at 5:49 PM, Corey O'Connor wrote: > > I agree that moving the point drive to a window specific property is > correct. However con

Re: Getting the AST from the JavaScript source

2009-05-19 Thread Jean-Philippe Bernardy
You can add a mode-dependent function on the model of modeFollow; start looking in the datatype Mode in Yi.Buffer.Misc. On Tue, May 19, 2009 at 6:51 PM, Deniz Dogan wrote: > > Hi all, > > I'm currently trying to write a light-weight verifier (think > jslint[1]) for the JavaScript mode.  My verif

patch applied (yi): MiniBuffer.hs: typo fix

2009-05-19 Thread Deniz Dogan
Tue May 19 13:36:05 EDT 2009 deniz.a.m.do...@gmail.com * MiniBuffer.hs: typo fix Ignore-this: cf7403eca2132bcfa6d1e1ce45742eb7 M ./Yi/MiniBuffer.hs -3 +3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/

patch applied (yi): JS: Minor cleanup.

2009-05-19 Thread Deniz Dogan
Tue May 19 13:17:18 EDT 2009 deniz.a.m.do...@gmail.com * JS: Minor cleanup. Ignore-this: 5312f62beae661c30eca7c8d9fa7bac5 M ./Yi/Mode/JavaScript.hs -1 +1 M ./Yi/Syntax/JavaScript.hs -2 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@goog

Getting the AST from the JavaScript source

2009-05-19 Thread Deniz Dogan
Hi all, I'm currently trying to write a light-weight verifier (think jslint[1]) for the JavaScript mode. My verifier has the type "verify :: Tree -> IO ()" (kind of), so it needs the AST which is returned from the JavaScript parser. How do I extract that information? Thanks, Deniz [1] http://w

Re: patch applied (yi): Fixes scrolling when > 1 window views the same buffer in the current tab

2009-05-19 Thread Corey O'Connor
I agree that moving the point drive to a window specific property is correct. However control-b and control-f in the vim keymap no longer scroll in any case. I think something is still missing. I would like to push the management of the window region and insertion point into a true controller lay

Re: patch applied (yi): Fixes scrolling when > 1 window views the same buffer in the current tab

2009-05-19 Thread Jean-Philippe Bernardy
I pushed patches which simplify the code and (hopefully) fixes this the "proper" way. Cheers, JP. On Tue, May 19, 2009 at 5:45 AM, Corey O'Connor wrote: > > Mon May 18 23:37:57 EDT 2009  coreyocon...@gmail.com >  * Fixes scrolling when > 1 window views the same buffer in the current tab >  Prev

patch applied (yi): revert to a synchronous logic for refreshing

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 11:09:16 EDT 2009 jeanphilippe.berna...@gmail.com * revert to a synchronous logic for refreshing Ignore-this: 14cecdd3b05fa7867000e20b52ffa20e * Also properly fix the pointDrive/multi-window scrolling issue This simplifies the code; and the async refresh was not working a

patch applied (yi): Wall

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 11:07:46 EDT 2009 jeanphilippe.berna...@gmail.com * Wall Ignore-this: 4667e7049a2a3143951955f1063918af M ./Yi/Misc.hs -2 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--

patch applied (yi): put preciseMode in the list of available modes

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 11:06:45 EDT 2009 jeanphilippe.berna...@gmail.com * put preciseMode in the list of available modes Ignore-this: db3e51b4918ae411ccdc7ff5ed07f677 M ./Yi/Config/Default.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups

patch applied (yi): typo

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 10:47:06 EDT 2009 jeanphilippe.berna...@gmail.com * typo Ignore-this: 9ba0094a5cd6aa0d633e854d749be0ed M ./Yi/Syntax/Haskell.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-

patch applied (yi): some more unicode

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 10:46:47 EDT 2009 jeanphilippe.berna...@gmail.com * some more unicode Ignore-this: 2caab4abe3a665dfc788443da5dbdeb6 M ./Yi/Char/Unicode.hs +7 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/g

patch applied (yi): latex: use BList

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 10:12:29 EDT 2009 jeanphilippe.berna...@gmail.com * latex: use BList Ignore-this: 3fa5d23563a46a05bfcb23be7356b0fb M ./Yi/Mode/Latex.hs -1 +1 M ./Yi/Syntax/Latex.hs -24 +40 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegr

patch applied (yi): revert scrollB

2009-05-19 Thread Jean-Philippe Bernardy
Tue May 19 10:00:35 EDT 2009 jeanphilippe.berna...@gmail.com * revert scrollB Ignore-this: 4983dee1011345268151a9f171f71391 M ./Yi/Buffer/HighLevel.hs -5 +5 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.c