Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-07

Lazarus control wrapper for Scintilla - SciTE clone using Lazarus

10 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Noli Sicad

Hi,

Has anybody manage to convert Borland Delphi control wrapper for Scintilla found in this site below?

http://www.pnotepad.org/scintilla/

Borland Delphi control wrapper for Scintilla: <download version 1.4>

Any other Scintilla component / codes that works in Lazarus?

Scite IDE is only good for Windows and linux, no Mac OS X port, not to mention other platform. I think Lazarus can help this need of creating multi platform SciTE clone using Lazarus if only we can get the Scintilla in Lazarus.

http://www.scintilla.org/SciTE.html
SciTE has portability problem and Lazarus can help solve this in my opinion.

You can run a lot of console apps (glpk/mathprog, gnuplut, r package, pythonmm, java, etc) using SciTe clone implementted in Lazarus.

Here are some of the SciTe clone but only in Windows, no Mac OS X and linux Gusek : http://gusek.sourceforge.net/gusek.html
GLPK Lab for Windows : http://glpklabw.sourceforge.net/

Any opinion how we can get Scintilla in Lazarus?

Thanks. Noli

Reply by email

Noli Sicad
to Noli Sicad

Have about Delphi Scintilla Interface Components v0.50 porting to Lazarus?

Download here
http://www.delphipages.com/comp/delphi_scintilla_interface_components-5865.html

What do you think about this components? I am just looking at it right now.

Noli

Noli Sicad wrote 31 lines
Hi, Has anybody manage to convert Borland Delphi control wrapper for Scintilla found in this site below? http://www.pnotepad.org/scintilla/ Borland Delphi control wrapper for Scintilla: <download version 1.4> Any other Scintilla component / codes that works in Lazarus? Scite IDE is only good for Windows and linux, no Mac OS X port, not to mention other platform. I think Lazarus can help this need of creating multi platform SciTE clone using Lazarus if only we can get the Scintilla in Lazarus. http://www.scintilla.org/SciTE.html SciTE has portability problem and Lazarus can help solve this in my opinion. You can run a lot of console apps (glpk/mathprog, gnuplut, r package, pythonmm, java, etc) using SciTe clone implementted in Lazarus. Here are some of the SciTe clone but only in Windows, no Mac OS X and linux Gusek : http://gusek.sourceforge.net/gusek.html GLPK Lab for Windows : http://glpklabw.sourceforge.net/ Any opinion how we can get Scintilla in Lazarus? Thanks. Noli

Reply by email

Noli Sicad
to Mark Morgan Lloyd

Ok. Scintilla?

Scintilla and Synedit are are mulit-line editing with syntax highlighting for more than 120 language, applications, compilers, scripts, etc. SciTE can runs these compiler, scripts and apps.

Almost of nice IDE's use Scintilla e.g. Programmers notepad, notepad++, Komodo Edit and more.

Most of these free editors use Scintilla
http://jaypeeonline.net/freeware/free-text-editors-i/

Copy from http://www.scintilla.org/

Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.

As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts.

The SinkWorld project investigates possible future directions for Scintilla to make it more flexible, robust, perform better and run on the .NET and Java virtual machines.

SciTE is a SCIntilla based Text Editor. Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs. It is best used for jobs with simple configurations - I use it for building test and demonstration programs as well as SciTE and Scintilla, themselves.

Development of Scintilla started as an effort to improve the text editor in PythonWin. After being frustrated by problems in the Richedit control used by PythonWin, it looked like the best way forward was to write a new edit control. The biggest problem with Richedit and other similar controls is that they treat styling changes as important persistent changes to the document so they are saved into the undo stack and set the document's dirty flag. For source code, styling should not be persisted as it can be mechanically recreated. Please read these links.

~~~~~~~~~~~
Synedit vs Scintilla
Please click to read
http://www.delphigroups.info/2/4/261087.html

SciTE clone in Lazarus would enriched the us future generation to run hundred of console apps (e.g. python, java, c/c++ compiler, r package, matlab, gnuplot, awk, bash, etc in all platform.

Let me if you want more. I can search the net for more info.

Noli

Mark Morgan Lloyd wrote 21 lines
Noli Sicad wrote: > Hi, > > Has anybody manage to convert Borland Delphi control wrapper for > Scintilla found in this site below? So if you want us to be interested, tell us what it does and how it will enrich our lives. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Noli Sicad
to Mark Morgan Lloyd: So if you want us to be interested, tell us what it does and how it will enrich our lives.
Show quoted text 9 lines
> Has anybody manage to convert Borland Delphi control wrapper for > Scintilla found in this site below? So if you want us to be interested, tell us what it does and how it will enrich our lives. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk

Here some more info on Scintilla from Wikipedia.

http://en.wikipedia.org/wiki/Scintilla_(editing_component)

~~~~~~~~~~
Scintilla (editing component)

From Wikipedia, the free encyclopedia

Website http://www.scintilla.org/

Scintilla is a free library that provides text-editing functions, with an emphasis on advanced features for source code editing. SciTE (cross-platform), Notepad++ (Windows) and Notepad2 (Windows) are standalone editors based on Scintilla.
Contents
[hide]

* 1 Features
* 2 Editors based on Scintilla
* 3 Other versions
* 4 See also
* 5 References
* 6 External links

[edit] Features

Scintilla supports many features to make code editing easier in addition to syntax highlighting. The highlighting method allows the use of different fonts, colors, styles and background colors, and is not limited to fixed-width fonts. The control supports error indicators, line numbering in the margin, as well as line markers such as code breakpoints. Other features such as code folding and autocompletion can be added.
[edit] Editors based on Scintilla

* Anjuta
* Boa Constructor
* Code::Blocks
* CodeLite
* FlashDevelop
* Geany
* gPHPedit
* Kephra
* Komodo
* Notepad++
* Notepad2
* Perl Application Development and Refactoring Environment (Padre)
* Programmer's Notepad 2
* SciTE
* Sphere

[edit] Other versions

QScintilla is a Qt 4 port of Scintilla 1.78 by a separate development group.[1] ~~~~~~~~~~

Noli

Reply by email

Hans-Peter Diettrich
to Noli Sicad
Show quoted text 6 lines
>> Has anybody manage to convert Borland Delphi control wrapper for >> Scintilla found in this site below? > So if you want us to be interested, tell us what it does and how it will > enrich our lives. Here some more info on Scintilla from Wikipedia.

This does not explain how the use of another editor component will improve Lazarus projects. What are the real advantages of Scintilla over SynEdit?

DoDi

Reply by email

Noli Sicad
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote 9 lines
Noli Sicad schrieb: This does not explain how the use of another editor component will improve Lazarus projects. What are the real advantages of Scintilla over SynEdit? DoDi >>So if you want us to be interested, tell us what it does and how it will enrich our lives.

I thought that the question is about Scintilla. How scintilla would enrich our lives.

Yes, you are right it might not help improve Lazarus projects. I just found out the Lazarus IDE is synedit IDE in SynEdit project webpage.

What are the real advantages of Scintilla over SynEdit?

Again, I am new to Lazarus and SynEdit, just using it this week. Probably not much.

Is SynEdit better than Scintilla?

Now, I am looking for IDE similar to SciTE that uses SynEdit and you can configure what application to run in the IDE.

By the way, anybody knows SynEdit demos that run with the Synedit version in lazarus. I only saw 2 examples in the lazarus example folder. More examples is useful.

For SynEdit folks in Lazarus, I think it would be good to have similar project in SynEdit that mimick SciTE IDE.

Everybody knows SciTE, right?

The russian version of SciTE is better than the original SciTE. Gusek based on SciTE-ru is what I am using right now in Windows. I am looking for SciTE for Mac OS X which does not exist.

http://code.google.com/p/scite-ru/

Thanks. Noli

Reply by email

Razvan Adrian Bogdan
to Noli Sicad
Noli Sicad wrote
Is SynEdit better than Scintilla?

SynEdit is good enough and quite fast, i used it at some point to replace a custom highlighter i made for some C-ish scripting that used RichEdit and was a lot slower, SynEdit even allowed nice access to the parsed content so you could even build your interpreter without writing your own parser :) Scintilla is probably more capable but it will always be less well integrated while SynEdit is native and you can extend it if you need some special capability.

Show quoted text 6 lines
Everybody knows SciTE, right? The russian version of SciTE is better than the original SciTE. Gusek based on SciTE-ru is what I am using right now in Windows. I am looking for SciTE for Mac OS X which does not exist.

I think most people know Notepad++ but some know the classic version of SciTE. Maybe some people are scared that russian code might have trojans so the RU edition of SciTE is less known, but seriously i have no idea why this version is less known knowing that NGINX is a well known and secure webserver used even by Sourceforge to replace Apache.

Razvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100711/2c39cd30/attachment.html>

Reply by email

Mark Morgan Lloyd
to Noli Sicad: I thought that the question is about Scintilla. How scintilla would enrich our lives.…
Noli Sicad wrote
Everybody knows SciTE, right?

Never heard of it frankly, and the One True Editor is MultiEdit :-)

I have heard of some of the other programs you mention such as Notepad++ but the only time I've had to add an editor to a Delphi/Lazarus program either TMemo or SynEdit has been entirely adequate (subject to poor documentation in the latter case- credit and thanks to people here who've helped me out).

However if the library supported some must-have feature such as an integral and accessible scripting engine or a cross-platform networked clipboard then it would probably be worth looking at on its own merits.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Noli Sicad
to Mark Morgan Lloyd

Just for the record, there is possibility for SciTE in Mac OS X in the future - QSciTE, a true crossplatform SciTE - Windows, Mac OS X, linux, etc.

It is not functional yet.

http://code.google.com/p/qscite/

Noli

Mark Morgan Lloyd wrote 28 lines
Noli Sicad wrote: > Everybody knows SciTE, right? Never heard of it frankly, and the One True Editor is MultiEdit :-) I have heard of some of the other programs you mention such as Notepad++ but the only time I've had to add an editor to a Delphi/Lazarus program either TMemo or SynEdit has been entirely adequate (subject to poor documentation in the latter case- credit and thanks to people here who've helped me out). However if the library supported some must-have feature such as an integral and accessible scripting engine or a cross-platform networked clipboard then it would probably be worth looking at on its own merits. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email