205
Is it possible to show just expressions
Edit1->AddWild(L"<fgcolor=00FF00>(");
Edit1->AddWild(L"<fgcolor=00FF00>)");
Edit1->AddExpression(L"<fgcolor=FF0000><b>(*",L"<fgcolor=FF0000> ",L"<fgcolor=FF0000><b>*)",TNoParam(),TNoParam());
Edit1->InsertText(L"some text ( another text ) other text\\r\\n",TVariant(1));
Edit1->InsertText(L"some text (* another text *) other text\\r\\n",TVariant(1));
Edit1->Show = L"expression";

204
How can I stop any highlight
Edit1->AddWild(L"<fgcolor=00FF00>(");
Edit1->AddWild(L"<fgcolor=00FF00>)");
Edit1->AddExpression(L"<fgcolor=FF0000><b>(*",L"<fgcolor=FF0000> ",L"<fgcolor=FF0000><b>*)",TNoParam(),TNoParam());
Edit1->InsertText(L"some text ( another text ) other text\\r\\n",TVariant(1));
Edit1->InsertText(L"some text (* another text *) other text\\r\\n",TVariant(1));
Edit1->Show = L"";

203
How can I highlight the start of the line until a specified character is found

Edit1->AddExpression(L"^",L"<fgcolor=FF0000> ",L":",TNoParam(),TNoParam());
Edit1->Refresh();

202
Can I use code completion without any UI
Edit1->CodeCompletion = Exeditlib_tlb::CodeCompletionEnum::exCodeCompletionEnableNoUI;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
Edit1->Context[TNoParam()]->Add(L"class",TNoParam(),TNoParam(),TNoParam());

201
How can I hide the control's horizontal scroll bar
Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exVertical;

200
Is it possible to change the line's height

Edit1->LineHeight = L"value + 8 * dpi";
Edit1->DrawGridLines = true;

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

/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Edit1->Font;
	var_StdFont->Name = L"Consolas";
	var_StdFont->Size = TVariant(long(12));
Edit1->AddExpression(L"<fgcolor=FF0000><b>*",L"<fgcolor=FF0000> ",L"<fgcolor=FF0000><b>*",TNoParam(),TNoParam());
Edit1->InsertText(L"some text * another text * other text\\r\\n",TVariant(1));
Edit1->Refresh();

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

/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Edit1->Font;
	var_StdFont->Name = L"Consolas";
	var_StdFont->Size = TVariant(long(12));
Edit1->AddWild(L"<fgcolor=FF0000><b>\\**");
Edit1->InsertText(L"some text * another text * other text\\r\\n",TVariant(1));
Edit1->Refresh();

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

/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Edit1->Font;
	var_StdFont->Name = L"Consolas";
	var_StdFont->Size = TVariant(long(12));
Edit1->AddWild(L"<fgcolor=FF0000><b>\\*");
Edit1->InsertText(L"some text * another text * other text\\r\\n",TVariant(1));
Edit1->Refresh();

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

Edit1->Template = L"Font { Name = `Consolas`; Size = 12 }";
Edit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",TNoParam(),TNoParam(),TNoParam());
Edit1->Refresh();

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

/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Edit1->Font;
	var_StdFont->Name = L"Consolas";
	var_StdFont->Size = TVariant(long(12));
Edit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",TNoParam(),TNoParam(),TNoParam());
Edit1->Refresh();

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
Edit1->OLEDropMode = Exeditlib_tlb::exOLEDropModeEnum::exOLEDropAutomatic;

193
How can I display information about events the control fires

// Event event - Notifies the application once the control fires an event.
void __fastcall TForm1::Edit1Event(TObject *Sender,long   EventID)
{
	OutputDebugString( PChar(Edit1->EventParam[-2]) );
}

Edit1->AddWild(L"<fgcolor=808080>(?*)</fgcolor>");
Edit1->AddKeyword(L"<b>class</b>",TVariant(String("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") +
"y"),TNoParam(),TNoParam());
Edit1->Refresh();

192
How do I highlights words based on wild characters

Edit1->AddWild(L"<fgcolor=0000FF><b>[MC]*_HANDLER*</b></fgcolor>(*)");
Edit1->Refresh();

191
How do I highlights words based on wild characters

Edit1->AddWild(L"<fgcolor=0000FF><b> *</b></fgcolor>(*)*;");
Edit1->Refresh();

190
How can I provide different tooltip for the same keyword

// QueryContext event - Queries for the context at the specified location, to provide different tooltips for the same keyword on QueryContextToolTip event.
void __fastcall TForm1::Edit1QueryContext(TObject *Sender,long   XCursor,long   YCursor,Variant *   QContext)
{
	QContext = YCursor;
}

// QueryContextToolTip event - Asks for the tooltip/title of the keyword on the context retrieved by the QueryContext event.
void __fastcall TForm1::Edit1QueryContextToolTip(TObject *Sender,BSTR   QContext,BSTR   Keyword,Variant *   QToolTip,Variant *   QToolTipTitle)
{
	QToolTip = QContext;
	QToolTipTitle = "Keyword Found At Line:";
}

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->AddKeyword(L"<fgcolor=FF0000><b>keyword</b></fgcolor>",TNoParam(),TNoParam(),TNoParam());
Edit1->Text = L"";
Edit1->InsertText(L"here's the keyword on the first line",TNoParam());
Edit1->InsertText(L"\\r\\nhere's the keyword on the second line",TNoParam());
Edit1->InsertText(L"\\r\\nhere's the keyword on the third line",TNoParam());

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

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->CaretLine = 6;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = RGB(240,240,240);
Edit1->TempInlineToolTip = L"<font ;6>Left Alignment<br><c>Center Alignment<br><r>Right Alignment";
Edit1->Refresh();

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

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->AddKeyword(L"<b>class</b>",TVariant(String("<r>a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qua") +
"lity."),TNoParam(),TNoParam());
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTip;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipForeColor] = RGB(128,128,128);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipBackColor] = RGB(240,240,240);
Edit1->CaretLine = 6;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = RGB(255,40,0);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipForeColor] = RGB(0,0,1);
Edit1->TempInlineToolTip = TVariant(String("<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();

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

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = RGB(255,255,0);
Edit1->CaretLine = 3;
Edit1->TempInlineToolTip = L"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 = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipOver;
Edit1->Refresh();

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

// SelChange event - Occurs when the user selects text in the control.
void __fastcall TForm1::Edit1SelChange(TObject *Sender)
{
	Edit1->TempInlineToolTip = L"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->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = RGB(255,255,0);
Edit1->CaretLine = 12;
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap;
Edit1->Refresh();

185
Is it possible to display images in the inline tooltip

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Images(TVariant(String("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 = RGB(240,240,240);
Edit1->CaretLine = 4;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = 0x1000000;
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap;
Edit1->TempInlineToolTip = L"<img>1</img>This is a bit of text that's shown programatically under the current line";

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

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->CaretLine = 4;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = 0x1000000;
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap;
Edit1->TempInlineToolTip = L"This is a bit of text that's shown programatically under the current line";

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

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->CaretLine = 4;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = RGB(240,240,240);
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap;
Edit1->TempInlineToolTip = L"This is a bit of text that's shown programatically under the current line";

182
How can I display programmatically the inline tooltip

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->CaretLine = 4;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exTempInlineToolTipBackColor] = RGB(240,240,240);
Edit1->TempInlineToolTip = L"<br><c>This is a bit of text that's shown programatically under the current line<br>";

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

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->AddKeyword(L"<b>class</b>",TVariant(String("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") +
"y."),TNoParam(),TNoParam());
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTip;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipBackColor] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipForeColor] = RGB(128,0,0);
Edit1->Refresh();

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

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->AddKeyword(L"<b>class</b>",TVariant(String("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") +
"y."),TNoParam(),TNoParam());
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipOver | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTip;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipBackColor] = RGB(255,255,0);
Edit1->Refresh();

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

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->ToolTipOnTyping = false;
Edit1->AddKeyword(L"<b>class</b>",TVariant(String("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") +
"y."),TNoParam(),TNoParam());
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipOnChange;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipBackColor] = RGB(240,240,240);
Edit1->Refresh();

178
How do I enable the inline tooltip support

Edit1->LineNumberWidth = -1;
Edit1->LineNumberBackColor = RGB(240,240,240);
Edit1->AddKeyword(L"<b>class</b>",TVariant(String("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") +
"y."),TNoParam(),TNoParam());
Edit1->AllowInlineToolTip = Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTipWordWrap | Exeditlib_tlb::AllowInlineToolTipEnum::exInlineToolTip;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exInlineToolTipForeColor] = RGB(128,128,128);
Edit1->Refresh();

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

// MouseMove event - Occurs when the user moves the mouse.
void __fastcall TForm1::Edit1MouseMove(TObject *Sender,short   Button,short   Shift,int   X,int   Y)
{
	Edit1->ShowToolTip(Edit1->WordFromPoint[-1,-1,TNoParam()],TNoParam(),TNoParam(),TVariant("+8"),TVariant("+8"));
}


176
How do I get the text from the cursor

// MouseMove event - Occurs when the user moves the mouse.
void __fastcall TForm1::Edit1MouseMove(TObject *Sender,short   Button,short   Shift,int   X,int   Y)
{
	OutputDebugString( Edit1->WordFromPoint[-1,-1,TNoParam()] );
}


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
Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"exText",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"exHTML",TNoParam(),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextDisableIncrementalSearchContains,TVariant(true));
Edit1->Text = L"";
Edit1->InsertText(L"Press CTRL+SPACE, and type h, so the exHTML is not selected.",TNoParam());

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
Edit1->AddExpression(L"<fgcolor=008000>'</fgcolor>",L"<fgcolor=008000> </fgcolor>",L"",TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"exText (0)",TVariant("0 ' specifies the exText flag"),TNoParam(),TNoParam());
	var_Context->Add(L"exHTML (-1)",TVariant("-1 ' specifies the exHTML flag"),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextInsertCaretPos,TVariant("(0:=value lfind `'`) < 0 ? -1 : ( =:0 - (len(1:=(value left =:0)) - len(ltrim(reverse(=:1)))))"));
Edit1->Text = L"";
Edit1->InsertText(L"Press CTRL + SPACE, and select any item, a number is inserted",TNoParam());

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

// Change event - Indicates that the control's text have changed.
void __fastcall TForm1::Edit1Change(TObject *Sender)
{
	Edit1->ShowContext(TVariant(Edit1->ChangeOnKey));
	Edit1->ActiveContextItems = L"";
}

Edit1->Text = L"";
Edit1->InsertText(L"Press .(dot), :(color) or =(equal), to get different sensitive context",TNoParam());
Edit1->ActiveContextItems = L"";
Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TVariant("61")];
	var_Context->Add(L"Equal_1",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"Equal_2",TNoParam(),TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context1 = Edit1->Context[TVariant("46")];
	var_Context1->Add(L"Dot_1",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Dot_2",TNoParam(),TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context2 = Edit1->Context[TVariant("58")];
	var_Context2->Add(L"Colon_1",TNoParam(),TNoParam(),TNoParam());
	var_Context2->Add(L"Colon_2",TNoParam(),TNoParam(),TNoParam());

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

// Change event - Indicates that the control's text have changed.
void __fastcall TForm1::Edit1Change(TObject *Sender)
{
	Edit1->ShowContext(TVariant(Edit1->ChangeOnKey));
	Edit1->ActiveContextItems = L"";
}

Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TVariant("61")];
	var_Context->Add(L"True (-1)",TVariant("True"),TNoParam(),TNoParam());
	var_Context->Add(L"False (-1)",TVariant("False"),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextAllowSpaceOnFront,TVariant(true));
Edit1->Text = L"";
Edit1->InsertText(L"Press the = key and after that press the space keys",TNoParam());
Edit1->InsertText(L"",TNoParam());

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

Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"First_1",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"First_2",TNoParam(),TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context1 = Edit1->Context[TVariant("Second")];
	var_Context1->Add(L"Second_1",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Second_2",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Second_3",TNoParam(),TNoParam(),TNoParam());
Edit1->ActiveContextItems = L"Second";
Edit1->PagesContextItems = L":Page<font ;6><off -4>1</off></font>,Second:Page<font ;6><off -4>2</off></font>";

170
Is it possible to disable showing tooltip for items in the control's senitive context
Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"Column",TNoParam(),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextItemToolTip,TVariant("This is bit of text that shown when user selects the <b>Column</b> item."));
	var_Context->Add(L"Item",TNoParam(),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextItemToolTip,TVariant("This is bit of text that shown when user selects the <b>Item</b> item."));
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextAllowToolTip,TVariant(false));

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

Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"Column",TNoParam(),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextItemToolTip,TVariant("This is bit of text that shown when user selects the <b>Column</b> item."));
	var_Context->Add(L"Item",TNoParam(),TNoParam(),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextItemToolTip,TVariant("This is bit of text that shown when user selects the <b>Item</b> item."));

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

// OnContext event - Occurs when the user invokes the control's context window.
void __fastcall TForm1::Edit1OnContext(TObject *Sender,long   Start,BSTR   Context)
{
	OutputDebugString( L"CurrentContext:" );
	OutputDebugString( L"Context" );
	Edit1->ActiveContextItems = L"Second";
}

Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"First_1",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"First_2",TNoParam(),TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context1 = Edit1->Context[TVariant("Second")];
	var_Context1->Add(L"Second_1",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Second_2",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Second_3",TNoParam(),TNoParam(),TNoParam());

167
How can I show the control's sensitive context

// DblClick event - Occurs when the user double clicks the left mouse button over an object.
void __fastcall TForm1::Edit1DblClick(TObject *Sender,short   Shift,int   X,int   Y)
{
	Edit1->ShowContext(TVariant("DB"));
}

Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TVariant("DB")];
	var_Context->Add(L"BEGIN_MSG_MAP",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"<fgcolor=808080>MESSAGE_HANDLER",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"<fgcolor=808080>COMMAND_HANDLER",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"END_MSG_MAP",TNoParam(),TNoParam(),TNoParam());

166
How can I provide different sensitive context

// Change event - Indicates that the control's text have changed.
void __fastcall TForm1::Edit1Change(TObject *Sender)
{
	Edit1->ShowContext(TVariant(Edit1->ChangeOnKey));
}

Edit1->Text = L"";
Edit1->InsertText(L"Press .(dot), :(colon) or CTRL + SPACE to invoke the control's context",TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"General_1",TNoParam(),TNoParam(),TNoParam());
	var_Context->Add(L"General_2",TNoParam(),TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context1 = Edit1->Context[TVariant("46")];
	var_Context1->Add(L"Property_1",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Property_2",TNoParam(),TNoParam(),TNoParam());
	var_Context1->Add(L"Property_3",TNoParam(),TNoParam(),TNoParam());
Exeditlib_tlb::IEditContextPtr var_Context2 = Edit1->Context[TVariant("58")];
	var_Context2->Add(L"Method_1",TNoParam(),TNoParam(),TNoParam());
	var_Context2->Add(L"Method_2",TNoParam(),TNoParam(),TNoParam());
	var_Context2->Add(L"Method_3",TNoParam(),TNoParam(),TNoParam());

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

Edit1->Locked = true;
Edit1->SelBackColor = RGB(128,128,128);
Edit1->ForeColorLockedLine = RGB(128,128,128);
Edit1->BackColorLockedLine = RGB(255,255,255);

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

Edit1->HideSelection = false;
Edit1->SelLength = 10;
Edit1->SelBackColorHide = RGB(255,0,0);

163
How do I change the "Incremental Search" caption

Edit1->Cursor[Exeditlib_tlb::ClientAreaEnum::exIncrementalSearchArea] = TVariant("exHelp");
Edit1->Caption[Exeditlib_tlb::DialogEnum::exIncrementalSearchField,Exeditlib_tlb::FieldDialogEnum::exCaption] = L"Search for: %s";
Edit1->IncrementalSearchError = RGB(255,0,0);

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

Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exBoth;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exVScroll,Exeditlib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum(0x2),Exeditlib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Edit1->ScrollWidth = 4;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumb] = RGB(128,128,128);
Edit1->ScrollHeight = 4;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSBack] = Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSBack];
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumb] = Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumb];
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSizeGrip] = Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSBack];

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

Edit1->AddKeyword(L"<b>CExHelperDialog</b>",TNoParam(),TNoParam(),TNoParam());
Edit1->Refresh();
Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exVertical;

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

Edit1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->AddKeyword(L"<b>public</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
Exeditlib_tlb::IEditContextPtr var_Context = Edit1->Context[TNoParam()];
	var_Context->Add(L"<b>class</b>",TVariant(""),TVariant(1),TNoParam());
	var_Context->Add(L"<b>public</b>",TVariant(""),TVariant(2),TNoParam());
	var_Context->set_Options(Exeditlib_tlb::ContextOptionEnum::exContextAllowChars,TVariant("_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"));

159
How do I sort items in the sensitive context

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

158
Can I add icons to the sensitive context

Edit1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
Edit1->Context[TNoParam()]->Add(L"<b>class</b>",TVariant(""),TVariant(1),TNoParam());

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

Edit1->ContextKey = 544;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
Edit1->Context[TNoParam()]->Add(L"class",TNoParam(),TNoParam(),TNoParam());

156
How do I enable or disable the sensitive context menu
Edit1->CodeCompletion = Exeditlib_tlb::CodeCompletionEnum::exCodeCompletionDisable;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
Edit1->Context[TNoParam()]->Add(L"class",TNoParam(),TNoParam(),TNoParam());

155
How can I add a sensitive context menu

Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
Edit1->Context[TNoParam()]->Add(L"class",TNoParam(),TNoParam(),TNoParam());

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

Edit1->AddWild(L"<fgcolor=808080>(*)</fgcolor>");
Edit1->Refresh();

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

Edit1->AddWild(L"_HANDLER<fgcolor=FF0000>(*)</fgcolor>");
Edit1->Refresh();

152
How can I remove or delete all expressions

Edit1->AddExpression(L"(",L"<b><fgcolor=FF0000> </fgcolor></b>",L")",TVariant(false),TNoParam());
Edit1->ClearExpressions();
Edit1->Refresh();

151
How can I remove or delete an expression

Edit1->AddExpression(L"(",L"<b><fgcolor=FF0000> </fgcolor></b>",L")",TVariant(false),TNoParam());
Edit1->DeleteExpression(L"(");
Edit1->Refresh();

150
How can I add an expression

Edit1->AddExpression(L"(",L"<b><fgcolor=FF0000> </fgcolor></b>",L")",TVariant(false),TNoParam());
Edit1->Refresh();

149
How can I add an expression on multiple lines

Edit1->AddExpression(L"<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>",L"<b><fgcolor=FF0000> </fgcolor></b>",L"<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",TVariant(true),TNoParam());
Edit1->Refresh();

148
How can I remove or delete all keywords
Edit1->AddKeyword(L"<b><fgcolor=FF0000>class</fgcolor></b>",TNoParam(),TNoParam(),TNoParam());
Edit1->ClearKeywords();
Edit1->Refresh();

147
How can I remove or delete keyword
Edit1->AddKeyword(L"<b><fgcolor=FF0000>class</fgcolor></b>",TNoParam(),TNoParam(),TNoParam());
Edit1->DeleteKeyword(L"class");
Edit1->Refresh();

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

Edit1->AddKeyword(L"<b><fgcolor=FF0000>class</fgcolor></b>",TVariant(""),TVariant(""),TVariant(2));
Edit1->Refresh();
Edit1->InsertText(L"ClasS\\r\\n",TVariant(1));
Edit1->InsertText(L"CLASS\\r\\n",TVariant(1));

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

Edit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",TVariant(""),TVariant(""),TVariant(1));
Edit1->Refresh();
Edit1->InsertText(L"ClasS\\r\\n",TVariant(1));
Edit1->InsertText(L"CLASS\\r\\n",TVariant(1));

144
How can I assign a tooltip to a keyword

Edit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

143
How do I add a keyword

Edit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",TNoParam(),TNoParam(),TNoParam());
Edit1->Refresh();

142
How do I add a keyword

Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

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

Edit1->ToolTipDelay = 1;
Edit1->ToolTipOnTyping = true;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

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

Edit1->ForeColorLockedLine = RGB(0,0,0);
Edit1->BackColorLockedLine = RGB(255,0,0);
Edit1->LockedLine[1] = true;

139
How do I lock or make read only a line

Edit1->LockedLine[1] = true;

138
How do I start overtyping

Edit1->Overtype = true;

137
How do I get the selection

Edit1->GetSelection(sy,sx,ey,ex);
OutputDebugString( L"sy" );
OutputDebugString( L"sx" );
OutputDebugString( L"ey" );
OutputDebugString( L"ex" );

136
How do I select multiple lines

Edit1->SetSelection(TVariant(0),TVariant(0),TVariant(10),TVariant(0));
Edit1->HideSelection = false;

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

Edit1->Cursor[Exeditlib_tlb::ClientAreaEnum::exSelectedText] = TVariant("exHelp");
Edit1->SelLength = 10;
Edit1->HideSelection = false;

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

Edit1->Cursor[Exeditlib_tlb::ClientAreaEnum::exIncrementalSearchArea] = TVariant("exHelp");

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

Edit1->Cursor[Exeditlib_tlb::ClientAreaEnum::exLineNumberArea] = TVariant("exHelp");
Edit1->LineNumberWidth = 16;

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

Edit1->Cursor[Exeditlib_tlb::ClientAreaEnum::exBookmarkArea] = TVariant("exHelp");
Edit1->BookmarkWidth = 16;

131
How can I change the shape of the cursor when it hovers the edit
Edit1->Cursor[Exeditlib_tlb::ClientAreaEnum::exEditArea] = TVariant("exHelp");

130
How can I enable or disable OLE drag and drop operations
Edit1->OLEDropMode = Exeditlib_tlb::exOLEDropModeEnum::exOLEDropAutomatic;

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

Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextUndo] = L"U N D O";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextRedo] = L"R E D O";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextCut] = L"C U T";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextCopy] = L"C O P Y";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextPaste] = L"P A S T E";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextDelete] = L"D E L";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exContextMenu,Exeditlib_tlb::FieldDialogEnum::exContextSelectAll] = L"A L L ";

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

Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldFindWhat] = L"What";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldReplaceWith] = L"Replace";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldWordOnly] = L"Word";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldMatchCase] = L"Case";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldFindNext] = L"Dir";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldSelection] = L"Sel";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldWholeFile] = L"File";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldReplace] = L"Rep";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldReplaceAll] = L"All";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exFieldCancel] = L"Abandon";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exErrorTitle] = L"Title";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exErrorFindNext] = L"Failed!";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exErrorFindNext] = L"Done";

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

Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldFindWhat] = L"What";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldWordOnly] = L"Word";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldMatchCase] = L"Case";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldFindNext] = L"Dir";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldSelection] = L"U";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldWholeFile] = L"D";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldFindNext] = L"Next";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldReplace] = L"All";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exFieldCancel] = L"Abandon";
Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exErrorFindNext] = L"Failed!";

126
How can I change the caption for the Replace dialog

Edit1->Caption[Exeditlib_tlb::DialogEnum::exReplaceDialog,Exeditlib_tlb::FieldDialogEnum::exCaption] = L"Search and Replace";

125
How can I change the caption for the Find dialog

Edit1->Caption[Exeditlib_tlb::DialogEnum::exFindDialog,Exeditlib_tlb::FieldDialogEnum::exCaption] = L"Search";

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

Edit1->RClick = true;

123
How can I disable indenting the selected text when the user presses the TAB key
Edit1->IndentOnTab = false;

122
How can I indent a line

Edit1->LineNumberWidth = 18;
Edit1->HideSelection = false;
Edit1->SelectLine(3);
Edit1->IndentSel(true);

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

Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneHeight = 128;
Edit1->SplitPaneWidth = 128;

120
How can I select a line

Edit1->LineNumberWidth = 18;
Edit1->HideSelection = false;
Edit1->SelectLine(3);

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

Edit1->LineNumberFont->Name = L"Tahoma";
Edit1->LineNumberWidth = 18;

118
How can I change the height of the line

Edit1->Font->Size = TVariant(long(32));
Edit1->DrawGridLines = true;
Edit1->Refresh();

117
How can I show or hide the grid lines

Edit1->DrawGridLines = true;

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

Edit1->AllowMark = true;
Edit1->MarkContinueBlocks = true;
Edit1->AddKeyword(L"<b>CAxWnd",TNoParam(),TNoParam(),TNoParam());
Edit1->AddExpression(L"<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>",L"<b><fgcolor=FF0000> </fgcolor></b>",L"<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",TVariant(true),TNoParam());
Edit1->MarkColor[L"BEGIN_MSG_MAP"] = RGB(255,0,0);
Edit1->MarkColor[L"END_MSG_MAP"] = RGB(128,0,0);
Edit1->MarkColor[L"CAxWnd"] = RGB(0,0,0);
Edit1->Refresh();

115
How do I ignore \" in a string

Edit1->InsertText(L"\"just a string \\\"expression\"\\r\\n",TVariant(1));
Edit1->AddExpression(L"<fgcolor=800000><b>\"</b></fgcolor>",L"<b><fgcolor=FF0000> </fgcolor></b>",L"<fgcolor=800000><b>\"</b></fgcolor>",TVariant(true),TNoParam());
Edit1->IgnorePrefixInExpression[L"\""] = L"\\";
Edit1->Refresh();

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

Edit1->LineNumberBorderColor = RGB(255,0,0);
Edit1->LineNumberWidth = 18;

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

Edit1->BookmarkBorderColor = RGB(255,0,0);
Edit1->BookmarkWidth = 18;

112
Can I display a custom icon or picture for bookmarks

Edit1->Images(TVariant(String("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;

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

Edit1->Images(TVariant(String("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;

110
How do I remove the line's background color
Edit1->BackColorLine[1] = RGB(255,0,0);
Edit1->ClearBackColorLine(1);

109
How do I change the foreground color for a line

Edit1->ForeColorLine[1] = RGB(255,0,0);

108
How do I change the background color for a line

Edit1->BackColorLine[1] = RGB(255,0,0);

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

Edit1->ContextMenuItems = L"New Item";

106
How do I ensure that a specified line is visible

Edit1->EnsureVisibleLine(Edit1->Count);

105
How can I programmatically perform a REDO operation
Edit1->Redo();

104
How can I programmatically perform an UNDO operation
Edit1->Undo();

103
How do I get the bookmarks as a list

Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;
TVariant var_BookmarksList = TVariant(Edit1->get_BookmarksList());

102
How can I move to the previous bookmark

Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;
Edit1->PrevBookmark();

101
How can I move to the next bookmark

Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;
Edit1->NextBookmark();