6 Sep 20:25
Editor controls with Lua API?
From: Alexander Gladysh <agladysh <at> gmail.com>
Subject: Editor controls with Lua API?
Newsgroups: gmane.comp.lang.lua.general
Date: 2008-09-06 18:26:20 GMT
Subject: Editor controls with Lua API?
Newsgroups: gmane.comp.lang.lua.general
Date: 2008-09-06 18:26:20 GMT
Hi, list! Are there any cross-platform GUI notepad-like editor controls, scriptable in Lua, besides Scintilla? I need OS X / Linux / Win32 support and UTF-8. As I'm planning some custom usage, I do not need most of usual fancy features -- just decent flexibility, and good multi-style text output support (even multicolor-only would do). On to the other hand, may be I'd prefer to get non-Lua editor control with clean API (on Lua's level on cleanness), and to bind it myself to suit my needs. Are there any? What I've seen is a bit too bloated to my taste... Alexander.
), and to bind it
myself to suit my needs. Are there any? What I've seen is a bit too
bloated to my taste...
Alexander.
Just to add that it seems to me that creating a FTLK application
using the Fl_Text_Editor widget (the one derived from NEdit)
will allow you to do everything you want (points 1, 2 and 3).
Moreover, FLTK can be linked statically to your executable as
it is quite small (around 700 ko), and it compiles at least on
Windows, Linux and MacOS X systems...
Why would you need a "big GUI library" ?
Cheers,
Matias.
Alexander Gladysh a écrit :
> On Sat, Sep 6, 2008 at 11:32 PM, Jeff Pohlmeyer
> <yetanothergeek <at> gmail.com> wrote:
>
>> Alexander Gladysh wrote:
>>
>>
>>> I need an embeddable editor control which I would drive with
>>> Lua by my own unusual ways.
>>>
>>> I'd rather teach some unambitious edit control new tricks than
>>> struggle with full-blown IDE to behave against its nature.
>>>
>
> <...>
RSS Feed