April 15, 2024, 11:51:56 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Contest

Started by Rock Ridge Farm (Larry), October 29, 2011, 08:38:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rock Ridge Farm (Larry)

I have been working on the new IDE, written totally in IWB, for V3.
It just dawned on me that many of you are far more proficient with IWB than I.

Sooooo - I would like to announce a contest to write the IDE for V3.
If you feel really brave take a shot.

Post your code here.

If I use any of your code or use your IDE you will get a free copy of V3 (32 and 64 bit).

Might be fun and I can use the help.

I have been working on it for a while and an not happy with any I have produced.

Requirements:

1.  Must contain the functionality of the existing IDE.
2.  Must be totally written in IWB.
3.  No use of third party libs - sintilla .....etc
4.  Must be configurable.

I am sure I will think of others.

Larry


GWS

Excellent idea Larry ..  ;D  .. now if we could just write the compiler bits in IWB ..  :P

best wishes, :)

Graham
Tomorrow may be too late ..

aurelCB

Quote3.  No use of third party libs - sintilla .....etc
Larry are you joking or you mean serious?
Only way to do this and that work fast is to use inline asm.
IWB coding of syntax coloring is not speed enough. :(

LarryMc

You had said previously that you had a certain "look" in mind.

Do you have a screenshot of what you have in mind?

Are can you describe it if you don't have a screenshot?

I know you have said numerous times you don't like scintilla so I'm assuming you don't want it to look like that.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

aurelCB

There is one old example of syntax coloring editor with richedit control called 'IBEditor'
but as i say it work very slow when he processing syntax coloring.
For small files( up to 1000 lines) work fine but for biger sources use to much time.

Rock Ridge Farm (Larry)

I have already run into the slow keyword color problem.
I can, if necessary write the routine in C. Do not want to
do that but if necessary.........

Bottom line is no mater what we end up with I want it to be
a total IW product. Just me I guess.

I will build a moc-up of the look I would like.


Larry



Alyce

I've written an editing component. It colors keywords, quotes, comments, operators. It has line numbers, All optional and configurable. There's an automatic context menu that can be suppressed. It contains all of the file menu features (open, save, print, etc.) and editing features (cut, copy, paste, etc.) and a find/replace dialog.

The key to doing the coloring quickly is to format only the visible area, not the entire file. Perhaps that  hint will get you the speed you need without going to C. Mine is called CodeAChrome4
http://alycesrestaurant.com/dll.htm#codeachrome

It's written in Emergence Basic. I don't have IW Basic, so I don't know how similar the languages are.
-Alyce

LarryMc

Quote from: Alyce on October 30, 2011, 10:08:29 PM
It's written in Emergence Basic. I don't have IW Basic, so I don't know how similar the languages are.

For the most part IWBasic is a superset of Emergence.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

Current screenshot for my 2 cents

Toolbar is dummy (from IWB+)
opens multiple files at once

I'll work on line numbers and color now.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

aurelCB

Hi Larry
Any news about syntax coloring with pure IWB coding?
I try few options,one of them is translated C code(one friend send me) with api functions and work but unfortunatly speed is to low.
I've also look into CB source and find very similiar method and again speed of C is important thing...
and is used Client rect - tracking...

Rock Ridge Farm (Larry)

OK - The code source will not be posted - we have some very good contributions that
the authors do not wish published.


Larry