[Lazarus] Xterm, konsole etc.
Martin
lazarus at mfriebe.de
Tue Jun 18 01:53:59 CEST 2013
On 17/06/2013 23:30, Martin wrote:
> From memory:
>
> I would (if I had time) start a new component, not inheriting, but
> starting on a copy of SynEdit
>
> Or even throwing out most of it, except
> Keeping
> - the textbuffer (keep bidi-view, but get rid of folding and trim
> space [those are wrappers around the textbuffer])
> - LazSynSurface (which paints the text)
> - caret
> - create a markup module for highlight (must also store the color info)
> then copy stuff for selection and clipboard, if needed
>
> Some of that code is still under redesign in SynEdit, so that may
> mean some maintenance later.
Attached is what it takes to start. Just a rough draft, but it already
draws the text. And has the buffer.
Add your own keyboard...
Also needs to add support for doublewidth (Japanese) chars (that is just
a wrapper for the buffer.
Search SynEdit for ScreenCaret (the actual | ) and caret...
There will be some issues, because some things expect a "TSynEdit" and
this is not ....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pack_syn_cmd.rar
Type: application/octet-stream
Size: 1523 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130618/db81544a/attachment-0003.obj>
More information about the Lazarus
mailing list