Polywell: a text editor component

Showcase your libraries, tools and other projects that help your fellow love users.
Itsakaime
Prole
Posts: 1
Joined: Wed Oct 10, 2018 1:06 am

Re: Polywell: a text editor component

Post by Itsakaime »

Just wondering if anyone knows if this still works in the newest version of love? I'm oh home yet to check and I wanna know before I forget haha
User avatar
technomancy
Prole
Posts: 49
Joined: Thu Oct 29, 2015 8:25 am
Location: Thailand
Contact:

Re: Polywell: a text editor component

Post by technomancy »

I've updated it to work with love 11.x, yeah.

I am also in the process of porting it over to the Fennel programming language, but that shouldn't affect the ability to use it from Lua.

https://fennel-lang.org
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: Polywell: a text editor component

Post by WAWAWA »

This is not an editor? I can only see a console.
User avatar
technomancy
Prole
Posts: 49
Joined: Thu Oct 29, 2015 8:25 am
Location: Thailand
Contact:

Re: Polywell: a text editor component

Post by technomancy »

It's a text editor that opens the console as its initial buffer. Ctrl-x Ctrl-f will allow you to open a new file. I guess the text that displays in the console should explain that. =)

Due to limitations in love.filesystem it only works with files in the directory it's launched from.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: Polywell: a text editor component

Post by WAWAWA »

Oh, sorry. So I just have to open a new file and editor will open? I'll probably figure out myself by now but you could still answer.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: Polywell: a text editor component

Post by WAWAWA »

Sorry for the *double post*, but just wondering, do you have time for teaching me how you made the console and stuff? I really want to make a game about coding.
User avatar
technomancy
Prole
Posts: 49
Joined: Thu Oct 29, 2015 8:25 am
Location: Thailand
Contact:

Re: Polywell: a text editor component

Post by technomancy »

I could try adding more documentation to Polywell, but it's written in Fennel, not Lua so I don't know how helpful that would be to you.
User avatar
WAWAWA
Prole
Posts: 32
Joined: Fri Aug 13, 2021 5:10 pm

Re: Polywell: a text editor component

Post by WAWAWA »

Well, I still can't figure out how you open that editor. I guess your keybinds only work on the editor? I'll learn Fennel to see how you made this.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests