155
|
How can I add a sensitive context menu

axEdit1.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);
axEdit1.Refresh();
axEdit1.get_Context(null).Add("class",null,null,null);
|
154
|
Can I use wild characters to define keys in your control

axEdit1.AddWild("<fgcolor=808080>(*)</fgcolor>");
axEdit1.Refresh();
|
153
|
Can I use wild characters to define keys in your control

axEdit1.AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>");
axEdit1.Refresh();
|
152
|
How can I remove or delete all expressions

axEdit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
axEdit1.ClearExpressions();
axEdit1.Refresh();
|
151
|
How can I remove or delete an expression

axEdit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
axEdit1.DeleteExpression("(");
axEdit1.Refresh();
|
150
|
How can I add an expression

axEdit1.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,null);
axEdit1.Refresh();
|
149
|
How can I add an expression on multiple lines

axEdit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,null);
axEdit1.Refresh();
|
148
|
How can I remove or delete all keywords
axEdit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
axEdit1.ClearKeywords();
axEdit1.Refresh();
|
147
|
How can I remove or delete keyword
axEdit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",null,null,null);
axEdit1.DeleteKeyword("class");
axEdit1.Refresh();
|
146
|
How do I add a keyword that's not case sensitive

axEdit1.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>","","",2);
axEdit1.Refresh();
axEdit1.InsertText("ClasS\\r\\n",1);
axEdit1.InsertText("CLASS\\r\\n",1);
|
145
|
How do I add a keyword that's not case sensitive

axEdit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>","","",1);
axEdit1.Refresh();
axEdit1.InsertText("ClasS\\r\\n",1);
axEdit1.InsertText("CLASS\\r\\n",1);
|
144
|
How can I assign a tooltip to a keyword

axEdit1.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);
axEdit1.Refresh();
|
143
|
How do I add a keyword

axEdit1.AddKeyword("<fgcolor=FF0000>class</fgcolor>",null,null,null);
axEdit1.Refresh();
|
142
|
How do I add a keyword

axEdit1.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);
axEdit1.Refresh();
|
141
|
How can I display a tooltip as soon as the user types a keyword

axEdit1.ToolTipDelay = 1;
axEdit1.ToolTipOnTyping = true;
axEdit1.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);
axEdit1.Refresh();
|
140
|
How do I change the color for a locked or a read only line

axEdit1.ForeColorLockedLine = Color.FromArgb(0,0,0);
axEdit1.BackColorLockedLine = Color.FromArgb(255,0,0);
axEdit1.set_LockedLine(1,true);
|
139
|
How do I lock or make read only a line

axEdit1.set_LockedLine(1,true);
|
138
|
How do I start overtyping

axEdit1.Overtype = true;
|
137
|
How do I get the selection

axEdit1.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

axEdit1.SetSelection(0,0,10,0);
axEdit1.HideSelection = false;
|
135
|
How can I change the shape of the cursor when it hovers the selected text

axEdit1.set_Cursor(EXEDITLib.ClientAreaEnum.exSelectedText,"exHelp");
axEdit1.SelLength = 10;
axEdit1.HideSelection = false;
|
134
|
How can I change the shape of the cursor when it hovers the incremental search area

axEdit1.set_Cursor(EXEDITLib.ClientAreaEnum.exIncrementalSearchArea,"exHelp");
|
133
|
How can I change the shape of the cursor when it hovers the line numbers area

axEdit1.set_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea,"exHelp");
axEdit1.LineNumberWidth = 16;
|
132
|
How can I change the shape of the cursor when it hovers the bookmark area

axEdit1.set_Cursor(EXEDITLib.ClientAreaEnum.exBookmarkArea,"exHelp");
axEdit1.BookmarkWidth = 16;
|
131
|
How can I change the shape of the cursor when it hovers the edit
axEdit1.set_Cursor(EXEDITLib.ClientAreaEnum.exEditArea,"exHelp");
|
130
|
How can I enable or disable OLE drag and drop operations
axEdit1.OLEDropMode = EXEDITLib.exOLEDropModeEnum.exOLEDropAutomatic;
|
129
|
How can I change the descriptions for items in the control's context menu

axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextUndo,"U N D O");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextRedo,"R E D O");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextCut,"C U T");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextCopy,"C O P Y");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextPaste,"P A S T E");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextDelete,"D E L");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextSelectAll,"A L L ");
|
128
|
How can I change the descriptions for fields in the Replace dialog

axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldReplaceWith,"Replace");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldSelection,"Sel");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldWholeFile,"File");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldReplace,"Rep");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldReplaceAll,"All");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exErrorTitle,"Title");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exErrorFindNext,"Done");
|
127
|
How can I change the descriptions for fields in the Find dialog

axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldSelection,"U");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldWholeFile,"D");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldFindNext,"Next");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldReplace,"All");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!");
|
126
|
How can I change the caption for the Replace dialog

axEdit1.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exCaption,"Search and Replace");
|
125
|
How can I change the caption for the Find dialog

axEdit1.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exCaption,"Search");
|
124
|
How can I move the cursor when user invokes the control's context menu

axEdit1.RClick = true;
|
123
|
How can I disable indenting the selected text when the user presses the TAB key
axEdit1.IndentOnTab = false;
|
122
|
How can I indent a line

axEdit1.LineNumberWidth = 18;
axEdit1.HideSelection = false;
axEdit1.SelectLine(3);
axEdit1.IndentSel(true);
|
121
|
How can I show or hide the control's splitter

axEdit1.AllowSplitter = EXEDITLib.SplitterEnum.exBothSplitter;
axEdit1.SplitPaneHeight = 128;
axEdit1.SplitPaneWidth = 128;
|
120
|
How can I select a line

axEdit1.LineNumberWidth = 18;
axEdit1.HideSelection = false;
axEdit1.SelectLine(3);
|
119
|
How do I change the font to display the line numbers

axEdit1.LineNumberFont.Name = "Tahoma";
axEdit1.LineNumberWidth = 18;
|
118
|
How can I change the height of the line

axEdit1.Font.Size = 32;
axEdit1.DrawGridLines = true;
axEdit1.Refresh();
|
117
|
How can I show or hide the grid lines

axEdit1.DrawGridLines = true;
|
116
|
How do I highlight the position of multiple lines expression on the vertical scroll bar

axEdit1.AllowMark = true;
axEdit1.MarkContinueBlocks = true;
axEdit1.AddKeyword("<b>CAxWnd",null,null,null);
axEdit1.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,null);
axEdit1.set_MarkColor("BEGIN_MSG_MAP",(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
axEdit1.set_MarkColor("END_MSG_MAP",(uint)ColorTranslator.ToWin32(Color.FromArgb(128,0,0)));
axEdit1.set_MarkColor("CAxWnd",(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0)));
axEdit1.Refresh();
|
115
|
How do I ignore \" in a string

axEdit1.InsertText("\"just a string \\\"expression\"\\r\\n",1);
axEdit1.AddExpression("<fgcolor=800000><b>\"</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>\"</b></fgcolor>",true,null);
axEdit1.set_IgnorePrefixInExpression("\"","\\");
axEdit1.Refresh();
|
114
|
How can I change the color for the line number's border

axEdit1.LineNumberBorderColor = Color.FromArgb(255,0,0);
axEdit1.LineNumberWidth = 18;
|
113
|
How can I change the color for the bookmark's border

axEdit1.BookmarkBorderColor = Color.FromArgb(255,0,0);
axEdit1.BookmarkWidth = 18;
|
112
|
Can I display a custom icon or picture for bookmarks

axEdit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axEdit1.BookmarkImage = 1;
axEdit1.set_Bookmark(2,true);
axEdit1.set_Bookmark(4,true);
axEdit1.BookmarkWidth = 18;
|
111
|
Can I display a custom icon or picture in the bookmark area

axEdit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axEdit1.set_BookmarkImageLine(2,1);
axEdit1.set_Bookmark(4,true);
axEdit1.BookmarkWidth = 18;
|
110
|
How do I remove the line's background color
axEdit1.set_BackColorLine(1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
axEdit1.ClearBackColorLine(1);
|
109
|
How do I change the foreground color for a line

axEdit1.set_ForeColorLine(1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
|
108
|
How do I change the background color for a line

axEdit1.set_BackColorLine(1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
|
107
|
How can I add my own items in the control's context menu

axEdit1.ContextMenuItems = "New Item";
|
106
|
How do I ensure that a specified line is visible

axEdit1.EnsureVisibleLine(axEdit1.Count);
|
105
|
How can I programmatically perform a REDO operation
|
104
|
How can I programmatically perform an UNDO operation
|
103
|
How do I get the bookmarks as a list

axEdit1.set_Bookmark(2,true);
axEdit1.set_Bookmark(4,true);
axEdit1.BookmarkWidth = 16;
object var_BookmarksList = axEdit1.BookmarksList;
|
102
|
How can I move to the previous bookmark

axEdit1.set_Bookmark(2,true);
axEdit1.set_Bookmark(4,true);
axEdit1.BookmarkWidth = 16;
axEdit1.PrevBookmark();
|
101
|
How can I move to the next bookmark

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