160. How do I specify the characters to close the sensitive context
C#
exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
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.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);
exedit1.Refresh();
exontrol.EXEDITLib.Context var_Context = exedit1.get_Context(null);
	var_Context.Add("<b>class</b>","",1,null);
	var_Context.Add("<b>public</b>","",2,null);
	var_Context.set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextAllowChars,"_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
159. How do I sort items in the sensitive context
C#
exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
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.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);
exedit1.Refresh();
exedit1.get_Context(null).Add("<b>public</b>","",2,null);
exedit1.get_Context(null).Add("<b>class</b>","",1,null);
exedit1.get_Context(null).Sort(true);
158. Can I add icons to the sensitive context
C#
exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
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("<b>class</b>","",1,null);
157. How can I change the keys combination that invokes the sensitive context
C#
exedit1.ContextKey = 544;
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);
156. How do I enable or disable the sensitive context menu
C#
exedit1.CodeCompletion = false;
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);
155. How can I add a sensitive context menu
C#
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
C#
exedit1.AddWild("<b>a</b>");
exedit1.Refresh();
153. Can I use wild characters to define keys in your control
C#
exedit1.AddWild("<s> </s>");
exedit1.Refresh();
152. How can I remove or delete all expressions
C#
exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
exedit1.ClearExpressions();
exedit1.Refresh();
151. How can I remove or delete an expression
C#
exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
exedit1.DeleteExpression("(");
exedit1.Refresh();
150. How can I add an expression
C#
exedit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
exedit1.Refresh();
149. How can I add an expression on multiple lines
C#
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
C#
exedit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
exedit1.ClearKeywords();
exedit1.Refresh();
147. How can I remove or delete keyword
C#
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
C#
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
C#
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
C#
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
C#
exedit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>",null,null,null);
exedit1.Refresh();
142. How do I add a keyword
C#
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
C#
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
C#
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
C#
exedit1.set_LockedLine(1,true);
138. How do I start overtyping
C#
exedit1.Overtype = true;
136. How do I select multiple lines
C#
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
C#
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
C#
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
C#
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
C#
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
C#
exedit1.set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exEditArea,0);
130. How can I enable or disable OLE drag and drop operations
C#
exedit1.OLEDropMode = exontrol.EXEDITLib.exOLEDropModeEnum.exOLEDropAutomatic;
129. How can I change the descriptions for items in the control's context menu
C#
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
C#
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
C#
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
C#
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
C#
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
C#
exedit1.RClick = true;
123. How can I disable indenting the selected text when the user presses the TAB key
C#
exedit1.IndentOnTab = false;
122. How can I indent a line
C#
exedit1.LineNumberWidth = 18;
exedit1.HideSelection = false;
exedit1.SelectLine(3);
exedit1.IndentSel(true);
121. How can I show or hide the control's splitter
C#
exedit1.AllowSplitter = exontrol.EXEDITLib.SplitterEnum.exBothSplitter;
exedit1.SplitPaneHeight = 128;
exedit1.SplitPaneWidth = 128;
120. How can I select a line
C#
exedit1.LineNumberWidth = 18;
exedit1.HideSelection = false;
exedit1.SelectLine(3);
119. How do I change the font to display the line numbers
C#
exedit1.LineNumberFont.Name = "Tahoma";
exedit1.LineNumberWidth = 18;
118. How can I change the height of the line
C#
exedit1.Font.Size = 32;
exedit1.DrawGridLines = true;
exedit1.Refresh();
117. How can I show or hide the grid lines
C#
exedit1.DrawGridLines = true;
116. How do I highlight the position of multiple lines expression on the vertical scroll bar
C#
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
C#
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
C#
exedit1.LineNumberBorderColor = Color.FromArgb(255,0,0);
exedit1.LineNumberWidth = 18;
113. How can I change the color for the bookmark's border
C#
exedit1.BookmarkBorderColor = Color.FromArgb(255,0,0);
exedit1.BookmarkWidth = 18;
112. Can I display a custom icon or picture for bookmarks
C#
exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+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
C#
exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+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
C#
exedit1.set_BackColorLine(1,Color.FromArgb(255,0,0));
exedit1.ClearBackColorLine(1);
109. How do I change the foreground color for a line
C#
exedit1.set_ForeColorLine(1,Color.FromArgb(255,0,0));
108. How do I change the background color for a line
C#
exedit1.set_BackColorLine(1,Color.FromArgb(255,0,0));
107. How can I add my own items in the control's context menu
C#
exedit1.ContextMenuItems = "New Item";
106. How do I ensure that a specified line is visible
C#
exedit1.EnsureVisibleLine(exedit1.Count);
105. How can I programmatically perform a REDO operation
C#
exedit1.Redo();
104. How can I programmatically perform an UNDO operation
C#
exedit1.Undo();
103. How do I get the bookmarks as a list
C#
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
C#
exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
exedit1.PrevBookmark();
101. How can I move to the next bookmark
C#
exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
exedit1.NextBookmark();
100. How can I remove a bookmark
C#
exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(2,false);
exedit1.BookmarkWidth = 16;
99. How can I remove all bookmarks
C#
exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
exedit1.ClearBookmarks();
98. How can I add a bookmark
C#
exedit1.set_Bookmark(2,true);
exedit1.set_Bookmark(4,true);
exedit1.BookmarkWidth = 16;
97. How can I change the format to display the numbers
C#
exedit1.FormatNumbers = "<b><fgcolor=FF0000> </fgcolor></b>";
exedit1.InsertText("Just numbers: 12 22\\r\\n",1);
96. Is there any option to change the color for the line that displays the cursor or the caret
C#
exedit1.BackColorCaretLine = Color.FromArgb(255,0,0);
95. Can I display the lines using an alternate color
C#
exedit1.BackColorAlternate = Color.FromArgb(255,0,0);
94. How can I disable or enable displaying the Replace dialog
C#
exedit1.AllowReplace = false;
93. Does your control support incrementasl search
C#
exedit1.AllowIncrementalSearch = true;
92. How can I programmatically find or search for a word only
C#
exedit1.HideSelection = false;
exedit1.Find("IDD_DIALOG_INSTALL",exontrol.EXEDITLib.FindOptionEnum.exMatchWholeWordOnly);
91. How can I programmatically find or search for a string
C#
exedit1.HideSelection = false;
exedit1.Find("public",exontrol.EXEDITLib.FindOptionEnum.exSearchDown);
90. How can I disable or enabled the Find dialog
C#
exedit1.AllowFind = false;
89. How can I enable my button as the control can perform an REDO operation
C#
bool var_CanRedo = exedit1.CanRedo;
88. How can I enable my button as the control can perform an UNDO operation
C#
bool var_CanUndo = exedit1.CanUndo;
87. How can I disable or enable the undo-redo feature
C#
exedit1.AllowUndoRedo = false;
86. How can I change the color for the border where the line numbers are displayed
C#
exedit1.LineNumberForeColor = Color.FromArgb(255,0,0);
exedit1.LineNumberBackColor = Color.FromArgb(0,0,255);
exedit1.LineNumberWidth = 32;
85. How can I change the color of the bookmark border
C#
exedit1.BookMarkBackColor = Color.FromArgb(255,0,0);
exedit1.BookMarkBackColor2 = Color.FromArgb(255,0,0);
exedit1.BookmarkWidth = 16;
84. How can I refresh the control
C#
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();
83. How can I change the size of the tabs characters
C#
exedit1.TabLength = 8;
82. I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
C#
exedit1.OpenBrackets = "<";
exedit1.CloseBrackets = ">";
81. How can I hide the selection
C#
exedit1.DisplaySelection = false;
80. How can I display both scroll bars
C#
exedit1.ScrollBars = exontrol.EXEDITLib.ScrollBarsEnum.exBoth;
79. How can I display only the vertical scroll bar
C#
exedit1.ScrollBars = exontrol.EXEDITLib.ScrollBarsEnum.exVertical;
78. How can I display only the horizontal scroll bar
C#
exedit1.ScrollBars = exontrol.EXEDITLib.ScrollBarsEnum.exHorizontal;
77. How can I hide the control's scroll bars
C#
exedit1.ScrollBars = exontrol.EXEDITLib.ScrollBarsEnum.exNoScroll;
76. How can I insert at specified position a new line
C#
exedit1.InsertText("newline\\r\\n",2);
exedit1.set_BackColorLine(2,Color.FromArgb(255,0,0));
75. How can I remove or delete all lines
C#
exedit1.Text = "";
74. How can I remove or delete a line
C#
exedit1.DeleteLine(1);
73. How do I change the character where the caret or the cursor is displayed
C#
exedit1.CaretPos = 10;
72. How do I change the line where the caret or the cursor is displayed
C#
exedit1.CaretLine = 10;
71. How do I replace a line
C#
exedit1.set_TextLine(1,"new line");
70. How do I get a line
C#
exedit1.set_TextLine(1,"new line");
69. How do I get the number of lines in the control
C#
int var_Count = exedit1.Count;
68. How do I get the point where the selection starts
C#
exedit1.SelStart = 4;
exedit1.SelLength = 10;
exedit1.HideSelection = false;
67. How do I get the number of selected characters
C#
exedit1.SelLength = 10;
exedit1.HideSelection = false;
66. How can I get the selected text
C#
exedit1.SelLength = 10;
string var_SelText = exedit1.SelText;
65. How can I replace the selected text
C#
exedit1.SelLength = 10;
exedit1.SelText = "-new selection-";
64. How can I avoid changing the colors for keywords or expressions
C#
exedit1.ApplyColors = false;
exedit1.AddKeyword("<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
exedit1.Refresh();
63. How can I display HTML text
C#
exedit1.EditType = exontrol.EXEDITLib.EditTypeEnum.exHTML;
exedit1.Text = "<b>just a HTML text</b>\\r\\nnew <s>line</s>";
62. How can I use it a a simple edit control, without highlighting
C#
exedit1.EditType = exontrol.EXEDITLib.EditTypeEnum.exStandard;
57. How can I display only a single line
C#
exedit1.MultiLine = false;
56. How can I disable displaying multiple lines
C#
exedit1.MultiLine = false;
55. How can change the color for selected text
C#
exedit1.HideSelection = false;
exedit1.SelLength = 10;
exedit1.SelBackColor = Color.FromArgb(255,0,0);
54. How can change the color for selected text
C#
exedit1.HideSelection = false;
exedit1.SelLength = 10;
exedit1.SelForeColor = Color.FromArgb(255,0,0);
53. How can I disable displaying the control's context menu
C#
exedit1.AllowContextMenu = false;
52. Is there any option to hide the caret or the cursor
C#
exedit1.ShowCaret = false;
51. How can still display the selected text when the control loses the focus
C#
exedit1.HideSelection = false;
exedit1.SelLength = 10;
50. How can I disable adding new TAB characters when the user enters a new line
C#
exedit1.AutoIndent = false;
49. How can I disable using the Tab key
C#
exedit1.UseTabKey = false;
48. How can I hide the number of each line
C#
exedit1.LineNumberWidth = 0;
47. How can I display or show the number of each line
C#
exedit1.LineNumberWidth = 32;
46. How can I clear the text
C#
exedit1.Text = "";
45. How can I specify the text being displayed in the control
C#
exedit1.Text = "new line\\r\\nnew line";
44. How can I hide the bookmark border
C#
exedit1.BookmarkWidth = 0;
43. How can I show the bookmark border
C#
exedit1.BookmarkWidth = 16;
42. How do I lock the control
C#
exedit1.Locked = true;
41. How do I disable or enable the control
C#
exedit1.Enabled = false;
40. How can I change the visual appearance of the splitter
C#
exedit1.AllowSplitter = exontrol.EXEDITLib.SplitterEnum.exBothSplitter;
exedit1.SplitPaneWidth = 128;
exedit1.SplitPaneHeight = 128;
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSplitterApp,16777216);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exVSplitterApp,16777216);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exISplitterApp,33554432);
39. How can I change the visual appearance of the vertical splitter
C#
exedit1.AllowSplitter = exontrol.EXEDITLib.SplitterEnum.exBothSplitter;
exedit1.SplitPaneWidth = 128;
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSplitterApp,16777216);
38. How can I change the visual appearance of the horizontal splitter
C#
exedit1.AllowSplitter = exontrol.EXEDITLib.SplitterEnum.exBothSplitter;
exedit1.SplitPaneHeight = 128;
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exVSplitterApp,16777216);
37. How do I change the visual aspect for thumb parts in the scroll bars, using EBN
C#
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumb,16777216);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumbP,33554432);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumbH,50331648);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exVSThumb,16777216);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exVSThumbP,33554432);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exVSThumbH,50331648);
36. How do I change the visual aspect only for the thumb in the scroll bar, using EBN
C#
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumb,16777216);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumbP,33554432);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumbH,50331648);
exedit1.set_ScrollThumbSize(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,96);
35. I've seen that you can change the visual appearance for the scroll bar. How can I do that
C#
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exSBtn,16777216);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exSBtnP,33554432);
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exSBtnH,50331648);
exedit1.set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exHSBack,Color.FromArgb(240,240,240));
exedit1.set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240));
exedit1.set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exSizeGrip,Color.FromArgb(240,240,240));
34. Can I change the forecolor for the tooltip
C#
exedit1.ToolTipDelay = 1;
exedit1.ToolTipWidth = 364;
exedit1.set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exToolTipForeColor,Color.FromArgb(255,0,0));
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();
33. Can I change the background color for the tooltip
C#
exedit1.ToolTipDelay = 1;
exedit1.ToolTipWidth = 364;
exedit1.set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exToolTipBackColor,Color.FromArgb(255,0,0));
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();
32. Can I change the default border of the tooltip, using your EBN files
C#
exedit1.ToolTipDelay = 1;
exedit1.ToolTipWidth = 364;
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exToolTipAppearance,16777216);
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();
31. How do I call your x-script language
C#
exedit1.ExecuteTemplate("BackColor = RGB(255,0,0)");
30. How do I call your x-script language
C#
exedit1.Template = "BackColor = RGB(255,0,0)";
29. Can I change the font for the tooltip
C#
exedit1.ToolTipDelay = 1;
stdole.IFontDisp var_StdFont = exedit1.ToolTipFont;
	var_StdFont.Name = "Tahoma";
	var_StdFont.Size = 14;
exedit1.ToolTipWidth = 364;
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();
28. I've seen that the width of the tooltip is variable. Can I make it larger
C#
exedit1.ToolTipWidth = 328;
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();
27. How do I let the tooltip being displayed longer
C#
exedit1.ToolTipPopDelay = 10000;
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();
26. How do I disable showing the tooltip for all control
C#
exedit1.ToolTipDelay = 0;
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();
25. How do I show the tooltip quicker
C#
exedit1.ToolTipDelay = 1;
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();
24. Can I change the order of the buttons in the scroll bar
C#
exedit1.set_ScrollOrderParts(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,"t,l,r");
exedit1.set_ScrollOrderParts(exontrol.EXEDITLib.ScrollBarEnum.exVScroll,"t,l,r");
23. The thumb size seems to be very small. Can I make it bigger
C#
exedit1.set_ScrollThumbSize(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,164);
22. How do I enlarge or change the size of the control's scrollbars
C#
exedit1.ScrollHeight = 18;
exedit1.ScrollWidth = 18;
exedit1.ScrollButtonWidth = 18;
exedit1.ScrollButtonHeight = 18;
21. How can I display my text on the scroll bar, using a different font
C#
exedit1.set_ScrollPartCaption(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exThumbPart,"This is just a text");
exedit1.get_ScrollFont(exontrol.EXEDITLib.ScrollBarEnum.exHScroll).Size = 12;
exedit1.set_ScrollThumbSize(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,128);
exedit1.ScrollHeight = 0;
exedit1.set_ScrollPartCaption(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exThumbPart,"This is <s><font Tahoma;12> just </font></s> text");
exedit1.ScrollHeight = 20;
20. How can I display my text on the scroll bar
C#
exedit1.set_ScrollPartCaption(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exThumbPart,"this is just a text");
exedit1.set_ScrollThumbSize(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,96);
19. How do I assign a tooltip to a scrollbar
C#
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.set_ScrollToolTip(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the hori" +
"zontal scroll bar");
18. How do I assign an icon to the button in the scrollbar
C#
exedit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exedit1.set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exLeftB1Part,true);
exedit1.set_ScrollPartCaption(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>");
exedit1.ScrollHeight = 18;
exedit1.ScrollButtonWidth = 18;
17. I need to add a button in the scroll bar. Is this possible
C#
exedit1.set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exLeftB1Part,true);
exedit1.set_ScrollPartCaption(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exLeftB1Part,"1");
16. Can I display an additional buttons in the scroll bar
C#
exedit1.set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exLeftB1Part,true);
exedit1.set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exLeftB2Part,true);
exedit1.set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exRightB6Part,true);
exedit1.set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exRightB5Part,true);
15. How do I change the control's foreground color
C#
exedit1.ForeColor = Color.FromArgb(255,0,0);
14. How do I change the control's background color
C#
exedit1.BackColor = Color.FromArgb(200,200,200);
13. How can I change the control's font
C#
exedit1.Font.Name = "Verdana";
12. How do I put a picture on the center of the control
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exMiddleCenter;
11. How do I resize/stretch a picture on the control's background
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exStretch;
10. How do I put a picture on the control's center right bottom side
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exLowerRight;
9. How do I put a picture on the control's center left bottom side
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exLowerLeft;
8. How do I put a picture on the control's center top side
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exUpperCenter;
7. How do I put a picture on the control's right top corner
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exUpperRight;
6. How do I put a picture on the control's left top corner
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
exedit1.PictureDisplay = exontrol.EXEDITLib.PictureDisplayEnum.exUpperLeft;
5. How do I put a picture on the control's background
C#
exedit1.Picture = (exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
4. How do I change the control's border, using your EBN files
C#
exedit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.Appearance = (exontrol.EXEDITLib.AppearanceEnum)0x1000000;
3. How do I remove the control's border
C#
exedit1.Appearance = exontrol.EXEDITLib.AppearanceEnum.exNone;
2. How can I add a line
C#
exedit1.InsertText(" - insert the line as the last - \\r\\n",null);
1. How can I insert a line
C#
exedit1.InsertText(" - insert the line as the first - \\r\\n",1);