Hi Tobia,

2008/10/6 Tobia Conforto <[EMAIL PROTECTED]>:
>
> I would like to know, from Björn and others, how difficult would it be
> to patch the MacVim code to enable proportional font editing.
>
> I've gone as far as... erm, a fake screenshot in the Gimp:
> http://img73.imageshack.us/img73/9909/mockup2db6.png
>
> Am I insane for thinking it would be nice?

I don't think you're insane for thinking it would be nice, but it
could possibly classify as insane to try to implement something like
that.  :-)

That being said, you can have proportional editing up and running in
about 5 minutes using the NSTextView renderer.  Simply go into
MMTextStorage.m and delete all references to
NSFontFixedAdvanceAttribute and then rebuild and choose a proportional
font.

Did I get your hopes up?  Well, I'm sorry but the above solution is
just a hack at best.  I don't think it is feasible to get proportional
editing working properly with Vim.  Just think of what would happen to
vertical splits with a proportional font -- the split would not be
straight.  I'm sure there would be a million similar problems.  Don't
let me stop you from trying though!

Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to