OK...I AM CONFUSED!!!!

Working on new editor enhancements?
HarryO
User
User
Posts: 42
Joined: Wed May 07, 2003 4:25 am
Location: Palatine,IL.,USA

OK...I AM CONFUSED!!!!

Post 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
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post 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....
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post 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.
Last edited by fsw on Thu Jun 05, 2003 11:18 pm, edited 3 times in total.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post 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.
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

eddy wrote:PB IDE will use this gadget.
The official PB editor (at least 3.70) will not be using Scintilla.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

Folding is terrible imo.
It's a new thingy but at the end not usefull.
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post 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

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
User avatar
blueb
Addict
Addict
Posts: 1121
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Post 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
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

I think a good outliner on a side bar beats folding anytime.
HarryO
User
User
Posts: 42
Joined: Wed May 07, 2003 4:25 am
Location: Palatine,IL.,USA

Post 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
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post 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.
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

How could i know this heh?

Therefore my remark..
Magi
User
User
Posts: 25
Joined: Sun Apr 27, 2003 12:57 am
Location: Burlington, Canada

Post 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)
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post 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 :?
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

How to get rid of email messages for this message only?
Post Reply