Ticket UUID: | 1034954 | |||
Title: | man2help: \w macro not supported | |||
Type: | Bug | Version: | obsolete: 8.5a2 | |
Submitter: | wildcard_25 | Created on: | 2004-09-26 11:25:21 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | davygrvy | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2004-10-17 13:10:24 | |
Resolution: | Duplicate | Closed By: | wildcard_25 | |
Closed on: | 2004-10-17 06:10:24 | |||
Description: |
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. | |||
User Comments: |
wildcard_25 added on 2004-10-17 13:10:24:
Logged In: YES user_id=596509 Now duplicated in bug 1034983 wildcard_25 added on 2004-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. dkf added on 2004-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...? davygrvy added on 2004-10-07 05:24:59: Logged In: YES user_id=7549 I'll look these over. wildcard_25 added on 2004-09-26 18:25:22: File Added - 102828: w macro.patch |
Attachments:
- w macro.patch [download] added by wildcard_25 on 2004-09-26 18:25:22. [details]