Class TScintilla for FWH, first tests

Class TScintilla for FWH, first tests

Postby Antonio Linares » Wed Feb 29, 2012 10:41 am

http://code.google.com/p/fivewin-contributions/downloads/detail?name=scintila_1.zip&can=2&q=

Full source code included :-)

A free source code editor, that you can configure the way you want and include it in your apps :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Wed Feb 29, 2012 11:23 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Wed Feb 29, 2012 11:36 am

Highlighting Harbour tokens:

Code: Select all  Expand view

   ::SendEditor( SCI_SETKEYWORDS, 1,;
       "local public static private " + ;
       "if else endif " + ;
       "do while endwhile end " + ;
       "do case otherwise endcase " )    

   ::SetAStyle( SCE_FS_KEYWORD2, CLR_HCYAN )
   ::SendEditor( SCI_STYLESETBACK, SCE_FS_KEYWORD2,     GetSysColor( COLOR_WINDOW ) )
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Carles » Wed Feb 29, 2012 11:41 am

Antonio,

Perfecto !!!
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1136
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: Class TScintilla for FWH, first tests

Postby frose » Wed Feb 29, 2012 12:12 pm

Antonio,

very nice, that can be the base for a new debugger :wink:
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Wed Feb 29, 2012 5:00 pm

New test, Dialog find partially working, find next and find prev implemented. Full source code included:

http://code.google.com/p/fivewin-contributions/downloads/detail?name=scintila_3.zip&can=2&q=

Please copy the EXE and DLLs to FWH\samples
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Wed Feb 29, 2012 6:17 pm

Setting the colors of the selected text:

::SendEditor( SCI_SETSELFORE, 1, CLR_WHITE )
::SendEditor( SCI_SETSELBACK, 1, CLR_BLUE )

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Wed Feb 29, 2012 10:46 pm

New test, dialog GoTo Line already implemented:

http://code.google.com/p/fivewin-contributions/downloads/detail?name=scintila_4.zip&can=2&q=

Full source code included. Please copy the EXE to FWH\samples
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Thu Mar 01, 2012 8:45 am

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Horizon » Thu Mar 01, 2012 9:14 am

Very good Antonio.

Will it be 12.02 nowadays?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Thu Mar 01, 2012 11:35 am

Hakan,

Today we publish it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Fri Mar 02, 2012 9:38 am

Added right panel with the functions (classes, methods, procedures) list :-)

Image

You may download it from (EXE and full source code included):
http://code.google.com/p/fivewin-contributions/downloads/detail?name=scintila_6.zip&can=2&q=
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Class TScintilla for FWH, first tests

Postby George » Fri Mar 02, 2012 2:58 pm

Great contribution Antonio
I think this will be my editor for my programs developed under harbour and FWH.

Thanks,

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: Class TScintilla for FWH, first tests

Postby Antonio Linares » Fri Mar 02, 2012 3:58 pm

George,

We are working to complete it as soon as possible, so we can use it instead of UEStudio, etc :-)

I think that it can become a very friendly abd useful tool
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 57 guests