summaryrefslogtreecommitdiff
path: root/xc
diff options
context:
space:
mode:
authorkit <empty>1989-10-19 15:00:38 +0000
committerkit <empty>1989-10-19 15:00:38 +0000
commit29b6443a4d1ce2a2b3e93c273bd3b0ffd86e04f1 (patch)
tree46c7f3db62f9821403df62dea5fa907438d64ba1 /xc
parentb6efc9073f1f0334ec9933fa85c96cc76436ed96 (diff)
Some minor housekeeping stuff, I noticed when writing docs.
Diffstat (limited to 'xc')
-rw-r--r--xc/lib/Xaw/Text.c4
-rw-r--r--xc/lib/Xaw/Text.h24
-rw-r--r--xc/lib/Xaw/TextTr.c6
3 files changed, 17 insertions, 17 deletions
diff --git a/xc/lib/Xaw/Text.c b/xc/lib/Xaw/Text.c
index bcaaac237..4b4aacb26 100644
--- a/xc/lib/Xaw/Text.c
+++ b/xc/lib/Xaw/Text.c
@@ -1,5 +1,5 @@
#if (!defined(lint) && !defined(SABER))
-static char Xrcsid[] = "$XConsortium: Text.c,v 1.117 89/09/15 12:09:13 kit Exp $";
+static char Xrcsid[] = "$XConsortium: Text.c,v 1.118 89/10/09 16:20:24 jim Exp $";
#endif /* lint && SABER */
/***********************************************************
@@ -2641,7 +2641,6 @@ int options;
else
ctx->text.wrap = XawtextWrapNever;
}
-#endif /* XAW_BC */
int
XawTextGetOptions(w)
@@ -2649,6 +2648,7 @@ Widget w;
{
return(((TextWidget) w)->text.options);
}
+#endif /* XAW_BC */
void
XawTextSetSelection (w, left, right)
diff --git a/xc/lib/Xaw/Text.h b/xc/lib/Xaw/Text.h
index 2ae943786..0cc77f3e1 100644
--- a/xc/lib/Xaw/Text.h
+++ b/xc/lib/Xaw/Text.h
@@ -1,5 +1,5 @@
/*
-* $XConsortium: Text.h,v 1.30 89/09/01 14:30:05 kit Exp $
+* $XConsortium: Text.h,v 1.31 89/09/06 17:30:10 kit Exp $
*/
@@ -215,6 +215,17 @@ typedef long XtTextPosition;
#define XtStringSourceCreate XawStringSourceCreate
#define XtStringSourceDestroy XawStringSourceDestroy
+extern void XawTextChangeOptions(); /* w, options */
+ /* Widget w; */
+ /* int options; */
+
+extern int XawTextGetOptions(); /* w */
+ /* Widget w; */
+
+extern void XawTextSetLastPos(); /* w, lastPos */
+ /* Widget w; */
+ /* XawTextPosition lastPos; */
+
/*************************************************************/
#endif /* XAW_BC */
@@ -231,10 +242,6 @@ extern void XawTextSetSelectionArray(); /* w, sarray */
/* Widget w; */
/* SelectionType *sarray; */
-extern void XawTextSetLastPos(); /* w, lastPos */
- /* Widget w; */
- /* XawTextPosition lastPos; */
-
extern void XawTextGetSelectionPos(); /* dpy, w, left, right */
/* Widget w; */
/* XawTextPosition *left, *right; */
@@ -262,13 +269,6 @@ extern XawTextPosition XawTextGetInsertionPoint(); /* w */
extern void XawTextUnsetSelection(); /* w */
/* Widget w; */
-extern void XawTextChangeOptions(); /* w, options */
- /* Widget w; */
- /* int options; */
-
-extern int XawTextGetOptions(); /* w */
- /* Widget w; */
-
extern void XawTextSetSelection(); /* w, left, right */
/* Widget w; */
/* XawTextPosition left, right; */
diff --git a/xc/lib/Xaw/TextTr.c b/xc/lib/Xaw/TextTr.c
index d15999eb2..9e360ea86 100644
--- a/xc/lib/Xaw/TextTr.c
+++ b/xc/lib/Xaw/TextTr.c
@@ -1,4 +1,4 @@
-/* $XConsortium: TextTr.c,v 1.9 89/07/18 19:11:21 kit Exp $ */
+/* $XConsortium: TextTr.c,v 1.10 89/08/18 14:31:54 kit Exp $ */
char *_XawDefaultTextTranslations1 =
"\
@@ -22,7 +22,7 @@ Ctrl<Key>T: transpose-characters() \n\
Ctrl<Key>U: multiply(4) \n\
Ctrl<Key>V: next-page() \n\
Ctrl<Key>W: kill-selection() \n\
-Ctrl<Key>Y: unkill() \n\
+Ctrl<Key>Y: insert-selection(CUT_BUFFER1) \n\
Ctrl<Key>Z: scroll-one-line-up() \n\
", *_XawDefaultTextTranslations2 = "\
Meta<Key>B: backward-word() \n\
@@ -31,7 +31,7 @@ Meta<Key>I: insert-file() \n\
Meta<Key>K: kill-to-end-of-paragraph() \n\
Meta<Key>Q: form-paragraph() \n\
Meta<Key>V: previous-page() \n\
-Meta<Key>Y: stuff() \n\
+Meta<Key>Y: insert-selection(CUT_BUFFER1) \n\
Meta<Key>Z: scroll-one-line-down() \n\
:Meta<Key>d: delete-next-word() \n\
:Meta<Key>D: kill-word() \n\