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();