FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Class TScintilla for FWH, first tests
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Class TScintilla for FWH, first tests
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Wed Feb 29, 2012 11:23 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Wed Feb 29, 2012 11:36 AM
Highlighting Harbour tokens:

Code (fw): Select all Collapse
   ::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
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: Class TScintilla for FWH, first tests
Posted: 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
HIX -> https://github.com/carles9000/hix
Posts: 392
Joined: Tue Mar 10, 2009 11:54 AM
Re: Class TScintilla for FWH, first tests
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Wed Feb 29, 2012 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Wed Feb 29, 2012 06:17 PM
Setting the colors of the selected text:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Thu Mar 01, 2012 08:45 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Class TScintilla for FWH, first tests
Posted: Thu Mar 01, 2012 09:14 AM

Very good Antonio.

Will it be 12.02 nowadays?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Thu Mar 01, 2012 11:35 AM

Hakan,

Today we publish it :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Fri Mar 02, 2012 09:38 AM
Added right panel with the functions (classes, methods, procedures) list :-)



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
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: Class TScintilla for FWH, first tests
Posted: Fri Mar 02, 2012 02:58 PM

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

Thanks,

George

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Class TScintilla for FWH, first tests
Posted: Fri Mar 02, 2012 03: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

Continue the discussion