155
How can I add a sensitive context menu

with AxEdit1 do
begin
	AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
	Refresh();
	get_Context(Nil).Add('class',Nil,Nil,Nil);
end
154
Can I use wild characters to define keys in your control

with AxEdit1 do
begin
	AddWild('<fgcolor=808080>(*)</fgcolor>');
	Refresh();
end
153
Can I use wild characters to define keys in your control

with AxEdit1 do
begin
	AddWild('_HANDLER<fgcolor=FF0000>(*)</fgcolor>');
	Refresh();
end
152
How can I remove or delete all expressions

with AxEdit1 do
begin
	AddExpression('(','<b><fgcolor=FF0000> </fgcolor></b>',')',TObject(False),Nil);
	ClearExpressions();
	Refresh();
end
151
How can I remove or delete an expression

with AxEdit1 do
begin
	AddExpression('(','<b><fgcolor=FF0000> </fgcolor></b>',')',TObject(False),Nil);
	DeleteExpression('(');
	Refresh();
end
150
How can I add an expression

with AxEdit1 do
begin
	AddExpression('(','<b><fgcolor=FF0000> </fgcolor></b>',')',TObject(False),Nil);
	Refresh();
end
149
How can I add an expression on multiple lines

with AxEdit1 do
begin
	AddExpression('<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>','<b><fgcolor=FF0000> </fgcolor></b>','<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>',TObject(True),Nil);
	Refresh();
end
148
How can I remove or delete all keywords
with AxEdit1 do
begin
	AddKeyword('<b><fgcolor=FF0000>class</fgcolor></b>',Nil,Nil,Nil);
	ClearKeywords();
	Refresh();
end
147
How can I remove or delete keyword
with AxEdit1 do
begin
	AddKeyword('<b><fgcolor=FF0000>class</fgcolor></b>',Nil,Nil,Nil);
	DeleteKeyword('class');
	Refresh();
end
146
How do I add a keyword that's not case sensitive

with AxEdit1 do
begin
	AddKeyword('<b><fgcolor=FF0000>class</fgcolor></b>','','',TObject(2));
	Refresh();
	InsertText('ClasS\r\n',TObject(1));
	InsertText('CLASS\r\n',TObject(1));
end
145
How do I add a keyword that's not case sensitive

with AxEdit1 do
begin
	AddKeyword('<fgcolor=FF0000>class</fgcolor>','','',TObject(1));
	Refresh();
	InsertText('ClasS\r\n',TObject(1));
	InsertText('CLASS\r\n',TObject(1));
end
144
How can I assign a tooltip to a keyword

with AxEdit1 do
begin
	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',Nil);
	Refresh();
end
143
How do I add a keyword

with AxEdit1 do
begin
	AddKeyword('<fgcolor=FF0000>class</fgcolor>',Nil,Nil,Nil);
	Refresh();
end
142
How do I add a keyword

with AxEdit1 do
begin
	AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
	Refresh();
end
141
How can I display a tooltip as soon as the user types a keyword

with AxEdit1 do
begin
	ToolTipDelay := 1;
	ToolTipOnTyping := True;
	AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
	Refresh();
end
140
How do I change the color for a locked or a read only line

with AxEdit1 do
begin
	ForeColorLockedLine := Color.FromArgb(0,0,0);
	BackColorLockedLine := Color.FromArgb(255,0,0);
	set_LockedLine(1,True);
end
139
How do I lock or make read only a line

with AxEdit1 do
begin
	set_LockedLine(1,True);
end
138
How do I start overtyping

with AxEdit1 do
begin
	Overtype := True;
end
137
How do I get the selection

with AxEdit1 do
begin
	GetSelection(sy,sx,ey,ex);
	OutputDebugString( sy );
	OutputDebugString( sx );
	OutputDebugString( ey );
	OutputDebugString( ex );
end
136
How do I select multiple lines

with AxEdit1 do
begin
	SetSelection(TObject(0),TObject(0),TObject(10),TObject(0));
	HideSelection := False;
end
135
How can I change the shape of the cursor when it hovers the selected text

with AxEdit1 do
begin
	set_Cursor(EXEDITLib.ClientAreaEnum.exSelectedText,'exHelp');
	SelLength := 10;
	HideSelection := False;
end
134
How can I change the shape of the cursor when it hovers the incremental search area

with AxEdit1 do
begin
	set_Cursor(EXEDITLib.ClientAreaEnum.exIncrementalSearchArea,'exHelp');
end
133
How can I change the shape of the cursor when it hovers the line numbers area

with AxEdit1 do
begin
	set_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea,'exHelp');
	LineNumberWidth := 16;
end
132
How can I change the shape of the cursor when it hovers the bookmark area

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

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

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

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

with AxEdit1 do
begin
	set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exCaption,'Search and Replace');
end
125
How can I change the caption for the Find dialog

with AxEdit1 do
begin
	set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exCaption,'Search');
end
124
How can I move the cursor when user invokes the control's context menu

with AxEdit1 do
begin
	RClick := True;
end
123
How can I disable indenting the selected text when the user presses the TAB key
with AxEdit1 do
begin
	IndentOnTab := False;
end
122
How can I indent a line

with AxEdit1 do
begin
	LineNumberWidth := 18;
	HideSelection := False;
	SelectLine(3);
	IndentSel(True);
end
121
How can I show or hide the control's splitter

with AxEdit1 do
begin
	AllowSplitter := EXEDITLib.SplitterEnum.exBothSplitter;
	SplitPaneHeight := 128;
	SplitPaneWidth := 128;
end
120
How can I select a line

with AxEdit1 do
begin
	LineNumberWidth := 18;
	HideSelection := False;
	SelectLine(3);
end
119
How do I change the font to display the line numbers

with AxEdit1 do
begin
	LineNumberFont.Name := 'Tahoma';
	LineNumberWidth := 18;
end
118
How can I change the height of the line

with AxEdit1 do
begin
	Font.Size := 32;
	DrawGridLines := True;
	Refresh();
end
117
How can I show or hide the grid lines

with AxEdit1 do
begin
	DrawGridLines := True;
end
116
How do I highlight the position of multiple lines expression on the vertical scroll bar

with AxEdit1 do
begin
	AllowMark := True;
	MarkContinueBlocks := True;
	AddKeyword('<b>CAxWnd',Nil,Nil,Nil);
	AddExpression('<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>','<b><fgcolor=FF0000> </fgcolor></b>','<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>',TObject(True),Nil);
	set_MarkColor('BEGIN_MSG_MAP',$ff);
	set_MarkColor('END_MSG_MAP',$80);
	set_MarkColor('CAxWnd',$0);
	Refresh();
end
115
How do I ignore \" in a string

with AxEdit1 do
begin
	InsertText('"just a string \"expression"\r\n',TObject(1));
	AddExpression('<fgcolor=800000><b>"</b></fgcolor>','<b><fgcolor=FF0000> </fgcolor></b>','<fgcolor=800000><b>"</b></fgcolor>',TObject(True),Nil);
	set_IgnorePrefixInExpression('"','\');
	Refresh();
end
114
How can I change the color for the line number's border

with AxEdit1 do
begin
	LineNumberBorderColor := Color.FromArgb(255,0,0);
	LineNumberWidth := 18;
end
113
How can I change the color for the bookmark's border

with AxEdit1 do
begin
	BookmarkBorderColor := Color.FromArgb(255,0,0);
	BookmarkWidth := 18;
end
112
Can I display a custom icon or picture for bookmarks

with AxEdit1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	BookmarkImage := 1;
	set_Bookmark(2,True);
	set_Bookmark(4,True);
	BookmarkWidth := 18;
end
111
Can I display a custom icon or picture in the bookmark area

with AxEdit1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	set_BookmarkImageLine(2,1);
	set_Bookmark(4,True);
	BookmarkWidth := 18;
end
110
How do I remove the line's background color
with AxEdit1 do
begin
	set_BackColorLine(1,$ff);
	ClearBackColorLine(1);
end
109
How do I change the foreground color for a line

with AxEdit1 do
begin
	set_ForeColorLine(1,$ff);
end
108
How do I change the background color for a line

with AxEdit1 do
begin
	set_BackColorLine(1,$ff);
end
107
How can I add my own items in the control's context menu

with AxEdit1 do
begin
	ContextMenuItems := 'New Item';
end
106
How do I ensure that a specified line is visible

with AxEdit1 do
begin
	EnsureVisibleLine(Count);
end
105
How can I programmatically perform a REDO operation
with AxEdit1 do
begin
	Redo();
end
104
How can I programmatically perform an UNDO operation
with AxEdit1 do
begin
	Undo();
end
103
How do I get the bookmarks as a list

with AxEdit1 do
begin
	set_Bookmark(2,True);
	set_Bookmark(4,True);
	BookmarkWidth := 16;
	var_BookmarksList := BookmarksList;
end
102
How can I move to the previous bookmark

with AxEdit1 do
begin
	set_Bookmark(2,True);
	set_Bookmark(4,True);
	BookmarkWidth := 16;
	PrevBookmark();
end
101
How can I move to the next bookmark

with AxEdit1 do
begin
	set_Bookmark(2,True);
	set_Bookmark(4,True);
	BookmarkWidth := 16;
	NextBookmark();
end