155
How can I add a sensitive context menu

public void init()
{
	COM com_Context;
	anytype var_Context;
	;

	super();

	exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
	exedit1.Refresh();
	var_Context = COM::createFromObject(exedit1.Context()); com_Context = var_Context;
	com_Context.Add("class");
}
154
Can I use wild characters to define keys in your control

public void init()
{
	;

	super();

	exedit1.AddWild("<fgcolor=808080>(*)</fgcolor>");
	exedit1.Refresh();
}
153
Can I use wild characters to define keys in your control

public void init()
{
	;

	super();

	exedit1.AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>");
	exedit1.Refresh();
}
152
How can I remove or delete all expressions

public void init()
{
	;

	super();

	exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",COMVariant::createFromBoolean(false));
	exedit1.ClearExpressions();
	exedit1.Refresh();
}
151
How can I remove or delete an expression

public void init()
{
	;

	super();

	exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",COMVariant::createFromBoolean(false));
	exedit1.DeleteExpression("(");
	exedit1.Refresh();
}
150
How can I add an expression

public void init()
{
	;

	super();

	exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",COMVariant::createFromBoolean(false));
	exedit1.Refresh();
}
149
How can I add an expression on multiple lines

public void init()
{
	;

	super();

	exedit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",COMVariant::createFromBoolean(true));
	exedit1.Refresh();
}
148
How can I remove or delete all keywords
public void init()
{
	;

	super();

	exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>");
	exedit1.ClearKeywords();
	exedit1.Refresh();
}
147
How can I remove or delete keyword
public void init()
{
	;

	super();

	exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>");
	exedit1.DeleteKeyword("class");
	exedit1.Refresh();
}
146
How do I add a keyword that's not case sensitive

public void init()
{
	;

	super();

	exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>","","",COMVariant::createFromInt(2));
	exedit1.Refresh();
	exedit1.InsertText("ClasS\\r\\n",COMVariant::createFromInt(1));
	exedit1.InsertText("CLASS\\r\\n",COMVariant::createFromInt(1));
}
145
How do I add a keyword that's not case sensitive

public void init()
{
	;

	super();

	exedit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>","","",COMVariant::createFromInt(1));
	exedit1.Refresh();
	exedit1.InsertText("ClasS\\r\\n",COMVariant::createFromInt(1));
	exedit1.InsertText("CLASS\\r\\n",COMVariant::createFromInt(1));
}
144
How can I assign a tooltip to a keyword

public void init()
{
	;

	super();

	exedit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
	exedit1.Refresh();
}
143
How do I add a keyword

public void init()
{
	;

	super();

	exedit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>");
	exedit1.Refresh();
}
142
How do I add a keyword

public void init()
{
	;

	super();

	exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
	exedit1.Refresh();
}
141
How can I display a tooltip as soon as the user types a keyword

public void init()
{
	;

	super();

	exedit1.ToolTipDelay(1);
	exedit1.ToolTipOnTyping(true);
	exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
	exedit1.Refresh();
}
140
How do I change the color for a locked or a read only line

public void init()
{
	;

	super();

	exedit1.ForeColorLockedLine(WinApi::RGB2int(0,0,0));
	exedit1.BackColorLockedLine(WinApi::RGB2int(255,0,0));
	exedit1.LockedLine(1,true);
}
139
How do I lock or make read only a line

public void init()
{
	;

	super();

	exedit1.LockedLine(1,true);
}
138
How do I start overtyping

public void init()
{
	;

	super();

	exedit1.Overtype(true);
}
137
How do I get the selection

public void init()
{
	;

	super();

	exedit1.GetSelection(sy,sx,ey,ex);
	print( sy );
	print( sx );
	print( ey );
	print( ex );
}
136
How do I select multiple lines

public void init()
{
	;

	super();

	exedit1.SetSelection(COMVariant::createFromInt(0),COMVariant::createFromInt(0),COMVariant::createFromInt(10),COMVariant::createFromInt(0));
	exedit1.HideSelection(false);
}
135
How can I change the shape of the cursor when it hovers the selected text

public void init()
{
	;

	super();

	exedit1.Cursor(4/*exSelectedText*/,"exHelp");
	exedit1.SelLength(10);
	exedit1.HideSelection(false);
}
134
How can I change the shape of the cursor when it hovers the incremental search area

public void init()
{
	;

	super();

	exedit1.Cursor(3/*exIncrementalSearchArea*/,"exHelp");
}
133
How can I change the shape of the cursor when it hovers the line numbers area

public void init()
{
	;

	super();

	exedit1.Cursor(2/*exLineNumberArea*/,"exHelp");
	exedit1.LineNumberWidth(16);
}
132
How can I change the shape of the cursor when it hovers the bookmark area

public void init()
{
	;

	super();

	exedit1.Cursor(1/*exBookmarkArea*/,"exHelp");
	exedit1.BookmarkWidth(16);
}
131
How can I change the shape of the cursor when it hovers the edit
public void init()
{
	;

	super();

	exedit1.Cursor(0/*exEditArea*/,"exHelp");
}
130
How can I enable or disable OLE drag and drop operations
public void init()
{
	;

	super();

	exedit1.OLEDropMode(-1/*exOLEDropAutomatic*/);
}
129
How can I change the descriptions for items in the control's context menu

public void init()
{
	;

	super();

	exedit1.Caption(2/*exContextMenu*/,16384/*exContextUndo*/,"U N D O");
	exedit1.Caption(2/*exContextMenu*/,16385/*exContextRedo*/,"R E D O");
	exedit1.Caption(2/*exContextMenu*/,16387/*exContextCut*/,"C U T");
	exedit1.Caption(2/*exContextMenu*/,16388/*exContextCopy*/,"C O P Y");
	exedit1.Caption(2/*exContextMenu*/,16389/*exContextPaste*/,"P A S T E");
	exedit1.Caption(2/*exContextMenu*/,16390/*exContextDelete*/,"D E L");
	exedit1.Caption(2/*exContextMenu*/,16392/*exContextSelectAll*/,"A L L ");
}
128
How can I change the descriptions for fields in the Replace dialog

public void init()
{
	;

	super();

	exedit1.Caption(1/*exReplaceDialog*/,202/*exFieldFindWhat*/,"What");
	exedit1.Caption(1/*exReplaceDialog*/,204/*exFieldReplaceWith*/,"Replace");
	exedit1.Caption(1/*exReplaceDialog*/,104/*exFieldWordOnly*/,"Word");
	exedit1.Caption(1/*exReplaceDialog*/,105/*exFieldMatchCase*/,"Case");
	exedit1.Caption(1/*exReplaceDialog*/,103/*exFieldFindNext*/,"Dir");
	exedit1.Caption(1/*exReplaceDialog*/,113/*exFieldSelection*/,"Sel");
	exedit1.Caption(1/*exReplaceDialog*/,114/*exFieldWholeFile*/,"File");
	exedit1.Caption(1/*exReplaceDialog*/,21199/*exFieldReplace*/,"Rep");
	exedit1.Caption(1/*exReplaceDialog*/,21200/*exFieldReplaceAll*/,"All");
	exedit1.Caption(1/*exReplaceDialog*/,2/*exFieldCancel*/,"Abandon");
	exedit1.Caption(1/*exReplaceDialog*/,32000/*exErrorTitle*/,"Title");
	exedit1.Caption(1/*exReplaceDialog*/,32001/*exErrorFindNext*/,"Failed!");
	exedit1.Caption(1/*exReplaceDialog*/,32001/*exErrorFindNext*/,"Done");
}
127
How can I change the descriptions for fields in the Find dialog

public void init()
{
	;

	super();

	exedit1.Caption(0/*exFindDialog*/,202/*exFieldFindWhat*/,"What");
	exedit1.Caption(0/*exFindDialog*/,104/*exFieldWordOnly*/,"Word");
	exedit1.Caption(0/*exFindDialog*/,105/*exFieldMatchCase*/,"Case");
	exedit1.Caption(0/*exFindDialog*/,103/*exFieldFindNext*/,"Dir");
	exedit1.Caption(0/*exFindDialog*/,113/*exFieldSelection*/,"U");
	exedit1.Caption(0/*exFindDialog*/,114/*exFieldWholeFile*/,"D");
	exedit1.Caption(0/*exFindDialog*/,103/*exFieldFindNext*/,"Next");
	exedit1.Caption(0/*exFindDialog*/,21199/*exFieldReplace*/,"All");
	exedit1.Caption(0/*exFindDialog*/,2/*exFieldCancel*/,"Abandon");
	exedit1.Caption(0/*exFindDialog*/,32001/*exErrorFindNext*/,"Failed!");
}
126
How can I change the caption for the Replace dialog

public void init()
{
	;

	super();

	exedit1.Caption(1/*exReplaceDialog*/,0/*exCaption*/,"Search and Replace");
}
125
How can I change the caption for the Find dialog

public void init()
{
	;

	super();

	exedit1.Caption(0/*exFindDialog*/,0/*exCaption*/,"Search");
}
124
How can I move the cursor when user invokes the control's context menu

public void init()
{
	;

	super();

	exedit1.RClick(true);
}
123
How can I disable indenting the selected text when the user presses the TAB key
public void init()
{
	;

	super();

	exedit1.IndentOnTab(false);
}
122
How can I indent a line

public void init()
{
	;

	super();

	exedit1.LineNumberWidth(18);
	exedit1.HideSelection(false);
	exedit1.SelectLine(3);
	exedit1.IndentSel(true);
}
121
How can I show or hide the control's splitter

public void init()
{
	;

	super();

	exedit1.AllowSplitter(3/*exBothSplitter*/);
	exedit1.SplitPaneHeight(128);
	exedit1.SplitPaneWidth(128);
}
120
How can I select a line

public void init()
{
	;

	super();

	exedit1.LineNumberWidth(18);
	exedit1.HideSelection(false);
	exedit1.SelectLine(3);
}
119
How do I change the font to display the line numbers

public void init()
{
	;

	super();

	exedit1.LineNumberFont().Name("Tahoma");
	exedit1.LineNumberWidth(18);
}
118
How can I change the height of the line

public void init()
{
	;

	super();

	exedit1.Font().Size(32);
	exedit1.DrawGridLines(true);
	exedit1.Refresh();
}
117
How can I show or hide the grid lines

public void init()
{
	;

	super();

	exedit1.DrawGridLines(true);
}
116
How do I highlight the position of multiple lines expression on the vertical scroll bar

public void init()
{
	;

	super();

	exedit1.AllowMark(true);
	exedit1.MarkContinueBlocks(true);
	exedit1.AddKeyword("<b>CAxWnd");
	exedit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",COMVariant::createFromBoolean(true));
	exedit1.MarkColor("BEGIN_MSG_MAP",WinApi::RGB2int(255,0,0));
	exedit1.MarkColor("END_MSG_MAP",WinApi::RGB2int(128,0,0));
	exedit1.MarkColor("CAxWnd",WinApi::RGB2int(0,0,0));
	exedit1.Refresh();
}
115
How do I ignore \" in a string

public void init()
{
	;

	super();

	exedit1.InsertText("\"just a string \\\"expression\"\\r\\n",COMVariant::createFromInt(1));
	exedit1.AddExpression("<fgcolor=800000><b>\"</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>\"</b></fgcolor>",COMVariant::createFromBoolean(true));
	exedit1.IgnorePrefixInExpression("\"","\\");
	exedit1.Refresh();
}
114
How can I change the color for the line number's border

public void init()
{
	;

	super();

	exedit1.LineNumberBorderColor(WinApi::RGB2int(255,0,0));
	exedit1.LineNumberWidth(18);
}
113
How can I change the color for the bookmark's border

public void init()
{
	;

	super();

	exedit1.BookmarkBorderColor(WinApi::RGB2int(255,0,0));
	exedit1.BookmarkWidth(18);
}
112
Can I display a custom icon or picture for bookmarks

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exedit1.Images(COMVariant::createFromStr(var_s));
	exedit1.BookmarkImage(1);
	exedit1.Bookmark(2,true);
	exedit1.Bookmark(4,true);
	exedit1.BookmarkWidth(18);
}
111
Can I display a custom icon or picture in the bookmark area

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exedit1.Images(COMVariant::createFromStr(var_s));
	exedit1.BookmarkImageLine(2,1);
	exedit1.Bookmark(4,true);
	exedit1.BookmarkWidth(18);
}
110
How do I remove the line's background color
public void init()
{
	;

	super();

	exedit1.BackColorLine(1,WinApi::RGB2int(255,0,0));
	exedit1.ClearBackColorLine(1);
}
109
How do I change the foreground color for a line

public void init()
{
	;

	super();

	exedit1.ForeColorLine(1,WinApi::RGB2int(255,0,0));
}
108
How do I change the background color for a line

public void init()
{
	;

	super();

	exedit1.BackColorLine(1,WinApi::RGB2int(255,0,0));
}
107
How can I add my own items in the control's context menu

public void init()
{
	;

	super();

	exedit1.ContextMenuItems("New Item");
}
106
How do I ensure that a specified line is visible

public void init()
{
	;

	super();

	exedit1.EnsureVisibleLine(exedit1.Count());
}
105
How can I programmatically perform a REDO operation
public void init()
{
	;

	super();

	exedit1.Redo();
}
104
How can I programmatically perform an UNDO operation
public void init()
{
	;

	super();

	exedit1.Undo();
}
103
How do I get the bookmarks as a list

public void init()
{
	COMVariant var_BookmarksList;
	;

	super();

	exedit1.Bookmark(2,true);
	exedit1.Bookmark(4,true);
	exedit1.BookmarkWidth(16);
	var_BookmarksList = exedit1.BookmarksList();
}
102
How can I move to the previous bookmark

public void init()
{
	;

	super();

	exedit1.Bookmark(2,true);
	exedit1.Bookmark(4,true);
	exedit1.BookmarkWidth(16);
	exedit1.PrevBookmark();
}
101
How can I move to the next bookmark

public void init()
{
	;

	super();

	exedit1.Bookmark(2,true);
	exedit1.Bookmark(4,true);
	exedit1.BookmarkWidth(16);
	exedit1.NextBookmark();
}