News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
Lua editor
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #11
RE: Lua editor

But it's Java. A Java text editor is about as logical as.. umm...a Qt....uhh...text editor.

08-28-2007 01:05 AM
Find all posts by this user Quote this message in a reply
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #12
RE: Lua editor

As I said before: another reason for using murgaLua as editor base...
slim, fast and portable Big Grin

I have the same problems with my NXT-Robot and terminalprogram...
so I've started LuaTerm for all platforms.
Christian

08-28-2007 01:24 AM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #13
RE: Lua editor

Quote:
another reason for using murgaLua as editor base...
slim, fast and portable

Vim is available on all platforms supported by murgaLua, and then some. I'm sure there are several other small editors in the same position. (nyaa)
Vim is sadly getting much larger with each release, though. It's already at a stage where I find it difficult to call it "small".

I mainly just don't understand wanting to create yet another text editor from scratch, when there are already editors for everything from the most minimal to the most...uhh...maximal.

But as with everything else, it would definitely be a learning experience
...for someone.

08-28-2007 03:57 AM
Find all posts by this user Quote this message in a reply
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #14
RE: Lua editor

mikshaw Wrote:
I mainly just don't understand wanting to create yet another text editor from scratch, when there are already editors for everything from the most minimal to the most...uhh...maximal.

But as with everything else, it would definitely be a learning experience
...for someone.



It is quite easy.... admins or programmers can use vim and clones, but normal users like OSX-USers never see a shell or something like vim Big Grin
My idea is to create a simple TextEditor for beginners, my favorite robot-builders (Mindstorms NXT) are starting at an ago of 10 ! They need special menues, macros or items for the robot...

A simple texteditor written in murgaLua can be customized for this very easy.

Real admins/programmers have already special editors for years ;-)
I'm using vi or emacs without GUI

Bye
Christian

08-28-2007 05:51 AM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #15
RE: Lua editor

Quote:
normal users like OSX-USers never see a shell or something like vim

Many binary releases of Vim come with a very powerful graphical frontend. I think this is the only way to use vim in Windows, short of using it in Cygwin or similar.

Quote:
A simple texteditor written in murgaLua can be customized for this very easy

Have you looked through the FLTK documentation? I think there is a text editor tutorial there that might be translated into MurgaLua. Otherwise, the Fl_Text_Editor class is practically a fully useable editor in itself, although there are many functions and methods that would need to be tied to a menu or buttons to make it seem more than a glorified Multiline_Input to those who are accustomed to clicking.

I'm guessing the most complicated part would be syntax hilighting.

If you or someone else doesn't get started on this in the next week or so I can hack up something that might be used as a starting point, although I'm not sure I'd be too interested in doing more than infrequent debugging after that time.

08-28-2007 07:39 AM
Find all posts by this user Quote this message in a reply
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #16
RE: Lua editor

Quote:
I'm guessing the most complicated part would be syntax hilighting.

If you or someone else doesn't get started on this in the next week or so I can hack up something that might be used as a starting point, although I'm not sure I'd be too interested in doing more than infrequent debugging after that time.


Yes, I agree completely with you!
Syntax highlighting is an awfull job...
BUT someone has to start with a sample and show the world, how easy it is with murgaLua :-D
Let's start together
it is worse to do it, all my kids will thank you Big Grin
Bye
Christian

p.s.: do you know Lua at NXT ?

08-28-2007 07:52 AM
Find all posts by this user Quote this message in a reply
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #17
RE: Lua editor

Hi,

who needs more ? Big Grin
All you need for Mindstorms NXT and pbLua, written in murgaLua

Enjoy the the hardcopy of first running sample.

Bye
Christian


chrimo Wrote:

Quote:
I'm guessing the most complicated part would be syntax hilighting.

If you or someone else doesn't get started on this in the next week or so I can hack up something that might be used as a starting point, although I'm not sure I'd be too interested in doing more than infrequent debugging after that time.


Yes, I agree completely with you!
Syntax highlighting is an awfull job...
BUT someone has to start with a sample and show the world, how easy it is with murgaLua :-D
Let's start together
it is worse to do it, all my kids will thank you Big Grin
Bye
Christian

p.s.: do you know Lua at NXT ?



Attached File(s)
.png File  NXTLuaTermDraft-20070831-1024x640.png (Size: 381.93 KB / Downloads: 7)
08-31-2007 10:45 PM
Find all posts by this user Quote this message in a reply
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #18
RE: Lua editor

OK, OK,...

I currently have problems with windows - my OSX code did not work at Win32...
Editor did not show buttons on the right side ;-(

Just for info:
Eclipse+LuaEclipse works very nice at OSX, Linux and Windows Big Grin

Good night
Bye
Christian

This post was last modified: 09-01-2007 06:27 AM by chrimo.

09-01-2007 06:24 AM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #19
RE: Lua editor

chrimo Wrote:
I currently have problems with windows - my OSX code did not work at Win32...
Editor did not show buttons on the right side ;-(

I get back tomorrow, feel free to send me the code and I'll try to figure out what's wrong :-)

Cheers
JohnM

This post was last modified: 09-03-2007 01:46 AM by JohnMurga.

09-03-2007 01:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #20
RE: Lua editor

chrimo Wrote:
Just for info:
Eclipse+LuaEclipse works very nice at OSX, Linux and Windows Big Grin


You should give last Eclipse 3.3 (EUROPA) with Lunareclipse a try...

http://lunareclipse.sourceforge.net/

It's crazy cool!

Bye
Christian

09-11-2007 07:07 AM
Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: