I noted that Vim uses the proportional windows default font for his inputdialog text. (The same font as the gvim menu font)
If I create an inputdialog like this:
Let question = "Which formatting?
\ \n
\ \n1) %.2f --> Floating point number, 2 decimals
\ \n2) %10d --> Integer Right aligned (width 10)
\ \n3) %02d --> Integer with 1 leading zero
\ \n4) %g --> Floating point number, as %f or %e depending on value
\ \n5) etc
\"
let a = inputdialog(question)
The output is not aligned at all. I want to align the field starting with %, the '-->' field and the field after the '-->'.
How can I do this?
I also tried to use tabs but the result is the same.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, July 27, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment