202:
Can I use code completion without any UI
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.CodeCompletion = 1;
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	Edit1.Context(null).Add("class",null,null,null);
}
</SCRIPT>
</BODY>

201:
How can I hide the control's horizontal scroll bar
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ScrollBars = 2;
}
</SCRIPT>
</BODY>

200:
Is it possible to change the line's height

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineHeight = "value + 8 * dpi";
	Edit1.DrawGridLines = true;
}
</SCRIPT>
</BODY>

199:
How to bold everything between two * (asterisk) characters

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_StdFont = Edit1.Font;
		var_StdFont.Name = "Consolas";
		var_StdFont.Size = 12;
	Edit1.AddExpression("<fgcolor=FF0000><b>*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*",null,null);
	Edit1.InsertText("some text * another text * other text\\r\\n",1);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

198:
How to bold everything that starts with * (asterisk), to the end of the line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_StdFont = Edit1.Font;
		var_StdFont.Name = "Consolas";
		var_StdFont.Size = 12;
	Edit1.AddWild("<fgcolor=FF0000><b>\\**");
	Edit1.InsertText("some text * another text * other text\\r\\n",1);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

197:
How to make a * (asterisk) bold, not the entire / rest line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_StdFont = Edit1.Font;
		var_StdFont.Name = "Consolas";
		var_StdFont.Size = 12;
	Edit1.AddWild("<fgcolor=FF0000><b>\\*");
	Edit1.InsertText("some text * another text * other text\\r\\n",1);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

196:
How can I change the control's font (template)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Template = "Font { Name = `Consolas`; Size = 12 }";
	Edit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>",null,null,null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

195:
How can I change the control's font (runtime)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_StdFont = Edit1.Font;
		var_StdFont.Name = "Consolas";
		var_StdFont.Size = 12;
	Edit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>",null,null,null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

194:
When I click and drag to try and select some text, sometimes my cursor turns into a hand and drags the whole text in the window around. I would like to disable this feature, could you tell me what it is called so I can disable it please
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.OLEDropMode = -1;
}
</SCRIPT>
</BODY>

193:
How can I display information about events the control fires

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="Event(EventID)" LANGUAGE="JScript">
	alert( Edit1.EventParam(-2) );
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddWild("<fgcolor=808080>(?*)</fgcolor>");
	Edit1.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit" +
	"y",null,null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

192:
How do I highlights words based on wild characters

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddWild("<fgcolor=0000FF><b>[MC]*_HANDLER*</b></fgcolor>(*)");
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

191:
How do I highlights words based on wild characters

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddWild("<fgcolor=0000FF><b> *</b></fgcolor>(*)*;");
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

190:
How can I provide different tooltip for the same keyword

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="QueryContext(XCursor,YCursor,QContext)" LANGUAGE="JScript">
	QContext = YCursor;
</SCRIPT>

<SCRIPT FOR="Edit1" EVENT="QueryContextToolTip(QContext,Keyword,QToolTip,QToolTipTitle)" LANGUAGE="JScript">
	QToolTip = QContext;
	QToolTipTitle = "Keyword Found At Line:";
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.AddKeyword("<fgcolor=FF0000><b>keyword</b></fgcolor>",null,null,null);
	Edit1.Text = "";
	Edit1.InsertText("here's the keyword on the first line",null);
	Edit1.InsertText("\\r\\nhere's the keyword on the second line",null);
	Edit1.InsertText("\\r\\nhere's the keyword on the third line",null);
}
</SCRIPT>
</BODY>

189:
Is it possible to left, right or center align the inline tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.CaretLine = 6;
	Edit1.Background(160) = 15790320;
	Edit1.TempInlineToolTip = "<font ;6>Left Alignment<br><c>Center Alignment<br><r>Right Alignment";
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

188:
Is it possible to display the inline tooltip with a different appearance than temporarily inline tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.AddKeyword("<b>class</b>","<r>a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qua" +
	"lity.",null,null);
	Edit1.AllowInlineToolTip = 513;
	Edit1.Background(159) = 8421504;
	Edit1.Background(158) = 15790320;
	Edit1.CaretLine = 6;
	Edit1.Background(160) = 10495;
	Edit1.Background(161) = 65536;
	Edit1.TempInlineToolTip = "<br><c><font ;12>This is a bit of text that's shown temporarily only. <br><c>Now, click the <off -4><b>class</b></off> keyword," +
	" in the top...<br>";
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

187:
How can I display the inline tooltip over the lines, instead pushing the lines

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.Background(160) = 65535;
	Edit1.CaretLine = 3;
	Edit1.TempInlineToolTip = "This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed.";
	Edit1.AllowInlineToolTip = 768;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

186:
Is it possible to display the inline tooltip all the time

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="SelChange()" LANGUAGE="JScript">
	Edit1.TempInlineToolTip = "This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed.";
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.Background(160) = 65535;
	Edit1.CaretLine = 12;
	Edit1.AllowInlineToolTip = 512;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

185:
Is it possible to display images in the inline tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
	Edit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.CaretLine = 4;
	Edit1.Background(160) = 16777216;
	Edit1.AllowInlineToolTip = 512;
	Edit1.TempInlineToolTip = "<img>1</img>This is a bit of text that's shown programatically under the current line";
}
</SCRIPT>
</BODY>

184:
How can I change the visual appearance of the temporarily inline tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.CaretLine = 4;
	Edit1.Background(160) = 16777216;
	Edit1.AllowInlineToolTip = 512;
	Edit1.TempInlineToolTip = "This is a bit of text that's shown programatically under the current line";
}
</SCRIPT>
</BODY>

183:
How can I display programmatically the inline tooltip, but using word-wrapping

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.CaretLine = 4;
	Edit1.Background(160) = 15790320;
	Edit1.AllowInlineToolTip = 512;
	Edit1.TempInlineToolTip = "This is a bit of text that's shown programatically under the current line";
}
</SCRIPT>
</BODY>

182:
How can I display programmatically the inline tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.CaretLine = 4;
	Edit1.Background(160) = 15790320;
	Edit1.TempInlineToolTip = "<br><c>This is a bit of text that's shown programatically under the current line<br>";
}
</SCRIPT>
</BODY>

181:
How can I show the inline tooltip with a different appearance

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit" +
	"y.",null,null);
	Edit1.AllowInlineToolTip = 513;
	Edit1.Background(158) = 16777216;
	Edit1.Background(159) = 128;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

180:
Is it possible to prevent moving the lines after the inline tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit" +
	"y.",null,null);
	Edit1.AllowInlineToolTip = 769;
	Edit1.Background(158) = 65535;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

179:
How can I display the inline tooltip, when typing only

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.ToolTipOnTyping = false;
	Edit1.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit" +
	"y.",null,null);
	Edit1.AllowInlineToolTip = 514;
	Edit1.Background(158) = 15790320;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

178:
How do I enable the inline tooltip support

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = -1;
	Edit1.LineNumberBackColor = 15790320;
	Edit1.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit" +
	"y.",null,null);
	Edit1.AllowInlineToolTip = 513;
	Edit1.Background(159) = 8421504;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

177:
How do I display a tooltip for a non-keyword

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="MouseMove(Button,Shift,X,Y)" LANGUAGE="JScript">
	Edit1.ShowToolTip(Edit1.WordFromPoint(-1,-1,null),null,null,"+8","+8");
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
}
</SCRIPT>
</BODY>

176:
How do I get the text from the cursor

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="MouseMove(Button,Shift,X,Y)" LANGUAGE="JScript">
	alert( Edit1.WordFromPoint(-1,-1,null) );
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
}
</SCRIPT>
</BODY>

175:
I've noticed that while I type, the control's sensitive context selects the item that contains the typing word, so the question is how can I disable it
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context(null);
		var_Context.Add("exText",null,null,null);
		var_Context.Add("exHTML",null,null,null);
		var_Context.Options(7) = true;
	Edit1.Text = "";
	Edit1.InsertText("Press CTRL+SPACE, and type h, so the exHTML is not selected.",null);
}
</SCRIPT>
</BODY>

174:
I have a context that inserts some comments, it is possible to set the cursor before comment begins, when user selects a value from the control's sensitive context
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddExpression("<fgcolor=008000>'</fgcolor>","<fgcolor=008000> </fgcolor>","",null,null);
	var var_Context = Edit1.Context(null);
		var_Context.Add("exText (0)","0 ' specifies the exText flag",null,null);
		var_Context.Add("exHTML (-1)","-1 ' specifies the exHTML flag",null,null);
		var_Context.Options(6) = "(0:=value lfind `'`) < 0 ? -1 : ( =:0 - (len(1:=(value left =:0)) - len(ltrim(reverse(=:1)))))";
	Edit1.Text = "";
	Edit1.InsertText("Press CTRL + SPACE, and select any item, a number is inserted",null);
}
</SCRIPT>
</BODY>

173:
How can I show a different sensitive context when user press a key/character

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="Change()" LANGUAGE="JScript">
	Edit1.ShowContext(Edit1.ChangeOnKey);
	Edit1.ActiveContextItems = "";
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Text = "";
	Edit1.InsertText("Press .(dot), :(color) or =(equal), to get different sensitive context",null);
	Edit1.ActiveContextItems = "";
	var var_Context = Edit1.Context("61");
		var_Context.Add("Equal_1",null,null,null);
		var_Context.Add("Equal_2",null,null,null);
	var var_Context1 = Edit1.Context("46");
		var_Context1.Add("Dot_1",null,null,null);
		var_Context1.Add("Dot_2",null,null,null);
	var var_Context2 = Edit1.Context("58");
		var_Context2.Add("Colon_1",null,null,null);
		var_Context2.Add("Colon_2",null,null,null);
}
</SCRIPT>
</BODY>

172:
How can I allow spaces when control's sentitive context is shown/opened

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="Change()" LANGUAGE="JScript">
	Edit1.ShowContext(Edit1.ChangeOnKey);
	Edit1.ActiveContextItems = "";
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context("61");
		var_Context.Add("True (-1)","True",null,null);
		var_Context.Add("False (-1)","False",null,null);
		var_Context.Options(5) = true;
	Edit1.Text = "";
	Edit1.InsertText("Press the = key and after that press the space keys",null);
	Edit1.InsertText("",null);
}
</SCRIPT>
</BODY>

171:
How can I display more pages on the control's senitive context

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context(null);
		var_Context.Add("First_1",null,null,null);
		var_Context.Add("First_2",null,null,null);
	var var_Context1 = Edit1.Context("Second");
		var_Context1.Add("Second_1",null,null,null);
		var_Context1.Add("Second_2",null,null,null);
		var_Context1.Add("Second_3",null,null,null);
	Edit1.ActiveContextItems = "Second";
	Edit1.PagesContextItems = ":Page<font ;6><off -4>1</off></font>,Second:Page<font ;6><off -4>2</off></font>";
}
</SCRIPT>
</BODY>

170:
Is it possible to disable showing tooltip for items in the control's senitive context
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context(null);
		var_Context.Add("Column",null,null,null);
		var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Column</b> item.";
		var_Context.Add("Item",null,null,null);
		var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Item</b> item.";
		var_Context.Options(2) = false;
}
</SCRIPT>
</BODY>

169:
How can I assign tooltips for items in the control's senitive context

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context(null);
		var_Context.Add("Column",null,null,null);
		var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Column</b> item.";
		var_Context.Add("Item",null,null,null);
		var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Item</b> item.";
}
</SCRIPT>
</BODY>

168:
By default, the control shows the Context(""). How can I display other items

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="OnContext(Start,Context)" LANGUAGE="JScript">
	alert( "CurrentContext:" );
	alert( Context );
	Edit1.ActiveContextItems = "Second";
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context(null);
		var_Context.Add("First_1",null,null,null);
		var_Context.Add("First_2",null,null,null);
	var var_Context1 = Edit1.Context("Second");
		var_Context1.Add("Second_1",null,null,null);
		var_Context1.Add("Second_2",null,null,null);
		var_Context1.Add("Second_3",null,null,null);
}
</SCRIPT>
</BODY>

167:
How can I show the control's sensitive context

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="DblClick(Shift,X,Y)" LANGUAGE="JScript">
	Edit1.ShowContext("DB");
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Context = Edit1.Context("DB");
		var_Context.Add("BEGIN_MSG_MAP",null,null,null);
		var_Context.Add("<fgcolor=808080>MESSAGE_HANDLER",null,null,null);
		var_Context.Add("<fgcolor=808080>COMMAND_HANDLER",null,null,null);
		var_Context.Add("END_MSG_MAP",null,null,null);
}
</SCRIPT>
</BODY>

166:
How can I provide different sensitive context

<BODY onload="Init()">
<SCRIPT FOR="Edit1" EVENT="Change()" LANGUAGE="JScript">
	Edit1.ShowContext(Edit1.ChangeOnKey);
</SCRIPT>

<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Text = "";
	Edit1.InsertText("Press .(dot), :(colon) or CTRL + SPACE to invoke the control's context",null);
	var var_Context = Edit1.Context(null);
		var_Context.Add("General_1",null,null,null);
		var_Context.Add("General_2",null,null,null);
	var var_Context1 = Edit1.Context("46");
		var_Context1.Add("Property_1",null,null,null);
		var_Context1.Add("Property_2",null,null,null);
		var_Context1.Add("Property_3",null,null,null);
	var var_Context2 = Edit1.Context("58");
		var_Context2.Add("Method_1",null,null,null);
		var_Context2.Add("Method_2",null,null,null);
		var_Context2.Add("Method_3",null,null,null);
}
</SCRIPT>
</BODY>

165:
How can I change the control's background/foreground colors while the control is locked/read-only

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Locked = true;
	Edit1.SelBackColor = 8421504;
	Edit1.ForeColorLockedLine = 8421504;
	Edit1.BackColorLockedLine = 16777215;
}
</SCRIPT>
</BODY>

164:
How can change the color for selected text, when the control has no focus

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.HideSelection = false;
	Edit1.SelLength = 10;
	Edit1.SelBackColorHide = 255;
}
</SCRIPT>
</BODY>

163:
How do I change the "Incremental Search" caption

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Cursor(3) = "exHelp";
	Edit1.Caption(3,0) = "Search for: %s";
	Edit1.IncrementalSearchError = 255;
}
</SCRIPT>
</BODY>

162:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ScrollBars = 3;
	Edit1.ScrollPartVisible(0,65536) = true;
	Edit1.ScrollPartVisible(1,65536) = true;
	Edit1.ScrollPartVisible(2,65536) = true;
	Edit1.ScrollWidth = 4;
	Edit1.Background(276) = 15790320;
	Edit1.Background(260) = 8421504;
	Edit1.ScrollHeight = 4;
	Edit1.Background(404) = Edit1.Background(276);
	Edit1.Background(388) = Edit1.Background(260);
	Edit1.Background(3) = Edit1.Background(276);
}
</SCRIPT>
</BODY>

161:
How can I get ride of control's horizontal scroll bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<b>CExHelperDialog</b>",null,null,null);
	Edit1.Refresh();
	Edit1.ScrollBars = 2;
}
</SCRIPT>
</BODY>

160:
How do I specify the characters to close the sensitive context

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	var var_Context = Edit1.Context(null);
		var_Context.Add("<b>class</b>","",1,null);
		var_Context.Add("<b>public</b>","",2,null);
		var_Context.Options(1) = "_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
}
</SCRIPT>
</BODY>

159:
How do I sort items in the sensitive context

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	Edit1.Context(null).Add("<b>public</b>","",2,null);
	Edit1.Context(null).Add("<b>class</b>","",1,null);
	Edit1.Context(null).Sort(true);
}
</SCRIPT>
</BODY>

158:
Can I add icons to the sensitive context

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	Edit1.Context(null).Add("<b>class</b>","",1,null);
}
</SCRIPT>
</BODY>

157:
How can I change the keys combination that invokes the sensitive context

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ContextKey = 544;
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	Edit1.Context(null).Add("class",null,null,null);
}
</SCRIPT>
</BODY>

156:
How do I enable or disable the sensitive context menu
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.CodeCompletion = 0;
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	Edit1.Context(null).Add("class",null,null,null);
}
</SCRIPT>
</BODY>

155:
How can I add a sensitive context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
	Edit1.Context(null).Add("class",null,null,null);
}
</SCRIPT>
</BODY>

154:
Can I use wild characters to define keys in your control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddWild("<fgcolor=808080>(*)</fgcolor>");
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

153:
Can I use wild characters to define keys in your control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>");
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

152:
How can I remove or delete all expressions

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
	Edit1.ClearExpressions();
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

151:
How can I remove or delete an expression

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
	Edit1.DeleteExpression("(");
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

150:
How can I add an expression

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

149:
How can I add an expression on multiple lines

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

148:
How can I remove or delete all keywords
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
	Edit1.ClearKeywords();
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

147:
How can I remove or delete keyword
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
	Edit1.DeleteKeyword("class");
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

146:
How do I add a keyword that's not case sensitive

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>","","",2);
	Edit1.Refresh();
	Edit1.InsertText("ClasS\\r\\n",1);
	Edit1.InsertText("CLASS\\r\\n",1);
}
</SCRIPT>
</BODY>

145:
How do I add a keyword that's not case sensitive

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>","","",1);
	Edit1.Refresh();
	Edit1.InsertText("ClasS\\r\\n",1);
	Edit1.InsertText("CLASS\\r\\n",1);
}
</SCRIPT>
</BODY>

144:
How can I assign a tooltip to a keyword

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.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",null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

143:
How do I add a keyword

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>",null,null,null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

142:
How do I add a keyword

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

141:
How can I display a tooltip as soon as the user types a keyword

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ToolTipDelay = 1;
	Edit1.ToolTipOnTyping = true;
	Edit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

140:
How do I change the color for a locked or a read only line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ForeColorLockedLine = 0;
	Edit1.BackColorLockedLine = 255;
	Edit1.LockedLine(1) = true;
}
</SCRIPT>
</BODY>

139:
How do I lock or make read only a line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LockedLine(1) = true;
}
</SCRIPT>
</BODY>

138:
How do I start overtyping

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Overtype = true;
}
</SCRIPT>
</BODY>

137:
How do I get the selection

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.GetSelection(sy,sx,ey,ex);
	alert( sy );
	alert( sx );
	alert( ey );
	alert( ex );
}
</SCRIPT>
</BODY>

136:
How do I select multiple lines

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.SetSelection(0,0,10,0);
	Edit1.HideSelection = false;
}
</SCRIPT>
</BODY>

135:
How can I change the shape of the cursor when it hovers the selected text

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Cursor(4) = "exHelp";
	Edit1.SelLength = 10;
	Edit1.HideSelection = false;
}
</SCRIPT>
</BODY>

134:
How can I change the shape of the cursor when it hovers the incremental search area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Cursor(3) = "exHelp";
}
</SCRIPT>
</BODY>

133:
How can I change the shape of the cursor when it hovers the line numbers area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Cursor(2) = "exHelp";
	Edit1.LineNumberWidth = 16;
}
</SCRIPT>
</BODY>

132:
How can I change the shape of the cursor when it hovers the bookmark area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Cursor(1) = "exHelp";
	Edit1.BookmarkWidth = 16;
}
</SCRIPT>
</BODY>

131:
How can I change the shape of the cursor when it hovers the edit
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Cursor(0) = "exHelp";
}
</SCRIPT>
</BODY>

130:
How can I enable or disable OLE drag and drop operations
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.OLEDropMode = -1;
}
</SCRIPT>
</BODY>

129:
How can I change the descriptions for items in the control's context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Caption(2,16384) = "U N D O";
	Edit1.Caption(2,16385) = "R E D O";
	Edit1.Caption(2,16387) = "C U T";
	Edit1.Caption(2,16388) = "C O P Y";
	Edit1.Caption(2,16389) = "P A S T E";
	Edit1.Caption(2,16390) = "D E L";
	Edit1.Caption(2,16392) = "A L L ";
}
</SCRIPT>
</BODY>

128:
How can I change the descriptions for fields in the Replace dialog

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Caption(1,202) = "What";
	Edit1.Caption(1,204) = "Replace";
	Edit1.Caption(1,104) = "Word";
	Edit1.Caption(1,105) = "Case";
	Edit1.Caption(1,103) = "Dir";
	Edit1.Caption(1,113) = "Sel";
	Edit1.Caption(1,114) = "File";
	Edit1.Caption(1,21199) = "Rep";
	Edit1.Caption(1,21200) = "All";
	Edit1.Caption(1,2) = "Abandon";
	Edit1.Caption(1,32000) = "Title";
	Edit1.Caption(1,32001) = "Failed!";
	Edit1.Caption(1,32001) = "Done";
}
</SCRIPT>
</BODY>

127:
How can I change the descriptions for fields in the Find dialog

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Caption(0,202) = "What";
	Edit1.Caption(0,104) = "Word";
	Edit1.Caption(0,105) = "Case";
	Edit1.Caption(0,103) = "Dir";
	Edit1.Caption(0,113) = "U";
	Edit1.Caption(0,114) = "D";
	Edit1.Caption(0,103) = "Next";
	Edit1.Caption(0,21199) = "All";
	Edit1.Caption(0,2) = "Abandon";
	Edit1.Caption(0,32001) = "Failed!";
}
</SCRIPT>
</BODY>

126:
How can I change the caption for the Replace dialog

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Caption(1,0) = "Search and Replace";
}
</SCRIPT>
</BODY>

125:
How can I change the caption for the Find dialog

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Caption(0,0) = "Search";
}
</SCRIPT>
</BODY>

124:
How can I move the cursor when user invokes the control's context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.RClick = true;
}
</SCRIPT>
</BODY>

123:
How can I disable indenting the selected text when the user presses the TAB key
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.IndentOnTab = false;
}
</SCRIPT>
</BODY>

122:
How can I indent a line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = 18;
	Edit1.HideSelection = false;
	Edit1.SelectLine(3);
	Edit1.IndentSel(true);
}
</SCRIPT>
</BODY>

121:
How can I show or hide the control's splitter

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AllowSplitter = 3;
	Edit1.SplitPaneHeight = 128;
	Edit1.SplitPaneWidth = 128;
}
</SCRIPT>
</BODY>

120:
How can I select a line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberWidth = 18;
	Edit1.HideSelection = false;
	Edit1.SelectLine(3);
}
</SCRIPT>
</BODY>

119:
How do I change the font to display the line numbers

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberFont.Name = "Tahoma";
	Edit1.LineNumberWidth = 18;
}
</SCRIPT>
</BODY>

118:
How can I change the height of the line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Font.Size = 32;
	Edit1.DrawGridLines = true;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

117:
How can I show or hide the grid lines

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.DrawGridLines = true;
}
</SCRIPT>
</BODY>

116:
How do I highlight the position of multiple lines expression on the vertical scroll bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.AllowMark = true;
	Edit1.MarkContinueBlocks = true;
	Edit1.AddKeyword("<b>CAxWnd",null,null,null);
	Edit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,null);
	Edit1.MarkColor("BEGIN_MSG_MAP") = 255;
	Edit1.MarkColor("END_MSG_MAP") = 128;
	Edit1.MarkColor("CAxWnd") = 0;
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

115:
How do I ignore \" in a string

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.InsertText("\"just a string \\\"expression\"\\r\\n",1);
	Edit1.AddExpression("<fgcolor=800000><b>\"</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>\"</b></fgcolor>",true,null);
	Edit1.IgnorePrefixInExpression("\"") = "\\";
	Edit1.Refresh();
}
</SCRIPT>
</BODY>

114:
How can I change the color for the line number's border

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.LineNumberBorderColor = 255;
	Edit1.LineNumberWidth = 18;
}
</SCRIPT>
</BODY>

113:
How can I change the color for the bookmark's border

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.BookmarkBorderColor = 255;
	Edit1.BookmarkWidth = 18;
}
</SCRIPT>
</BODY>

112:
Can I display a custom icon or picture for bookmarks

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
	Edit1.BookmarkImage = 1;
	Edit1.Bookmark(2) = true;
	Edit1.Bookmark(4) = true;
	Edit1.BookmarkWidth = 18;
}
</SCRIPT>
</BODY>

111:
Can I display a custom icon or picture in the bookmark area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
	Edit1.BookmarkImageLine(2) = 1;
	Edit1.Bookmark(4) = true;
	Edit1.BookmarkWidth = 18;
}
</SCRIPT>
</BODY>

110:
How do I remove the line's background color
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.BackColorLine(1) = 255;
	Edit1.ClearBackColorLine(1);
}
</SCRIPT>
</BODY>

109:
How do I change the foreground color for a line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ForeColorLine(1) = 255;
}
</SCRIPT>
</BODY>

108:
How do I change the background color for a line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.BackColorLine(1) = 255;
}
</SCRIPT>
</BODY>

107:
How can I add my own items in the control's context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.ContextMenuItems = "New Item";
}
</SCRIPT>
</BODY>

106:
How do I ensure that a specified line is visible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.EnsureVisibleLine(Edit1.Count);
}
</SCRIPT>
</BODY>

105:
How can I programmatically perform a REDO operation
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Redo();
}
</SCRIPT>
</BODY>

104:
How can I programmatically perform an UNDO operation
<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Undo();
}
</SCRIPT>
</BODY>

103:
How do I get the bookmarks as a list

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Bookmark(2) = true;
	Edit1.Bookmark(4) = true;
	Edit1.BookmarkWidth = 16;
	var var_BookmarksList = Edit1.BookmarksList;
}
</SCRIPT>
</BODY>

102:
How can I move to the previous bookmark

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Bookmark(2) = true;
	Edit1.Bookmark(4) = true;
	Edit1.BookmarkWidth = 16;
	Edit1.PrevBookmark();
}
</SCRIPT>
</BODY>

101:
How can I move to the next bookmark

<BODY onload="Init()">
<OBJECT CLASSID="clsid:39136531-DD0F-4281-B445-E36FC2CDDBC5" id="Edit1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Edit1.Bookmark(2) = true;
	Edit1.Bookmark(4) = true;
	Edit1.BookmarkWidth = 16;
	Edit1.NextBookmark();
}
</SCRIPT>
</BODY>