Libs : scintilla gadget

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Libs : scintilla gadget

Post by eddy »

[PB 3.94] Download library : ScintillaGadget.zip ( Extract to your PB folder and restart your PB compiler. )

Features:
- init DLL library & export scintilla internal variable
- use gadget
- load source ( loading file + AppendMode )
- save source ( saving file )
- copy source ( clone gadget text )
- set popupmenu
- set tabstops mode
- set lexer
- mouse pan (intellimouse features)
- new specific EventTypes ( SCI_EventType_Focus, SCI_EventType_LeftClick,... )
- ADDED : doc
- ADDED : example

Image
Last edited by eddy on Fri Jul 14, 2006 5:46 pm, edited 1 time in total.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
White Eagle
Enthusiast
Enthusiast
Posts: 215
Joined: Sun Jan 04, 2004 3:38 am
Location: Maryland

Post by White Eagle »

WOW :shock: Thank you very much Eddy! This will be very useful.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Nice. Thanks.
I may look like a mule, but I'm not a complete ass.
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

---------------------------
PureBasic
---------------------------
Ligne 57: SCI_SetUseTabs() is not a function, an array, or a linked list
---------------------------
OK
---------------------------
:?
“Fear is a reaction. Courage is a decision.” - WC
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

SCI_SetUseTabs() is a scintilla internal command.

You must enable the JAPBE scintilla lib, especially if you want to code your own lexer.


ToDo:
-------
- SciDefaultMargin( mode,...,updateAllGadgets )
- SciDefaultTabbing( mode,...,updateAllGadgets )
- SciDefaultFolding( mode,...,updateAllGadgets )
- optional parameter for SciGadget

Code: Select all

SciGadget(ID,x,y,w,h,flags) flags ???
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

as i don't use japbe i understand why, thanks :)
“Fear is a reaction. Courage is a decision.” - WC
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

The link provided is not working. Does anyone have a copy? I would like to try it out. Also, are there any plans for a PB 4 version?

Thanks.

-Beach
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

Doh! ... coder workshop website is down.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2139
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

Beach wrote:The link provided is not working. Does anyone have a copy?
Just take a look to the UserLibs section on www.PureArea.net :wink:
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

Thanks Andre. I should have looked there first. Thank you for providing this service.

-Beach
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Any chance for a PB4 version?
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

I plan to code a gadget with full support of PB4 commands ( SetGadgetState GetGadgetState GadgetAttribute etc ....).

But I hesitate to code in PB4 because I need stable tool to compile my libs.
All have done are still in alpha.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Some news ?
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

why do you need this one ?

There's already a new scintilla lib for PB4.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Excuse me ! I see PB 3.94 in the high of the topic !
Post Reply