Al la enhavo

Esperanto notepad for any browser

de Pharoah, 2009-julio-23

Mesaĝoj: 9

Lingvo: English

Pharoah (Montri la profilon) 2009-julio-23 22:06:04

I wanted to type something in Esperanto at work today, but I didn't want to install or configure anything on my work PC. What I decided to do was whip up a page in Javascript that would work like a notepad and convert x-kludge to special characters as you type.

Here's the page. It works online or offline (just save it to your hard drive) and should work fine on any modern browser. Not the perfect solution, but it's very easy to get working and very portable.

Feel free to reply with any bugs or comments. My javascript isn't the best, but I hope this is useful to somebody.

jchthys (Montri la profilon) 2009-julio-24 01:15:58

Hey, that’s great! In case the URL of your page is too difficult to remember, I created a redirect from tinyurl.com/esperantox.

Pharoah (Montri la profilon) 2009-julio-24 02:04:25

Thanks ridulo.gif. My Esperanto is not so good yet, but if somebody could post this in the Esperanto section of the forum more people might be able to find it.

jchthys (Montri la profilon) 2009-julio-24 04:07:24

Donniedillon (Montri la profilon) 2009-julio-24 04:50:12

Simple but very effective. Well done!

ceigered (Montri la profilon) 2009-julio-24 07:20:24

Tre bona ideo amiko ridulo.gif
Laboras bonege!
Bona pensad'!

(Very good idea mate
Works great
Good thinkin')

Vilinilo (Montri la profilon) 2009-julio-24 15:39:18

Nice work, but I've found a bug in that notepad: one can not edit a "^-letter" in the middle of a line, because the x always goes to the end of that line. E.g., I've written:

ĉirkaŭajoj ĥaoso ŝanĝiĝoj

Then I've seen I forgot to put an ^ in "ĉirkaŭajoj", but if put an x after that j, the phrase goes:

ĉirkaŭajoj ĥaoso ŝanĝiĝoĵ

Pharoah (Montri la profilon) 2009-julio-24 20:12:50

Thanks everyone for your responses ridulo.gif

Vilinilo - I noticed that too. Unfortunately I can't seem to find a good way to locate the cursor position in a textarea. All the ways I've seen I'm unhappy with and probably wouldn't work well. So I'm going to leave this as it is for now.

It would be nice if I could find an open source notepad app that worked like the one at writer.bighugelabs.com and modify it to work with x input.

ceigered (Montri la profilon) 2009-julio-25 18:02:04

Pharoah:--GO ahead and delete this if you can, I posted twice somehow!--
I would but it looks like permissions have been changed for vortaro admins lango.gif
At least I don't have to worry about editing other people's messages instead of replying to them okulumo.gif

And I can understand why one would be hesitant to implement a cursor-locating feature so that the letter appears in the right position - that just gets tedious. If I find any good open source web-based notepad I'll let you know.
Is the google docs one OS?

Reen al la supro