Page 1 of 2

OK...I AM CONFUSED!!!!

Posted: Thu Jun 05, 2003 9:56 pm
by HarryO
I see 2 threads on this forum and both seem to be about using the editor
Scintilla (?sp?). Is this 2 different efforts or 2 people working on the same project? Can someone please explain?

HarryO

Posted: Thu Jun 05, 2003 10:34 pm
by eddy
SCintilla is a new gadget which is more powerful and easier than the richedit gadget.
PB IDE will use this gadget.
It needs a external DLL.

Scintilla will add some new features :
- auto-completion
- function folding
- etc....

Posted: Thu Jun 05, 2003 11:00 pm
by fsw
HarryO,
AFAIK PSW32 picked up the original SciTe editor and tweaked it for purebasic.
I don't know if he is changing the preference/setting files or if he is also tweaking the C++ code itself.

GPI started to play with the Scintilla engine and coded code in PureBasic that uses Scintilla, and so did I (didn't know somebody else had some free time...).
But I have to admit, that GPI's code is far more advanced (using the Scintilla DLL) that I am with my code (I suppose he doesn't sleep at all :lol: ).

GPI is getting along nicely, and because his Scintilla functions are done (now he's implementing stuff that he likes to see in an editor ) I suppose that the upcoming Schintilla Editor for PureBasic written in PureBasic will come from GPI's Scintilla code.
But this shouldn't stop PSW32 from doing what he is working on...
I already use GPI's Include Files, because he already switched from SendMessage_(...) to CallFunctionFast(...) ( should be faster ).
He is so nice that he shares his code with the community and I've already learned a lot, because he did things a lot different than I did in my code.

Hope I didn't :? you to much.

Posted: Thu Jun 05, 2003 11:13 pm
by fsw
eddy wrote:SCintilla is a new gadget which is more powerful and easier than the richedit gadget.
PB IDE will use this gadget.
It needs a external DLL.

Scintilla will add some new features :
- auto-completion
- function folding
- etc....
Sorry Eddy don't know what you are talking ...

Scintilla is NOT A GADGET. ( As long Fred didn't incorporate it in the PureBasic GUI Toolkit )
It's an Editor Library with the functions you mentioned written from some folks (not PureBasic users) in C++ and it's available for Windows and Linux.

If you saw some code here in the forum that uses a command like:
SciEditGadget(hwndParent,x,y,w,h)
it's because GPI named it this way - not because it's a new Gadget provided by PureBasic.

Posted: Thu Jun 05, 2003 11:51 pm
by tinman
eddy wrote:PB IDE will use this gadget.
The official PB editor (at least 3.70) will not be using Scintilla.

Posted: Fri Jun 06, 2003 7:26 am
by Edwin Knoppert
Folding is terrible imo.
It's a new thingy but at the end not usefull.

Posted: Fri Jun 06, 2003 9:59 am
by LarsG
I think function/procedure folding is a great thing...
It makes the code easier to read...
At least when you're certain that the function or procedure is "finished" and you're not gong to change it (in a while ;))...

-Lars

Posted: Fri Jun 06, 2003 2:23 pm
by blueb
Visually folding seems great, but you still have to wade through various procedures to see if what you needed was in that particular folded procedure.

--blueb

Posted: Fri Jun 06, 2003 3:21 pm
by GedB
I think a good outliner on a side bar beats folding anytime.

Posted: Fri Jun 06, 2003 4:11 pm
by HarryO
Thanks everyone.... It's as clear as mud! NO - Just kidding..

I think I understand. I am trying/using Peter's version of the editor and seems to work just fine.

Jury still out on the 'Folding' versus 'Outlining'.

HarryO

Posted: Fri Jun 06, 2003 4:24 pm
by GPI
Edwin Knoppert wrote:Folding is terrible imo.
It's a new thingy but at the end not usefull.
Nobody said, that you MUST use it. I give you only the possibility to DO this. When the fold-state (open/closed) is saved with the Source-Code and not automatic close all on load, it is a great Tool.

Posted: Fri Jun 06, 2003 4:28 pm
by Edwin Knoppert
How could i know this heh?

Therefore my remark..

Posted: Fri Jun 06, 2003 7:55 pm
by Magi
GedB wrote:I think a good outliner on a side bar beats folding anytime.
Anybody have an example of a "good outliner"?

Marc 8)

Posted: Fri Jun 06, 2003 9:22 pm
by fsw
Magi wrote:
GedB wrote:I think a good outliner on a side bar beats folding anytime.
Anybody have an example of a "good outliner"?

Marc 8)
If I would know what this is :?

Posted: Sat Jun 07, 2003 8:14 am
by Edwin Knoppert
How to get rid of email messages for this message only?