Page 1 of 1

custom control : scintilla editor

Posted: 28 Oct 2007 18:17
by Gildas Menier
Scintilla (http://www.scintilla.org/) is a text editor with many features such as tooltips, autocompletion, folding, syntax coloring etc...

This custom control wraps the scintilla dll to let you use it to replace the PDC's edit control. It has many more features and let you define your own keyword list, own color set, font, underline, folding etc..

The included project shows how to perform a folding/unfolding as well as syntax coloring for different list of keywords and indentation control. The scintilla control has many more features that can be used and changed at runtime.

Best regards

Gildas

http://www.arsaniit.com/vp_tools/index.htm (look for scintilla control)

Posted: 29 Oct 2007 11:50
by drspro2
wow really great

Posted: 29 Oct 2007 22:47
by Thomas Linder Puls
Yes, interesting. In fact, so intereting that I have spent a little time shined-up the code (to my likings, of course ;-)).

Functionally, I have changed it to handle Unicode (or at least I think so, because I haven't really tested it). Unicode support is provided using UTF-8 (8 bit Unicode Transfer Format).

Posted: 8 Jan 2008 22:56
by Thomas Linder Puls
Copied to the wiki: 3rd:Scintilla Editor Control.

Posted: 12 Mar 2008 13:07
by Tonton Luc
Hi,
When I try to use this control, I've an error c100: The file 'pfc\CodepageId\CodepageId.ph' is not found.
Is it possible to use this control with VP 7.0 ?
If yes, how to solve this error ?

Posted: 12 Apr 2008 19:22
by Jan de Lint
I don't get this error but then I'm on 7103 CE.
The improvements from 7.0 to 7.1 are very slick.
I use scintilla for the line-wrap feature. As far as I know this is not availble with the standard controls.
]an

Posted: 15 Feb 2013 15:24
by Thomas Linder Puls
Since Visual Prolog 7.4 the Scintilla Editor is part of Visual Prolog. It is both used in the IDE, and also available for use in user projects (i.e. pfc/gui/controls/sciLexer). It is also used as a control in the message window.

The examples (IDE: Help -> Install Examples...) contains an example of its usage.

Posted: 11 Oct 2014 14:57
by Thomas Linder Puls
I am not sure which program you are talking about? Is it the example?

custom control scintilla editor

Posted: 18 May 2019 1:35
by DjRocep
Hi, first of all thanks for a great RAD tool,

maybe this is just me being stupid but I cant place any custom control. I think added the class correctly using the Custom Controls menu but I cant find the control in the menu.
customcontrol.png