warning - first addin !

i really miss a feature of inserting custom short code snipplets
available trough a popup box like CodeComplete.

if there is a similar addin please let me know!

as i said it's my first addin so its bound to have bugs
i hope no critical ones :|

copy masm.ct and CodeTemplates.dll to \RADasm\AddIns
and use addinmana to load it

Shortcut to popup is Ctrl+J

Syntax of masm.ct is simple

{ListBox Item 1}
code to insert 1
{ListBox Item 2}
code to insert 2
{ListBox Item 3}
code to insert 3

simple eh?

everyone that likes this, help me test it and improve it
Posted on 2005-07-21 17:05:08 by drizz
improved the addin a bit

+ indentation is copied from current line
+ caret positioning inside inserted code
+ .ct file is now %assemler%.ct
Posted on 2005-07-24 01:02:53 by drizz
Nice addin.

Seem to work ok on my XP

Posted on 2005-07-24 09:50:26 by KetilO
Hi Ketil, glad you replied

the addin was made on XPsp1 (i forgot to write that)

while i have your attention.. :)

;- Addins

if you look inside the archive you'll see i modified radasm.inc
to support invoke on ADDINPROCS, though i didn't double-check
what do you think about it?

;- Radasm (extract from my wishlist file :))

Resource - add -> OpenFile == "%CurrProjectDir%\Res" please!
this was the case with prev. versions, iirc.., now it opens last dir

^t = TAB, ^p = CRLF , etc.,? in find/replace
also it would be ok to show "region searched" message in the
Find dialog caption for example instead of messagebox.

minimalistic: dblclick listbox in project wizzard same as Next>

with respect,
Posted on 2005-07-24 15:30:21 by drizz
Hi drizz

Thanks for prototyping the ADDINPROCS. I will have a closer look at them.
1. I will fix it. Has been anoying me for a while.
2. Good ideas. I have added it to my todo list.
3. Should be easy.


Posted on 2005-07-24 16:55:29 by KetilO
one more thing..
so you dont always hear the naggings
here's a submission for masm.ini (and other) section
updated : CMOVcc,FCMOVcc,SSE,SSE2,..

that is if you see it fit...

edit: i shouldn't be so hasty, i found some duplicates
and updated few kewords, i hope this is final now
Posted on 2005-07-25 09:18:57 by drizz
Hi drizz

Thanks for sharing.

Posted on 2005-07-25 13:40:03 by KetilO
The addin did not work well for c++ users.

Here is the updated sources. It uses [* and *] instead of { and }.

Posted on 2005-09-12 04:31:23 by KetilO
Thanks Ketil!
there could is also problem with ~ caret positioning for cpp.
i'll try to take care of it and update asap.
i started using c++toolkit2003 with radasm recently :)

EDIT: done. here it is. i've chosen @ char for caret positioning, i'm not sure if its the best choice.
Posted on 2005-09-12 10:57:23 by drizz
Hi drizz

This is version

o Subclassing of RAEdit done the proper way.


Attachment deleted.
There was a bug in the unsubclassing in AIM_MDIACTIVATE
Posted on 2005-09-30 08:38:45 by KetilO
Hi KetilO

thanks for fixing that, when i was copying code from CodeComplete addin
i did delete that portion to simplify things (first addin, remember?),
and totally forgot to add it back, if i'm not mistaken CodeComplete
was the only addin that subclassed RAEdit.

btw, will the structures that exist only in CodeComplete addin
(that you copied from RAEdit source, RAEDT etc.) be added to RAEdit include,
and equates such as ID_EDIT?

Posted on 2005-09-30 14:56:17 by drizz
Hi drizz

I plan to create better addin documentation.
In that process I will also move more things to RadAsm.inc

Posted on 2005-09-30 16:38:31 by KetilO
Hi drizz

There was a bug in the unsubclassing in AIM_MDIACTIVATE

Here is the way to do it.

Posted on 2005-09-30 17:34:00 by KetilO