man2help: \w macro not supported
Closed / Duplicate1034954fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-26 11:25:21
Tk: v8.5a2 OS: WinXPsp2 Built with makefile.vc using VC7 \w macros aren't reconized by man2help. This patch adds the macro to man2help2.tcl and adds support for single quote "'" quoted text in man2tcl.c so that this will work.
wildcard_25plain2004-09-26 18:25:22
File Added - 102828: w macro.patch
davygrvyplain2004-10-07 05:24:59
Logged In: YES user_id=7549 I'll look these over.
dkfplain2004-10-07 15:14:03
Logged In: YES user_id=79902 \w'text' is an *roff escape sequence that is replaced by the width of "text" in the current font. With a bit of luck you can ignore them...?
wildcard_25plain2004-10-07 21:32:59
Logged In: YES user_id=596509 The missing \w macro was originally reported in bug 983146. This patch adds rudimentary support for this macro. It doesn't calculate the exact width, but uses a 'magic number' (average width of a character) that was already provided in the code. This macro is currently only used in Tk's bind.n, but by supporting it, it is possible to implement a working version of the .AS macro.
wildcard_25plain2004-10-17 13:10:24
Logged In: YES user_id=596509 Now duplicated in bug 1034983
Log in (anonymous is fine) to add a comment.
Attachments:
- w macro.patch [download] added by wildcard_25 on 2004-09-26 18:25:22. [details]