From: H.G. Muller Date: Tue, 27 Oct 2009 19:24:56 +0000 (-0700) Subject: fix for bug #27826: ported two options to xboard X-Git-Tag: v4.4.1~9 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=365074491242f8c2ddb6cdd387908c20419a6b4a;p=xboard.git fix for bug #27826: ported two options to xboard also updated the documentation --- diff --git a/xboard.c b/xboard.c index 7ce417c..42192a5 100644 --- a/xboard.c +++ b/xboard.c @@ -1416,6 +1416,12 @@ XtResource clientResources[] = { { "useInternalWrap", "useInternalWrap", XtRBoolean, sizeof(Boolean), XtOffset(AppDataPtr, useInternalWrap), XtRImmediate, (XtPointer) True}, + { "autoDisplayTags", "autoDisplayTags", XtRBoolean, + sizeof(Boolean), XtOffset(AppDataPtr, autoDisplayTags), + XtRImmediate, (XtPointer) True}, + { "autoDisplayComment", "autoDisplayComment", XtRBoolean, + sizeof(Boolean), XtOffset(AppDataPtr, autoDisplayComment), + XtRImmediate, (XtPointer) True}, }; XrmOptionDescRec shellOptions[] = { @@ -1788,6 +1794,8 @@ XrmOptionDescRec shellOptions[] = { { "-keepLineBreaksICS", "keepLineBreaksICS", XrmoptionSepArg, NULL }, { "-wrapContinuationSequence", "wrapContinuationSequence", XrmoptionSepArg, NULL }, { "-useInternalWrap", "useInternalWrap", XrmoptionSepArg, NULL }, + { "-autoDisplayTags", "autoDisplayTags", XrmoptionSepArg, NULL }, + { "-autoDisplayComment", "autoDisplayComment", XrmoptionSepArg, NULL }, }; XtActionsRec boardActions[] = { diff --git a/xboard.texi b/xboard.texi index 1fb07e7..5686c70 100644 --- a/xboard.texi +++ b/xboard.texi @@ -2086,6 +2086,14 @@ Sets the Animate Moving menu option. @xref{Options Menu}. Default: true. @cindex -animateSpeed, option Number of milliseconds delay between each animation frame when Animate Moves is on. +@item -autoDisplayComment true/false +@itemx -autoDisplayTags true/false +@cindex -autoDisplayComment, option +@cindex -autoDisplayTags, option +If set to true, these options cause the window with the move comments, +and the window with PGN tags, respectively, to pop up automatically when +such tags or comments are encountered during the replaying a stored or +loaded game. @end table @node Adjudication Options