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.
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.
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
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
KetiIO,
Thanks for the reply, I'll see what I can do.
Thanks for the reply, I'll see what I can do.
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.
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.
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.
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.