KetiIO,

One of the features I like most is the procedure names in a combo; Can you help me in make the combo to change dynamically according to where the caret is?

Thanks in advance.
Posted on 2003-02-02 04:44:07 by akyprian
Hi akyprian

1. Do a forward seach from caretpos for 'endp'
2. Do a forward search from caretpos for 'proc'

If 1<2 you might be inside a proc
3. Do a backwards search from 1 for a proc
If caretpos>=3 you are in a proc
Get the proc name and set the combo accordingly.

KetilO
Posted on 2003-02-02 06:24:29 by KetilO
KetiIO,

Thanks for the reply, I'll see what I can do.
Posted on 2003-02-02 15:30:43 by akyprian
Hi akyprian

Thought you might find useful things in this demo.

- Color setup
- Keyword setup
- Configureable tools menu
- Configureable help menu
- F1-Help key

KetilO

Edit:
Deleted attachment. SimEd with source can be found at my web site.
Posted on 2003-02-02 16:10:51 by KetilO
KetiIO,

You've been so helpful so far; You are very kind.

BTW, I would suggest that the Horizontal splitter of the control should not be "live" but a focus rectangle should be used when user moves it. It is not very nice if you use a slow computer such one of my computers. Also an option for leading zeroes in front of the line numbers would add to the whole work.

Thanks again.
Posted on 2003-02-03 08:30:14 by akyprian