IonicWind Software

Announcements => News and Announcements => Topic started by: Rock Ridge Farm (Larry) on October 29, 2011, 08:38:09 PM

Title: Contest
Post by: Rock Ridge Farm (Larry) on October 29, 2011, 08:38:09 PM
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

Title: Re: Contest
Post by: GWS on October 30, 2011, 02:58:24 AM
Excellent idea Larry ..  ;D  .. now if we could just write the compiler bits in IWB ..  :P

best wishes, :)

Graham
Title: Re: Contest
Post by: aurelCB on October 30, 2011, 07:19:38 AM
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. :(
Title: Re: Contest
Post by: LarryMc on October 30, 2011, 11:25:27 AM
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
Title: Re: Contest
Post by: aurelCB on October 30, 2011, 12:39:01 PM
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.
Title: Re: Contest
Post by: Rock Ridge Farm (Larry) on October 30, 2011, 06:14:13 PM
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


Title: Re: Contest
Post by: Alyce on October 30, 2011, 10:08:29 PM
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.
Title: Re: Contest
Post by: LarryMc on October 30, 2011, 10:14:07 PM
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
Title: Re: Contest
Post by: LarryMc on October 31, 2011, 02:14:32 AM
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
Title: Re: Contest
Post by: aurelCB on November 06, 2011, 11:52:48 AM
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...
Title: Re: Contest
Post by: Rock Ridge Farm (Larry) on November 07, 2011, 11:51:52 AM
OK - The code source will not be posted - we have some very good contributions that
the authors do not wish published.


Larry