205
Is it possible to show just expressions
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("<fgcolor=00FF00>(")
oEdit.AddWild("<fgcolor=00FF00>)")
oEdit.AddExpression("<fgcolor=FF0000><b>(*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*)")
oEdit.InsertText("some text ( another text ) other text\r\n",1)
oEdit.InsertText("some text (* another text *) other text\r\n",1)
oEdit.Show = "expression"

204
How can I stop any highlight
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("<fgcolor=00FF00>(")
oEdit.AddWild("<fgcolor=00FF00>)")
oEdit.AddExpression("<fgcolor=FF0000><b>(*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*)")
oEdit.InsertText("some text ( another text ) other text\r\n",1)
oEdit.InsertText("some text (* another text *) other text\r\n",1)
oEdit.Show = ""

203
How can I highlight the start of the line until a specified character is found

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddExpression("^","<fgcolor=FF0000> ",":")
oEdit.Refresh()

202
Can I use code completion without any UI
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.CodeCompletion = 1
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
oEdit.Context().Add("class")

201
How can I hide the control's horizontal scroll bar
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.ScrollBars = 2

200
Is it possible to change the line's height

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineHeight = "value + 8 * dpi"
oEdit.DrawGridLines = true

199
How to bold everything between two * (asterisk) characters

local oEdit,var_StdFont

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_StdFont = oEdit.Font
	var_StdFont.Name = "Consolas"
	var_StdFont.Size = 12
oEdit.AddExpression("<fgcolor=FF0000><b>*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*")
oEdit.InsertText("some text * another text * other text\r\n",1)
oEdit.Refresh()

198
How to bold everything that starts with * (asterisk), to the end of the line

local oEdit,var_StdFont

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_StdFont = oEdit.Font
	var_StdFont.Name = "Consolas"
	var_StdFont.Size = 12
oEdit.AddWild("<fgcolor=FF0000><b>\**")
oEdit.InsertText("some text * another text * other text\r\n",1)
oEdit.Refresh()

197
How to make a * (asterisk) bold, not the entire / rest line

local oEdit,var_StdFont

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_StdFont = oEdit.Font
	var_StdFont.Name = "Consolas"
	var_StdFont.Size = 12
oEdit.AddWild("<fgcolor=FF0000><b>\*")
oEdit.InsertText("some text * another text * other text\r\n",1)
oEdit.Refresh()

196
How can I change the control's font (template)

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = "Font { Name = `Consolas`; Size = 12 }"
oEdit.AddKeyword("<fgcolor=FF0000>class</fgcolor>")
oEdit.Refresh()

195
How can I change the control's font (runtime)

local oEdit,var_StdFont

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_StdFont = oEdit.Font
	var_StdFont.Name = "Consolas"
	var_StdFont.Size = 12
oEdit.AddKeyword("<fgcolor=FF0000>class</fgcolor>")
oEdit.Refresh()

194
When I click and drag to try and select some text, sometimes my cursor turns into a hand and drags the whole text in the window around. I would like to disable this feature, could you tell me what it is called so I can disable it please
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.OLEDropMode = -1

193
How can I display information about events the control fires

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	Event = class::nativeObject_Event
endwith
*/
// Notifies the application once the control fires an event.
function nativeObject_Event(EventID)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	? Str(oEdit.EventParam(-2)) 
return

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("<fgcolor=808080>(?*)</fgcolor>")
oEdit.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality")
oEdit.Refresh()

192
How do I highlights words based on wild characters

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("<fgcolor=0000FF><b>[MC]*_HANDLER*</b></fgcolor>(*)")
oEdit.Refresh()

191
How do I highlights words based on wild characters

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("<fgcolor=0000FF><b> *</b></fgcolor>(*)*;")
oEdit.Refresh()

190
How can I provide different tooltip for the same keyword

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	QueryContext = class::nativeObject_QueryContext
endwith
*/
// Queries for the context at the specified location, to provide different tooltips for the same keyword on QueryContextToolTip event.
function nativeObject_QueryContext(XCursor,YCursor,QContext)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	QContext = YCursor
return

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	QueryContextToolTip = class::nativeObject_QueryContextToolTip
endwith
*/
// Asks for the tooltip/title of the keyword on the context retrieved by the QueryContext event.
function nativeObject_QueryContextToolTip(QContext,Keyword,QToolTip,QToolTipTitle)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	QToolTip = QContext
	QToolTipTitle = "Keyword Found At Line:"
return

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.AddKeyword("<fgcolor=FF0000><b>keyword</b></fgcolor>")
oEdit.Text = ""
oEdit.InsertText("here's the keyword on the first line")
oEdit.InsertText("\r\nhere's the keyword on the second line")
oEdit.InsertText("\r\nhere's the keyword on the third line")

189
Is it possible to left, right or center align the inline tooltip

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.CaretLine = 6
oEdit.Template = [Background(160) = 15790320] // oEdit.Background(160) = 0xf0f0f0
oEdit.TempInlineToolTip = "<font ;6>Left Alignment<br><c>Center Alignment<br><r>Right Alignment"
oEdit.Refresh()

188
Is it possible to display the inline tooltip with a different appearance than temporarily inline tooltip

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.AddKeyword("<b>class</b>","<r>a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.")
oEdit.AllowInlineToolTip = 513 /*exInlineToolTipWordWrap | exInlineToolTip*/
oEdit.Template = [Background(159) = 8421504] // oEdit.Background(159) = 0x808080
oEdit.Template = [Background(158) = 15790320] // oEdit.Background(158) = 0xf0f0f0
oEdit.CaretLine = 6
oEdit.Template = [Background(160) = 10495] // oEdit.Background(160) = 0x28ff
oEdit.Template = [Background(161) = 65536] // oEdit.Background(161) = 0x10000
oEdit.TempInlineToolTip = "<br><c><font ;12>This is a bit of text that's shown temporarily only. <br><c>Now, click the <off -4><b>class</b></off> keyword, in the top...<br>"
oEdit.Refresh()

187
How can I display the inline tooltip over the lines, instead pushing the lines

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.Template = [Background(160) = 65535] // oEdit.Background(160) = 0xffff
oEdit.CaretLine = 3
oEdit.TempInlineToolTip = "This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed."
oEdit.AllowInlineToolTip = 768 /*exInlineToolTipWordWrap | exInlineToolTipOver*/
oEdit.Refresh()

186
Is it possible to display the inline tooltip all the time

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	SelChange = class::nativeObject_SelChange
endwith
*/
// Occurs when the user selects text in the control.
function nativeObject_SelChange()
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	oEdit.TempInlineToolTip = "This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed."
return

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.Template = [Background(160) = 65535] // oEdit.Background(160) = 0xffff
oEdit.CaretLine = 12
oEdit.AllowInlineToolTip = 512
oEdit.Refresh()

185
Is it possible to display images in the inline tooltip

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.CaretLine = 4
oEdit.Template = [Background(160) = 16777216] // oEdit.Background(160) = 0x1000000
oEdit.AllowInlineToolTip = 512
oEdit.TempInlineToolTip = "<img>1</img>This is a bit of text that's shown programatically under the current line"

184
How can I change the visual appearance of the temporarily inline tooltip

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.CaretLine = 4
oEdit.Template = [Background(160) = 16777216] // oEdit.Background(160) = 0x1000000
oEdit.AllowInlineToolTip = 512
oEdit.TempInlineToolTip = "This is a bit of text that's shown programatically under the current line"

183
How can I display programmatically the inline tooltip, but using word-wrapping

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.CaretLine = 4
oEdit.Template = [Background(160) = 15790320] // oEdit.Background(160) = 0xf0f0f0
oEdit.AllowInlineToolTip = 512
oEdit.TempInlineToolTip = "This is a bit of text that's shown programatically under the current line"

182
How can I display programmatically the inline tooltip

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.CaretLine = 4
oEdit.Template = [Background(160) = 15790320] // oEdit.Background(160) = 0xf0f0f0
oEdit.TempInlineToolTip = "<br><c>This is a bit of text that's shown programatically under the current line<br>"

181
How can I show the inline tooltip with a different appearance

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.")
oEdit.AllowInlineToolTip = 513 /*exInlineToolTipWordWrap | exInlineToolTip*/
oEdit.Template = [Background(158) = 16777216] // oEdit.Background(158) = 0x1000000
oEdit.Template = [Background(159) = 128] // oEdit.Background(159) = 0x80
oEdit.Refresh()

180
Is it possible to prevent moving the lines after the inline tooltip

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.")
oEdit.AllowInlineToolTip = 769 /*exInlineToolTipWordWrap | exInlineToolTipOver | exInlineToolTip*/
oEdit.Template = [Background(158) = 65535] // oEdit.Background(158) = 0xffff
oEdit.Refresh()

179
How can I display the inline tooltip, when typing only

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.ToolTipOnTyping = false
oEdit.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.")
oEdit.AllowInlineToolTip = 514 /*exInlineToolTipWordWrap | exInlineToolTipOnChange*/
oEdit.Template = [Background(158) = 15790320] // oEdit.Background(158) = 0xf0f0f0
oEdit.Refresh()

178
How do I enable the inline tooltip support

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = -1
oEdit.LineNumberBackColor = 0xf0f0f0
oEdit.AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.")
oEdit.AllowInlineToolTip = 513 /*exInlineToolTipWordWrap | exInlineToolTip*/
oEdit.Template = [Background(159) = 8421504] // oEdit.Background(159) = 0x808080
oEdit.Refresh()

177
How do I display a tooltip for a non-keyword

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	MouseMove = class::nativeObject_MouseMove
endwith
*/
// Occurs when the user moves the mouse.
function nativeObject_MouseMove(Button,Shift,X,Y)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	oEdit.ShowToolTip(oEdit.WordFromPoint(-1,-1),null,null,"+8","+8")
return

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject

176
How do I get the text from the cursor

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	MouseMove = class::nativeObject_MouseMove
endwith
*/
// Occurs when the user moves the mouse.
function nativeObject_MouseMove(Button,Shift,X,Y)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	? oEdit.WordFromPoint(-1,-1) 
return

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject

175
I've noticed that while I type, the control's sensitive context selects the item that contains the typing word, so the question is how can I disable it
local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context()
	var_Context.Add("exText")
	var_Context.Add("exHTML")
	// var_Context.Options(7) = true
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(7) = True]
	endwith
oEdit.Text = ""
oEdit.InsertText("Press CTRL+SPACE, and type h, so the exHTML is not selected.")

174
I have a context that inserts some comments, it is possible to set the cursor before comment begins, when user selects a value from the control's sensitive context
local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddExpression("<fgcolor=008000>'</fgcolor>","<fgcolor=008000> </fgcolor>","")
var_Context = oEdit.Context()
	var_Context.Add("exText (0)","0 ' specifies the exText flag")
	var_Context.Add("exHTML (-1)","-1 ' specifies the exHTML flag")
	// var_Context.Options(6) = "(0:=value lfind `'`) < 0 ? -1 : ( =:0 - (len(1:=(value left =:0)) - len(ltrim(reverse(=:1)))))"
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(6) = "(0:=value lfind `'`) < 0 ? -1 : ( =:0 - (len(1:=(value left =:0)) - len(ltrim(reverse(=:1)))))"]
	endwith
oEdit.Text = ""
oEdit.InsertText("Press CTRL + SPACE, and select any item, a number is inserted")

173
How can I show a different sensitive context when user press a key/character

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	Change = class::nativeObject_Change
endwith
*/
// Indicates that the control's text have changed.
function nativeObject_Change()
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	oEdit.ShowContext(oEdit.ChangeOnKey)
	oEdit.ActiveContextItems = ""
return

local oEdit,var_Context,var_Context1,var_Context2

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Text = ""
oEdit.InsertText("Press .(dot), :(color) or =(equal), to get different sensitive context")
oEdit.ActiveContextItems = ""
var_Context = oEdit.Context("61")
	var_Context.Add("Equal_1")
	var_Context.Add("Equal_2")
var_Context1 = oEdit.Context("46")
	var_Context1.Add("Dot_1")
	var_Context1.Add("Dot_2")
var_Context2 = oEdit.Context("58")
	var_Context2.Add("Colon_1")
	var_Context2.Add("Colon_2")

172
How can I allow spaces when control's sentitive context is shown/opened

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	Change = class::nativeObject_Change
endwith
*/
// Indicates that the control's text have changed.
function nativeObject_Change()
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	oEdit.ShowContext(oEdit.ChangeOnKey)
	oEdit.ActiveContextItems = ""
return

local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context("61")
	var_Context.Add("True (-1)","True")
	var_Context.Add("False (-1)","False")
	// var_Context.Options(5) = true
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(5) = True]
	endwith
oEdit.Text = ""
oEdit.InsertText("Press the = key and after that press the space keys")
oEdit.InsertText("")

171
How can I display more pages on the control's senitive context

local oEdit,var_Context,var_Context1

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context()
	var_Context.Add("First_1")
	var_Context.Add("First_2")
var_Context1 = oEdit.Context("Second")
	var_Context1.Add("Second_1")
	var_Context1.Add("Second_2")
	var_Context1.Add("Second_3")
oEdit.ActiveContextItems = "Second"
oEdit.PagesContextItems = ":Page<font ;6><off -4>1</off></font>,Second:Page<font ;6><off -4>2</off></font>"

170
Is it possible to disable showing tooltip for items in the control's senitive context
local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context()
	var_Context.Add("Column")
	// var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Column</b> item."
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Column</b> item."]
	endwith
	var_Context.Add("Item")
	// var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Item</b> item."
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Item</b> item."]
	endwith
	// var_Context.Options(2) = false
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(2) = False]
	endwith

169
How can I assign tooltips for items in the control's senitive context

local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context()
	var_Context.Add("Column")
	// var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Column</b> item."
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Column</b> item."]
	endwith
	var_Context.Add("Item")
	// var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Item</b> item."
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(3) = "This is bit of text that shown when user selects the <b>Item</b> item."]
	endwith

168
By default, the control shows the Context(""). How can I display other items

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	OnContext = class::nativeObject_OnContext
endwith
*/
// Occurs when the user invokes the control's context window.
function nativeObject_OnContext(Start,Context)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	? "CurrentContext:" 
	? Str(Context) 
	oEdit.ActiveContextItems = "Second"
return

local oEdit,var_Context,var_Context1

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context()
	var_Context.Add("First_1")
	var_Context.Add("First_2")
var_Context1 = oEdit.Context("Second")
	var_Context1.Add("Second_1")
	var_Context1.Add("Second_2")
	var_Context1.Add("Second_3")

167
How can I show the control's sensitive context

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	DblClick = class::nativeObject_DblClick
endwith
*/
// Occurs when the user double clicks the left mouse button over an object.
function nativeObject_DblClick(Shift,X,Y)
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	oEdit.ShowContext("DB")
return

local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
var_Context = oEdit.Context("DB")
	var_Context.Add("BEGIN_MSG_MAP")
	var_Context.Add("<fgcolor=808080>MESSAGE_HANDLER")
	var_Context.Add("<fgcolor=808080>COMMAND_HANDLER")
	var_Context.Add("END_MSG_MAP")

166
How can I provide different sensitive context

/*
with (this.EXEDITACTIVEXCONTROL1.nativeObject)
	Change = class::nativeObject_Change
endwith
*/
// Indicates that the control's text have changed.
function nativeObject_Change()
	oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
	oEdit.ShowContext(oEdit.ChangeOnKey)
return

local oEdit,var_Context,var_Context1,var_Context2

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Text = ""
oEdit.InsertText("Press .(dot), :(colon) or CTRL + SPACE to invoke the control's context")
var_Context = oEdit.Context()
	var_Context.Add("General_1")
	var_Context.Add("General_2")
var_Context1 = oEdit.Context("46")
	var_Context1.Add("Property_1")
	var_Context1.Add("Property_2")
	var_Context1.Add("Property_3")
var_Context2 = oEdit.Context("58")
	var_Context2.Add("Method_1")
	var_Context2.Add("Method_2")
	var_Context2.Add("Method_3")

165
How can I change the control's background/foreground colors while the control is locked/read-only

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Locked = true
oEdit.SelBackColor = 0x808080
oEdit.ForeColorLockedLine = 0x808080
oEdit.BackColorLockedLine = 0xffffff

164
How can change the color for selected text, when the control has no focus

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.HideSelection = false
oEdit.SelLength = 10
oEdit.SelBackColorHide = 0xff

163
How do I change the "Incremental Search" caption

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Cursor(3) = "exHelp"] // oEdit.Cursor(3) = "exHelp"
oEdit.Template = [Caption(3,0) = "Search for: %s"] // oEdit.Caption(3,0) = "Search for: %s"
oEdit.IncrementalSearchError = 0xff

162
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.ScrollBars = 3
oEdit.Template = [ScrollPartVisible(0,65536) = True] // oEdit.ScrollPartVisible(0,65536) = true
oEdit.Template = [ScrollPartVisible(1,65536) = True] // oEdit.ScrollPartVisible(1,65536) = true
oEdit.Template = [ScrollPartVisible(2,65536) = True] // oEdit.ScrollPartVisible(2 /*0x2 | */,65536) = true
oEdit.ScrollWidth = 4
oEdit.Template = [Background(276) = 15790320] // oEdit.Background(276) = 0xf0f0f0
oEdit.Template = [Background(260) = 8421504] // oEdit.Background(260) = 0x808080
oEdit.ScrollHeight = 4
oEdit.Template = [Background(404) = Background(276)] // oEdit.Background(404) = oEdit.Background(276)
oEdit.Template = [Background(388) = Background(260)] // oEdit.Background(388) = oEdit.Background(260)
oEdit.Template = [Background(3) = Background(276)] // oEdit.Background(3) = oEdit.Background(276)

161
How can I get ride of control's horizontal scroll bar

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<b>CExHelperDialog</b>")
oEdit.Refresh()
oEdit.ScrollBars = 2

160
How do I specify the characters to close the sensitive context

local oEdit,var_Context

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
var_Context = oEdit.Context()
	var_Context.Add("<b>class</b>","",1)
	var_Context.Add("<b>public</b>","",2)
	// var_Context.Options(1) = "_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
	with (oEdit)
		TemplateDef = [dim var_Context]
		TemplateDef = var_Context
		Template = [var_Context.Options(1) = "_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"]
	endwith

159
How do I sort items in the sensitive context

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
oEdit.Context().Add("<b>public</b>","",2)
oEdit.Context().Add("<b>class</b>","",1)
oEdit.Context().Sort(true)

158
Can I add icons to the sensitive context

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
oEdit.Context().Add("<b>class</b>","",1)

157
How can I change the keys combination that invokes the sensitive context

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.ContextKey = 544
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
oEdit.Context().Add("class")

156
How do I enable or disable the sensitive context menu
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.CodeCompletion = 0
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
oEdit.Context().Add("class")

155
How can I add a sensitive context menu

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
oEdit.Context().Add("class")

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("<fgcolor=808080>(*)</fgcolor>")
oEdit.Refresh()

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>")
oEdit.Refresh()

152
How can I remove or delete all expressions

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false)
oEdit.ClearExpressions()
oEdit.Refresh()

151
How can I remove or delete an expression

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false)
oEdit.DeleteExpression("(")
oEdit.Refresh()

150
How can I add an expression

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false)
oEdit.Refresh()

149
How can I add an expression on multiple lines

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true)
oEdit.Refresh()

148
How can I remove or delete all keywords
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>")
oEdit.ClearKeywords()
oEdit.Refresh()

147
How can I remove or delete keyword
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>")
oEdit.DeleteKeyword("class")
oEdit.Refresh()

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>","","",2)
oEdit.Refresh()
oEdit.InsertText("ClasS\r\n",1)
oEdit.InsertText("CLASS\r\n",1)

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<fgcolor=FF0000>class</fgcolor>","","",1)
oEdit.Refresh()
oEdit.InsertText("ClasS\r\n",1)
oEdit.InsertText("CLASS\r\n",1)

144
How can I assign a tooltip to a keyword

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.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")
oEdit.Refresh()

143
How do I add a keyword

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<fgcolor=FF0000>class</fgcolor>")
oEdit.Refresh()

142
How do I add a keyword

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()

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

local oEdit

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

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.ForeColorLockedLine = 0x0
oEdit.BackColorLockedLine = 0xff
oEdit.Template = [LockedLine(1) = True] // oEdit.LockedLine(1) = true

139
How do I lock or make read only a line

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [LockedLine(1) = True] // oEdit.LockedLine(1) = true

138
How do I start overtyping

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Overtype = true

137
How do I get the selection

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.GetSelection(sy,sx,ey,ex)
? Str(sy) 
? Str(sx) 
? Str(ey) 
? Str(ex) 

136
How do I select multiple lines

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.SetSelection(0,0,10,0)
oEdit.HideSelection = false

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Cursor(4) = "exHelp"] // oEdit.Cursor(4) = "exHelp"
oEdit.SelLength = 10
oEdit.HideSelection = false

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Cursor(3) = "exHelp"] // oEdit.Cursor(3) = "exHelp"

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Cursor(2) = "exHelp"] // oEdit.Cursor(2) = "exHelp"
oEdit.LineNumberWidth = 16

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Cursor(1) = "exHelp"] // oEdit.Cursor(1) = "exHelp"
oEdit.BookmarkWidth = 16

131
How can I change the shape of the cursor when it hovers the edit
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Cursor(0) = "exHelp"] // oEdit.Cursor(0) = "exHelp"

130
How can I enable or disable OLE drag and drop operations
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.OLEDropMode = -1

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Caption(2,16384) = "U N D O"] // oEdit.Caption(2,16384) = "U N D O"
oEdit.Template = [Caption(2,16385) = "R E D O"] // oEdit.Caption(2,16385) = "R E D O"
oEdit.Template = [Caption(2,16387) = "C U T"] // oEdit.Caption(2,16387) = "C U T"
oEdit.Template = [Caption(2,16388) = "C O P Y"] // oEdit.Caption(2,16388) = "C O P Y"
oEdit.Template = [Caption(2,16389) = "P A S T E"] // oEdit.Caption(2,16389) = "P A S T E"
oEdit.Template = [Caption(2,16390) = "D E L"] // oEdit.Caption(2,16390) = "D E L"
oEdit.Template = [Caption(2,16392) = "A L L "] // oEdit.Caption(2,16392) = "A L L "

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Caption(1,202) = "What"] // oEdit.Caption(1,202) = "What"
oEdit.Template = [Caption(1,204) = "Replace"] // oEdit.Caption(1,204) = "Replace"
oEdit.Template = [Caption(1,104) = "Word"] // oEdit.Caption(1,104) = "Word"
oEdit.Template = [Caption(1,105) = "Case"] // oEdit.Caption(1,105) = "Case"
oEdit.Template = [Caption(1,103) = "Dir"] // oEdit.Caption(1,103) = "Dir"
oEdit.Template = [Caption(1,113) = "Sel"] // oEdit.Caption(1,113) = "Sel"
oEdit.Template = [Caption(1,114) = "File"] // oEdit.Caption(1,114) = "File"
oEdit.Template = [Caption(1,21199) = "Rep"] // oEdit.Caption(1,21199) = "Rep"
oEdit.Template = [Caption(1,21200) = "All"] // oEdit.Caption(1,21200) = "All"
oEdit.Template = [Caption(1,2) = "Abandon"] // oEdit.Caption(1,2) = "Abandon"
oEdit.Template = [Caption(1,32000) = "Title"] // oEdit.Caption(1,32000) = "Title"
oEdit.Template = [Caption(1,32001) = "Failed!"] // oEdit.Caption(1,32001) = "Failed!"
oEdit.Template = [Caption(1,32001) = "Done"] // oEdit.Caption(1,32001) = "Done"

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Caption(0,202) = "What"] // oEdit.Caption(0,202) = "What"
oEdit.Template = [Caption(0,104) = "Word"] // oEdit.Caption(0,104) = "Word"
oEdit.Template = [Caption(0,105) = "Case"] // oEdit.Caption(0,105) = "Case"
oEdit.Template = [Caption(0,103) = "Dir"] // oEdit.Caption(0,103) = "Dir"
oEdit.Template = [Caption(0,113) = "U"] // oEdit.Caption(0,113) = "U"
oEdit.Template = [Caption(0,114) = "D"] // oEdit.Caption(0,114) = "D"
oEdit.Template = [Caption(0,103) = "Next"] // oEdit.Caption(0,103) = "Next"
oEdit.Template = [Caption(0,21199) = "All"] // oEdit.Caption(0,21199) = "All"
oEdit.Template = [Caption(0,2) = "Abandon"] // oEdit.Caption(0,2) = "Abandon"
oEdit.Template = [Caption(0,32001) = "Failed!"] // oEdit.Caption(0,32001) = "Failed!"

126
How can I change the caption for the Replace dialog

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Caption(1,0) = "Search and Replace"] // oEdit.Caption(1,0) = "Search and Replace"

125
How can I change the caption for the Find dialog

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Caption(0,0) = "Search"] // oEdit.Caption(0,0) = "Search"

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.RClick = true

123
How can I disable indenting the selected text when the user presses the TAB key
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.IndentOnTab = false

122
How can I indent a line

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = 18
oEdit.HideSelection = false
oEdit.SelectLine(3)
oEdit.IndentSel(true)

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AllowSplitter = 3
oEdit.SplitPaneHeight = 128
oEdit.SplitPaneWidth = 128

120
How can I select a line

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberWidth = 18
oEdit.HideSelection = false
oEdit.SelectLine(3)

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberFont.Name = "Tahoma"
oEdit.LineNumberWidth = 18

118
How can I change the height of the line

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Font.Size = 32
oEdit.DrawGridLines = true
oEdit.Refresh()

117
How can I show or hide the grid lines

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.DrawGridLines = true

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.AllowMark = true
oEdit.MarkContinueBlocks = true
oEdit.AddKeyword("<b>CAxWnd")
oEdit.AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true)
oEdit.Template = [MarkColor("BEGIN_MSG_MAP") = 255] // oEdit.MarkColor("BEGIN_MSG_MAP") = 0xff
oEdit.Template = [MarkColor("END_MSG_MAP") = 128] // oEdit.MarkColor("END_MSG_MAP") = 0x80
oEdit.Template = [MarkColor("CAxWnd") = 0] // oEdit.MarkColor("CAxWnd") = 0x0
oEdit.Refresh()

115
How do I ignore \" in a string

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.InsertText("" + ["] + "just a string \" + ["] + "expression" + ["] + "\r\n",1)
oEdit.AddExpression("<fgcolor=800000><b>" + ["] + "</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>" + ["] + "</b></fgcolor>",true)
oEdit.Template = [IgnorePrefixInExpression("""") = "\"] // oEdit.IgnorePrefixInExpression("" + ["] + "") = "\"
oEdit.Refresh()

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.LineNumberBorderColor = 0xff
oEdit.LineNumberWidth = 18

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.BookmarkBorderColor = 0xff
oEdit.BookmarkWidth = 18

112
Can I display a custom icon or picture for bookmarks

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.BookmarkImage = 1
oEdit.Template = [Bookmark(2) = True] // oEdit.Bookmark(2) = true
oEdit.Template = [Bookmark(4) = True] // oEdit.Bookmark(4) = true
oEdit.BookmarkWidth = 18

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.Template = [BookmarkImageLine(2) = 1] // oEdit.BookmarkImageLine(2) = 1
oEdit.Template = [Bookmark(4) = True] // oEdit.Bookmark(4) = true
oEdit.BookmarkWidth = 18

110
How do I remove the line's background color
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [BackColorLine(1) = 255] // oEdit.BackColorLine(1) = 0xff
oEdit.ClearBackColorLine(1)

109
How do I change the foreground color for a line

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [ForeColorLine(1) = 255] // oEdit.ForeColorLine(1) = 0xff

108
How do I change the background color for a line

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [BackColorLine(1) = 255] // oEdit.BackColorLine(1) = 0xff

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

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.ContextMenuItems = "New Item"

106
How do I ensure that a specified line is visible

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.EnsureVisibleLine(oEdit.Count)

105
How can I programmatically perform a REDO operation
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Redo()

104
How can I programmatically perform an UNDO operation
local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Undo()

103
How do I get the bookmarks as a list

local oEdit,var_BookmarksList

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Bookmark(2) = True] // oEdit.Bookmark(2) = true
oEdit.Template = [Bookmark(4) = True] // oEdit.Bookmark(4) = true
oEdit.BookmarkWidth = 16
var_BookmarksList = oEdit.BookmarksList

102
How can I move to the previous bookmark

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Bookmark(2) = True] // oEdit.Bookmark(2) = true
oEdit.Template = [Bookmark(4) = True] // oEdit.Bookmark(4) = true
oEdit.BookmarkWidth = 16
oEdit.PrevBookmark()

101
How can I move to the next bookmark

local oEdit

oEdit = form.EXEDITACTIVEXCONTROL1.nativeObject
oEdit.Template = [Bookmark(2) = True] // oEdit.Bookmark(2) = true
oEdit.Template = [Bookmark(4) = True] // oEdit.Bookmark(4) = true
oEdit.BookmarkWidth = 16
oEdit.NextBookmark()