A barebones editor:
(left)ctrl+s saves
(left)ctrl+r saves and run the file (press escape to go back)
The file is also saved on quit
A console is required to see the errors
Mouse not supported, common keyboard operations supported
Optional code highlighting (lua only)
No bound checks
https://github.com/monolifed/loveditor
Its intended use is to edit small code portions within love
For example, I plan to add it to love example navigator:
https://love2d.org/forums/viewtopic.php?f=5&t=91657
love editor
love editor
Last edited by monolifed on Fri Jul 30, 2021 9:33 am, edited 4 times in total.
Re: love editor
Yeah, nice, but what is purpose of that editor?
(like, Zerobrane exist or any other lua-compotable editor)
(like, Zerobrane exist or any other lua-compotable editor)
Re: love editor
Would you ask the same to anyone posting a game here?
The purpose can be anything from fun to educational.
Re: love editor
I've come from notepad to zerobrane and seriously considering going back to notepad.
I think there is room for more editors that are better than notepad but not zerobrane.
I think there is room for more editors that are better than notepad but not zerobrane.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/pad-and-pencil-gridiron
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/pad-and-pencil-gridiron
Re: love editor
Bro, ok
But i asked OP, not you
Re: love editor
I added multiline selection. It seems to works but I won't be surprised if it crashes.
I am not making a full text editor.
There will be no support for font styles, color schemes, menus, etc.
This is a simple edit control for love.
I am not making a full text editor.
There will be no support for font styles, color schemes, menus, etc.
This is a simple edit control for love.
Last edited by monolifed on Tue Jul 27, 2021 7:16 am, edited 1 time in total.
Re: love editor
Okay thenmonolifed wrote: ↑Sun Jul 25, 2021 11:02 pm I added multiline selection. It seems to works but I won't be surprised if it crashes.
https://github.com/monolifed/loveditor
I am not making a full text editor.
There will be no support for font styles, color schemes, menus, etc.
This is a simple edit control for love.
Re: love editor
I didn't try it on an android device but I checked the documentation.
love.keyboard.setTextInput must be used to enable textinput
Other than that I don't know what might not be working on Android
If you want to run single file love programs.
Writing the code in a real editor, copying and running it on-paste could be more convenient.
Re: love editor
Updated movement logic
Added highlight support via lexer.lua
Added highlight support via lexer.lua
Who is online
Users browsing this forum: randomnovice and 3 guests