Hi all

I have made many changes to the RAEdit custom code edit control used in RadASM.
Help me test it for bugs.

Whats new:

- Incredible speed optimizing on monospaced fonts (4 times faster).
- Possible to have case sensitive keywords (uppercase).
- Font type is held while text is selected.
- Possible to have up to 16 word groups for different files.
- Support for block comment.

KetilO

04/02/2003 24 dl. Several fixes.
04/03/2003 26 dl. Added several functions to SimEd.
04/04/2003 23 dl. Added several options to SimEd. Made improvements on expand/collapse/hide selection in RAEdit
Posted on 2003-04-01 08:45:29 by KetilO
no problem on NT4SP6 as far as I tested. very nice :alright:

:suggestion:
- way to indicate that line is locked (color on the line number bar)
Posted on 2003-04-01 09:41:09 by TBD
Tried it on Win2K SP3, works fine. There was an intermittent problem with expanding procs. When my cursor was above the first proc and all were collapsed, pressing expand_all would sometimes expand them and move the window to the bottom of the text. There were also times when it would not expand the first proc. I cannot recreate the problem reliably so I can't explain exactly when it happens but it seems to be when the cursor is 5 or 6 lines above the first proc at char 0. I had noticed this in the other editor occasionally but it seems to happen more often in this version.

The speed increase is definitely noticable, a great improvement. I really like the ability to set the keywords for RC files seperately and though I couldn't figure out case sensitive keywords, it should be a good feature as well.

Donkey
Posted on 2003-04-01 09:55:13 by donkey
Seems OK so far. Faster indeed, much less flickering near the scrollbars. The various word lists is a great enhancement.

Regards,

akyprian
Posted on 2003-04-01 10:28:11 by akyprian
Thans all for testing

TBD
I will see what I can come up with.

Donkey
I hete those works 99.9% of the time, and when it fails you cannot make it fail again.
I have looked over the code but cannot find anything wrong. If you can recreate the problem, let me know.

Case sensitive keywords (upper case) are prefixed with ^
Example:
^HWND ^LPARAM ^WPARAM

akyprian
Thanks.

KetilO
Posted on 2003-04-01 13:14:41 by KetilO
other than the fact it doesn't auto-hscroll when selecting text...it's really quite excellent
Posted on 2003-04-01 13:23:18 by Sloat
Works without problem on XP
Posted on 2003-04-01 13:33:37 by Duker
Hi.

When a procedure is holding another nested procedure then it (the parent) wont collapse.
This is what I've got so far.... still looking for another bug...


RadASM related:

1) If i dont have any files associated with api list and the Trig is emty then RadASM hangs when text is typed. Now I solved this my setting Trig=!!!no_trig-bug_workaround!!!

2) Let us enter full path in the Run line under the project options. check if the specified command line is the full pathname and run it as-is, else run in the default maner

3) if


Const=-$,{C},.equ
Macro=-$,.ENDMACRO,.MACRO
RadASM is not parsing these correctly. it depends on the text typed below the lines. sometimes it will parse it fine and other times it wont. I tried editing "." in the char table but it didnt help. Right now I can avoid this by omitting "." characters in these keys

4) Could you support more then 5 assemblers at the same time? ... Like, use the drop down list for new project selection insead the number of option buttons.

This is all....
Posted on 2003-04-01 14:19:32 by Milos
Sloat
I will fix that.

Duker
Great!

Milos
Nested procs will be fixed.
Yes, the parser in RadASM needs mayor rework.

KetilO
Posted on 2003-04-01 16:13:07 by KetilO
Hi all

New upload at the top of this thread.

Whats new.

- Colored locked lines
- Fixed nested procs
- Added auto horizontal scroll when selecting text with mouse
- Speed optimized text selection when lines are long (uses btree to estimate position)
- Hopefully fixed first proc not collapsed problem

KetilO
Posted on 2003-04-02 05:03:45 by KetilO
KetilO: thanks for implementing the lock coloring. groovy!

it is possible to select and hide a block ? this would be nice when
working on a big file. eventualy have in linenumber a icon that
tooltip a user defined comment.

eg. as in the attachment

thanks Ketil0, it looks very cool!
Posted on 2003-04-02 05:24:20 by TBD
Hey KetilO
Have you made it possible to open files via command line in your simed?
While you test your dll the editor becomes better too, if you haven't added the command line plz do it because I wanted to make it the default text viewer but....
(it was several mounths ago I don't know is now, I'm just going to check it out)
Posted on 2003-04-02 10:54:46 by Duker
Hi all

New upload at the top of this thread.

Whats new:

- Added hide selection.
- Added commandline filename support.
- Added drop file support.
- Added block indent/outdent.
- Added block comment/uncomment.

KetilO
Posted on 2003-04-03 01:49:13 by KetilO
Hi Ketilo

Work very well !!

Just a suggestion , is it possible when you have selected a word and you click search button, to have directly the selected word in the string box or if you hit F3 you find directly next one (if exist) 'a la Uedit' ?

Thanks for your good work ! RadASM rocks ! :alright:

Regards
SV
Posted on 2003-04-03 02:03:45 by sv_reverser
KetilO: wow! implemented so fast. very nice.

bug or feature?:
1.select text from a procedure
2.hide selection
3.collapse procedure
4.expand procedure
5.the hided selection is showed and the hide selection icon still remains.

it is possible to have the hided selection as the procedure
hiding (something fixed, only press the icon to show/hide?).

also an ideea to keep in mind for future implementation.
- have every command exported so that user can use to modify
the existing menu/popups (as in CodeWright)

:alright:
Posted on 2003-04-03 03:19:53 by TBD
Hi all

New upload at the top of this thread.

Whats new:

- Made new editor options dialog
- Added tab size option
- Added expand tabs option
- Added auto indent option
- Made several improvements to expand/collapse/hide selection

In case you didnt know. If you add Win32.hlp to Help menu then you can use F1 to get help on word under caret.

KetilO
Posted on 2003-04-04 03:07:32 by KetilO
Hey KetilO,
Are you going to move all your updates in simed to RadAsm?
Posted on 2003-04-04 13:44:18 by Duker
Hi Duker

Probably. I use SimEd to test out different solutions. If it works well then I will implement it.

KetilO
Posted on 2003-04-04 13:48:02 by KetilO
KetilO
Have you added the function allready requested in the poll?
I'd like the sellected word to apear in the find window when you press it.
Posted on 2003-04-04 13:56:24 by Duker
Hi Duker

This is one of the functions I will add.

KetilO
Posted on 2003-04-05 03:46:02 by KetilO