155
How can I add a sensitive context menu

exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
exedit1.Refresh();
exedit1.get_Context(null).Add("class",null,null,null);

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

exedit1.AddWild("<fgcolor=808080>(*)</fgcolor>");
exedit1.Refresh();

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

exedit1.AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>");
exedit1.Refresh();

152
How can I remove or delete all expressions

exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
exedit1.ClearExpressions();
exedit1.Refresh();

151
How can I remove or delete an expression

exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
exedit1.DeleteExpression("(");
exedit1.Refresh();

150
How can I add an expression

exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
exedit1.Refresh();

149
How can I add an expression on multiple lines

exedit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,null);
exedit1.Refresh();

148
How can I remove or delete all keywords
exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
exedit1.ClearKeywords();
exedit1.Refresh();

147
How can I remove or delete keyword
exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
exedit1.DeleteKeyword("class");
exedit1.Refresh();

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

exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>","","",2);
exedit1.Refresh();
exedit1.InsertText("ClasS\\r\\n",1);
exedit1.InsertText("CLASS\\r\\n",1);

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

exedit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>","","",1);
exedit1.Refresh();
exedit1.InsertText("ClasS\\r\\n",1);
exedit1.InsertText("CLASS\\r\\n",1);

144
How can I assign a tooltip to a keyword

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

143
How do I add a keyword

exedit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>",null,null,null);
exedit1.Refresh();

142
How do I add a keyword

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

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

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

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

exedit1.ForeColorLockedLine = Color.FromArgb(0,0,0);
exedit1.BackColorLockedLine = Color.FromArgb(255,0,0);
exedit1.set_LockedLine(1,true);

139
How do I lock or make read only a line

exedit1.set_LockedLine(1,true);

138
How do I start overtyping

exedit1.Overtype = true;

137
How do I get the selection

exedit1.GetSelection(sy,sx,ey,ex);
System.Diagnostics.Debug.Print( sy.ToString() );
System.Diagnostics.Debug.Print( sx.ToString() );
System.Diagnostics.Debug.Print( ey.ToString() );
System.Diagnostics.Debug.Print( ex.ToString() );

136
How do I select multiple lines

exedit1.SetSelection(0,0,10,0);
exedit1.HideSelection = false;

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

exedit1.set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exSelectedText,"exHelp");
exedit1.SelLength = 10;
exedit1.HideSelection = false;

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

exedit1.set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exIncrementalSearchArea,"exHelp");

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

exedit1.set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exLineNumberArea,"exHelp");
exedit1.LineNumberWidth = 16;

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

exedit1.set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exBookmarkArea,"exHelp");
exedit1.BookmarkWidth = 16;

131
How can I change the shape of the cursor when it hovers the edit
exedit1.set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exEditArea,"exHelp");

130
How can I enable or disable OLE drag and drop operations
exedit1.OLEDropMode = exontrol.EXEDITLib.exOLEDropModeEnum.exOLEDropAutomatic;

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

exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextUndo,"U N D O");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextRedo,"R E D O");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextCut,"C U T");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextCopy,"C O P Y");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextPaste,"P A S T E");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextDelete,"D E L");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextSelectAll,"A L L ");

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

exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplaceWith,"Replace");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldSelection,"Sel");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWholeFile,"File");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplace,"Rep");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplaceAll,"All");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorTitle,"Title");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorFindNext,"Done");

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

exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldSelection,"U");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWholeFile,"D");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindNext,"Next");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplace,"All");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon");
exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!");

126
How can I change the caption for the Replace dialog

exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exCaption,"Search and Replace");

125
How can I change the caption for the Find dialog

exedit1.set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exCaption,"Search");

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

exedit1.RClick = true;

123
How can I disable indenting the selected text when the user presses the TAB key
exedit1.IndentOnTab = false;

122
How can I indent a line

exedit1.LineNumberWidth = 18;
exedit1.HideSelection = false;
exedit1.SelectLine(3);
exedit1.IndentSel(true);

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

exedit1.AllowSplitter = exontrol.EXEDITLib.SplitterEnum.exBothSplitter;
exedit1.SplitPaneHeight = 128;
exedit1.SplitPaneWidth = 128;

120
How can I select a line

exedit1.LineNumberWidth = 18;
exedit1.HideSelection = false;
exedit1.SelectLine(3);

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

exedit1.LineNumberFont.Name = "Tahoma";
exedit1.LineNumberWidth = 18;

118
How can I change the height of the line

exedit1.Font.Size = 32;
exedit1.DrawGridLines = true;
exedit1.Refresh();

117
How can I show or hide the grid lines

exedit1.DrawGridLines = true;

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

exedit1.AllowMark = true;
exedit1.MarkContinueBlocks = true;
exedit1.AddKeyword("<b>CAxWnd",null,null,null);
exedit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,null);
exedit1.set_MarkColor("BEGIN_MSG_MAP",Color.FromArgb(255,0,0));
exedit1.set_MarkColor("END_MSG_MAP",Color.FromArgb(128,0,0));
exedit1.set_MarkColor("CAxWnd",Color.FromArgb(0,0,0));
exedit1.Refresh();

115
How do I ignore \" in a string

exedit1.InsertText("\"just a string \\\"expression\"\\r\\n",1);
exedit1.AddExpression("<fgcolor=800000><b>\"</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>\"</b></fgcolor>",true,null);
exedit1.set_IgnorePrefixInExpression("\"","\\");
exedit1.Refresh();

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

exedit1.LineNumberBorderColor = Color.FromArgb(255,0,0);
exedit1.LineNumberWidth = 18;

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

exedit1.BookmarkBorderColor = Color.FromArgb(255,0,0);
exedit1.BookmarkWidth = 18;

112
Can I display a custom icon or picture for bookmarks

exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exedit1.BookmarkImage = 1;
exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 18;

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

exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exedit1.set_BookmarkImageLine(2,1);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 18;

110
How do I remove the line's background color
exedit1.set_BackColorLine(1,Color.FromArgb(255,0,0));
exedit1.ClearBackColorLine(1);

109
How do I change the foreground color for a line

exedit1.set_ForeColorLine(1,Color.FromArgb(255,0,0));

108
How do I change the background color for a line

exedit1.set_BackColorLine(1,Color.FromArgb(255,0,0));

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

exedit1.ContextMenuItems = "New Item";

106
How do I ensure that a specified line is visible

exedit1.EnsureVisibleLine(exedit1.Count);

105
How can I programmatically perform a REDO operation
exedit1.Redo();

104
How can I programmatically perform an UNDO operation
exedit1.Undo();

103
How do I get the bookmarks as a list

exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
object var_BookmarksList = exedit1.BookmarksList;

102
How can I move to the previous bookmark

exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
exedit1.PrevBookmark();

101
How can I move to the next bookmark

exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
exedit1.NextBookmark();