TextArea - modified lines...

BlitzMax Forums/BlitzMax Programming/TextArea - modified lines...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

a i found how to do this:

Repeat
	WaitEvent()
	Select EventID()
	Case EVENT_GADGETSELECT
		Select EventSource()
		Case editor
			editor_oldline=editor_curline
			editor_curline=TextAreaCursor(editor, TEXTAREA_LINES)
		EndSelect

	Case EVENT_GADGETACTION
		Select EventSource()
		Case editor
			highlighteditor (editor_oldline, editor_curline)
		EndSelect
		
	Case EVENT_WINDOWCLOSE
		Exit

	End Select
Forever