Ben Schmidt wrote: > Erik Falor wrote: >> While writing a guitabtooltip function, I discovered that the >> tooltips in Win32 don't properly handle backslash-escaped chars. >> In particular, '\n' comes out as a box, and '\t' appears to terminate >> the string like '\0'. >> >> The GTK gui on Linux, however, works as expected. > > I for one would be interested in knowing what actually is 'expected' in this > circumstance. I personally think that's quite unclear and am not at all > surprised > there is a difference between platforms. > > I guess it's obvious that \n should be a newline. But should they be left > justified? Or centered? Or...? > > If tabs are used, should they line up, given the proportional font? What > width > should they be? Etc.? > > Cheers, > > Ben.
On Windows, where the OS-standard line break is \r\n, shouldn't _that_ also be used to break lines in a tooltip? And what about Mac? Best regards, Tony. -- hundred-and-one symptoms of being an internet addict: 204. You're being audited because you mailed your tax return to the IRC. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---