Scintilla Component in a static library, compatible with MASM32

Started by Mincho Georgiev, February 16, 2006, 10:16:41 PM

Previous topic - Next topic

msmith

Quote
msmith,
Does raedit do wordwrap?

Paul

I don't believe so.

Mike

Mincho Georgiev

I've made a new upload. If you have problems to build some, please read 'ReadMe.txt'.
But i think to keep the next edition for myself,since nobody's interested.
Thanks anyway.

PBrennick

I like the second one better.  I am unsure why you think no one is interesrted?

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Mincho Georgiev

Thanks Paul !
Well, i dont know, i just thought that for a while. When i make some improvements, i will upload them as well. I put only the ASM lexer in order to keep Scintilla.lib smaller. The disadvantage for a mixed language project /C++ & ASM/ and especially in that case is that you have to download the windows platform SDK first,BUT the amazing performance ,quality, huge count of extras that this control provides ,and the fact that you can build standalone project with Scintilla.lib is worth it. :U

G`HOST

Quote from: PBrennick on February 23, 2006, 04:15:42 PM
I like the second one better.  I am unsure why you think no one is interesrted?
Yeah why you think no one is interested?
I am still struggling for some free time to play with it.
Keep up the good work :U

Mincho Georgiev

Thanks, maybe i'm wrong.
I'll keep you informed for future improvements.

Mincho Georgiev

BTW ,I found Something interesting, check it out on 'xpad' sample, MENU->Run. I'll surely use that in my next text editor.
I had understand the 4th and 5th parameters -  they are the title and the dialog string, but the other ones is unknown. propably one of them is a struct pointer to structure that describes the Run Dialog Behaviour including the DlgProc, who knows ?!
Sometimes is usefull your editor to have that:



[attachment deleted by admin]

Mincho Georgiev

New upload of Scintilla_v1.67 on the previous page of this topic, or from this direct link:

http://www.masmforum.com/simple/index.php?action=dlattach;topic=3942.0;id=2143

You can pass variable number of arguments now ,just like in the Scintilla Documentation.
Here is a small example code of doing this:

SciMsg MACRO message_to_execute:VARARG
.code
EXITM <invoke SciFunction,hDirectPointer,message_to_execute>
ENDM

.data
SciFunction SCIFUNCTIONPOINTER 0
hSci HWND 0
hDirectPointer DWORD 0

.code
invoke CreateWindowEx,WS_EX_CLIENTEDGE,addr ScintillaClass,NULL,WS_CHILD or  WS_VISIBLE,rc.left,rc.top,rc.right,rc.bottom,hwnd,0,hInstance,0
mov hSci,eax
invoke SendMessage,hSci,SCI_GETDIRECTFUNCTION,0,0
mov SciFunction,eax
invoke SendMessage,hSci,SCI_GETDIRECTPOINTER,0,0
mov hDirectPointer,eax

;//VARARG
SciMsg(SCI_STYLESETFONT, STYLE_DEFAULT, addr fontname)
SciMsg(SCI_STYLESETBOLD,STYLE_DEFAULT,TRUE)

;//or with no args
SciMsg(SCI_CLEARALL)


Mincho Georgiev

#23
I had desribe everything in 'Change_Log.html' and 'readme.txt'
Thanks for reply!  :thumbu

[attachment deleted by admin]

Mincho Georgiev

And the simple sample, written and builded in the new way  :bg

[attachment deleted by admin]

PBrennick

Shaka,
Thanks for the stuff.  I like stuff!  I will look at it in the morning.  Do you have a change log somewhere? (Hidden in a file for example.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Mincho Georgiev

Thanks Paul  :U. I almost forgot  ::)
I've update the above 2, added change log and macros to Scintilla.inc, and rewrite the example as well. You can just download those and forget about the yesterday ones.
By the way, i note that Scintilla version 1.68 is already released, so i guess i have to sit down and start working again for the new Scintilla.lib /1.68/
Bye for now  :U

Mincho Georgiev

Here's the new version,the description is in the package.   :thumbu


[attachment deleted by admin]