Forum > Other

Text editor wanted

(1/7) > >>

john60:
I'm not sure of the best place to ask - I hope this is OK

I'm looking for a FPC/Lazarus text editor with some simple code editing features.
Nothing fancy - but must provide full PD source code for me to expand on and
be well annotated or documented.
It should be procedural based making minimal use of objects if it must use any.

If such a thing exists I'd welcome a heads up.
TIA


Handoko:
Hello john60,
Welcome to the forum.

Have you tried TSynEdit or ATSynEdit? You can use them to create your own editors.
Read more:
http://wiki.freepascal.org/TSynEdit
http://wiki.freepascal.org/ATSynEdit

Users use TSynEdit/ATSynEdit to create many text editors, like:

FreeEdit:
https://forum.lazarus.freepascal.org/index.php/topic,10318.msg50973.html

Mini Edit:
https://github.com/parmaja/miniedit

CudaText:
http://uvviewsoft.com/cudatext/index.html

And these are some others Pascal-written text editors:
http://texteditors.org/cgi-bin/wiki.pl?action=browse&diff=1&id=Qed-Pascal
https://sourceforge.net/projects/filthyeditor/
https://sourceforge.net/projects/gleditor/

As far as I know, all the names mentioned above are free with source code. But it doesn't mean they are in the Public Domain. Make sure you read their license first before you fork them.

Guva:
Basic template for creating editor, with tabbed support http://freepascal.ru/forum/viewtopic.php?f=10&t=11265

john60:
Hi Handoko

Thanks for the helpful post.
I just took a quick look at leeledumbos freeedt program - that may well be enough
scaffolding to kickstart my own editor so thanks for that. I can't see any copyright messages
so I'll try and contact him.

I did look at synedit but it's really too complex/object based for my use.

This thread went off topic real fast (from my request right into everyone elses favourite editor)
I hope that's not normal on the forum.

marcov:
You are right, and I'm sorry I participated in that,  being a moderator and all that. I cleaned the thread a bit.

Handoko's answer is fairly complete, it only misses the most basic one, TMemo :-)

The only advanced thing to add I can think of is that there might be some Delphi codebases that use the Scintilla editor DLL that are portable to Lazarus. Most people prefer synedit though, because the stability and bug status of Windows builds of Scintilla seem to constantly change.

Navigation

[0] Message Index

[#] Next page

Go to full version