#include <X11/Xmu/Converters.h>#include <mi32/xewbasic.h>Include dependency graph for text.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | XeFont |
| struct | XeItemization |
| struct | XeTabStop |
| struct | XeTextHyperlinkCallbackData |
| struct | XeTextLayoutCallbackData |
| struct | XeTextSyntaxParseCallbackData |
Defines | |
| #define | XeCenableContextMenu "EnableContextMenu" |
| #define | XeCHideCursorWhenNoFocus "HideCursorWhenNoFocus" |
| #define | XeCKeepEndVisable "KeepEndVisable" |
| #define | XeCTabInterval "TabInterval" |
| #define | XeCUseFixedWidthFont "UseFixedWidthFont" |
| #define | XeCWordWrap "WordWrap" |
| #define | XeCWysiwyg "Wysiwig" |
| #define | XeNenableContextMenu "enableContextMenu" |
| #define | XeNhideCursorWhenNoFocus "hideCursorWhenNoFocus" |
| #define | XeNkeepEndVisable "keepEndVisable" |
| #define | XeNtabInterval "tabInterval" |
| #define | XeNuseFixedWidthFont "useFixedWidthFont" |
| #define | XeNwordWrap "wordWrap" |
| #define | XeNwysiwyg "wysiwyg" |
| #define | XeTEXT_BGBlack "\033[40m" |
| #define | XeTEXT_BGBlue "\033[44m" |
| #define | XeTEXT_BGCyan "\033[46m" |
| #define | XeTEXT_BGDefault "\033[49m" |
| #define | XeTEXT_BGGreen "\033[42m" |
| #define | XeTEXT_BGMagenta "\033[45m" |
| #define | XeTEXT_BGRed "\033[41m" |
| #define | XeTEXT_BGWhite "\033[47m" |
| #define | XeTEXT_BGYellow "\033[43m" |
| #define | XeTEXT_BoldOff "\033[22m" |
| #define | XeTEXT_BoldOn "\033[1m" |
| #define | XeTEXT_FGBlack "\033[30m" |
| #define | XeTEXT_FGBlue "\033[34m" |
| #define | XeTEXT_FGCyan "\033[36m" |
| #define | XeTEXT_FGDefault "\033[39m" |
| #define | XeTEXT_FGGreen "\033[32m" |
| #define | XeTEXT_FGMagenta "\033[35m" |
| #define | XeTEXT_FGRed "\033[31m" |
| #define | XeTEXT_FGWhite "\033[37m" |
| #define | XeTEXT_FGYellow "\033[33m" |
| #define | XeTEXT_FrameBox "\033[51m" |
| #define | XeTEXT_FrameCircled "\033[52m" |
| #define | XeTEXT_FrameNone "\033[54m" |
| #define | XeTEXT_ItaliacOff "\033[23m" |
| #define | XeTEXT_ItaliacOn "\033[3m" |
| #define | XeTEXT_LinkEnd "\033[25m" |
| #define | XeTEXT_LinkHREF "\033[5m" |
| #define | XeTEXT_LinkText "\033[6m" |
| #define | XeTEXT_OverlineOff "\033[55m" |
| #define | XeTEXT_OverlineOn "\033[53m" |
| #define | XeTEXT_UnderlineOff "\033[24m" |
| #define | XeTEXT_UnderlineOn "\033[4m" |
| #define | XeTextExportFormatted(f) ((f)&1) |
| #define | XeTextExportOdif(f) ((f)&2) |
| #define | XeTextMakeEndVisible XeTextMakeEndVisable |
| #define | XtCAlignment "Alignment" |
| #define | XtCColumnWidth "ColumnWidth" |
| #define | XtCExportFormat "ExportFormat" |
| #define | XtCFonts "Fonts" |
| #define | XtCFormat "Format" |
| #define | XtCHyperlinkCallback "HyperlinkCallback" |
| #define | XtCIndentation "Indentation" |
| #define | XtCItemization "Itemization" |
| #define | XtCKerningOffset "KerningOffset" |
| #define | XtCLayoutCallback "LayoutCallback" |
| #define | XtCLineLayoutTable "LineLayoutTable" |
| #define | XtCLineSpacing "LineSpacing" |
| #define | XtCOffset "Offset" |
| #define | XtCProportional "Proportional" |
| #define | XtCRendition "Rendition" |
| #define | XtCSequence "Sequence" |
| #define | XtCSyntaxHighlighting "SyntaxHighlighting" |
| #define | XtCSyntaxParserCallback "SyntaxParserCallback" |
| #define | XtNalignment "alignment" |
| #define | XtNcolumnWidth "columnWidth" |
| #define | XtNexportFormat "exportFormat" |
| #define | XtNfirstLineOffset "firstLineOffset" |
| #define | XtNfonts "fonts" |
| #define | XtNformat "format" |
| #define | XtNgraphicRendition "graphicRendition" |
| #define | XtNhyperlinkCallback "hyperlinkCallback" |
| #define | XtNindentation "indentation" |
| #define | XtNinitialState "initialState" |
| #define | XtNitemization "itemization" |
| #define | XtNkerningOffset "kerningOffset" |
| #define | XtNlayoutCallback "layoutCallback" |
| #define | XtNlineLayoutTable "lineLayoutTable" |
| #define | XtNlineSpacing "lineSpacing" |
| #define | XtNproportional "proportional" |
| #define | XtNsyntaxHighlighting "syntaxHighlighting" |
| #define | XtNsyntaxParserCallback "syntaxParserCallback" |
| #define | XtRKerningOffset "XeKerningOffset" |
| #define | XtRXeAlignment "XeAlignment" |
| #define | XtRXeFonts "XeFonts" |
| #define | XtRXeItemization "XeItemization" |
| #define | XtRXeLineLayoutTable "XeLineLayoutTable" |
| #define | XtRXeTextExport "XeTextExport" |
Typedefs | |
| typedef XeFontListRec * | XeFontList |
| typedef XeTextInsertContextRec * | XeTextInsertContext |
| typedef XtPointer | XeTextTag |
| typedef _XeTextRec * | XeTextWidget |
| typedef _XeTextClassRec * | XeTextWidgetClass |
Enumerations | |
| enum | XeAlignment { XeAlignment_NONE, XeAlignment_START, XeAlignment_END, XeAlignment_CENTER, XeAlignment_JUSTIFIED, XeAlignment_AROUND } |
| enum | XeSyntaxState { XeSYNTAX_Normal = 0, XeSYNTAX_Keyword, XeSYNTAX_Constant, XeSYNTAX_SingleQuotedString, XeSYNTAX_DoubleQuotedString, XeSYNTAX_Comment, XeSYNTAX_Function } |
| enum | XeTextExport { XeTextExport_STRING = 0, XeTextExport_STRING_F = 1, XeTextExport_ODIF = 2, XeTextExport_ODIF_F = 3, XeTextExport_ODIF_FP = 7, XeTextExport_TILDE = 8 } |
Functions | |
| Widget | XeCreateScrolledText (Widget, char *, Arg *, Cardinal) |
| Widget | XeCreateText (Widget, char *, Arg *, Cardinal) |
| void | XeTextLayout (Widget) |
| void | XeTextMakeEndVisable (Widget) |
| bool | XeTextOffset2LinCol (Widget widget, int offset, int &line, int &col) |
| void | XeTextRemove (Widget) |
| void | XeTextSetColor (Widget widget, int colorindex, const COLOR &color) |
| void | XeTextSetWidthFromString (Widget widget, const char *str) |
| _XFUNCPROTOEND void | XeTextSetWidthFromString (Widget widget, const MIUNICODE *str) |
Variables | |
| _XFUNCPROTOBEGIN WidgetClass | xeTextWidgetClass |
| typedef struct XeFontListRec* XeFontList |
| typedef struct XeTextInsertContextRec* XeTextInsertContext |
| typedef struct _XeTextRec* XeTextWidget |
| typedef struct _XeTextClassRec* XeTextWidgetClass |
| enum XeAlignment |
| enum XeSyntaxState |
| enum XeTextExport |
| void XeTextLayout | ( | Widget | ) |
| void XeTextMakeEndVisable | ( | Widget | ) |
| bool XeTextOffset2LinCol | ( | Widget | widget, | |
| int | offset, | |||
| int & | line, | |||
| int & | col | |||
| ) |
Convert an offset (from start of string) to line/col.
Numbers returned start at 0, so add 1 if showing to user. Returns true if offset is within the current content, false if not.
| void XeTextRemove | ( | Widget | ) |
Change the colors in the ANSI color map.
This changes the colors used for the ANSI escape sequences <ESC>[30m - <ESC>[37m (foreground colors) <ESC>[40m - <ESC>[47m (background colors) The index parameter must be in the range of 0 - 7 The default colors are...
0 - black 1 - red 2 - green 3 - yellow 4 - blue 5 - magenta 6 - cyan 7 - white
| void XeTextSetWidthFromString | ( | Widget | widget, | |
| const char * | str | |||
| ) |
Compute the width of a given string and set the widget to be just wide enough to handle the text.
Compute the width of a given string and set the widget to be just wide enough to handle the text.
| _XFUNCPROTOBEGIN WidgetClass xeTextWidgetClass |
1.5.2