Page 1 of 2

Text Editor

Posted: 8. Aug 2023, 16:12
by hugok
Nice post @gapan, I really enjoyed reading it :D https://blog.salixos.org/post/choosing- ... xt-editor/

As I said before, in this post: viewtopic.php?f=17&t=8405 I would prefer to have the Mousepad installed by default since it is the default editor of Xfce but I also admit that I didn't know all these technical details about CSD.

I also don't dislike L3afpad, my only cons has to do with the translation of L3afpad being in Brazilian Portuguese and not Portuguese (Portugal).

I already made a PR https://github.com/stevenhoneyman/l3afpad/pull/36 on github for some time now to fix and update this problem but the fact is that it seems that L3afpad is inactive since February 2022, as you wrote in your post.

There is also an PR on github for the Greek language: https://github.com/stevenhoneyman/l3afpad/pull/37

Cheers ;)

Re: Text Editor

Posted: 9. Aug 2023, 21:13
by gapan
Hi hugok, glad you liked it!

Actually, in the updated package that is now in the repos, I have applied the update to the greek translation. I also tried to use the patch to update the Portuguese translation, but it did not apply cleanly, there are a lot of failures. It's funny, I hadn't realized it was you that provided the translation. You nick is there, I just didn't notice.

Code: Select all

patching file po/pt.po
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 49.
Hunk #3 succeeded at 58 (offset -3 lines).
Hunk #4 succeeded at 78 (offset -3 lines).
Hunk #5 succeeded at 90 (offset -3 lines).
Hunk #6 FAILED at 121.
Hunk #7 succeeded at 134 (offset -3 lines).
Hunk #8 succeeded at 142 (offset -3 lines).
Hunk #9 succeeded at 157 (offset -3 lines).
Hunk #10 FAILED at 202.
Hunk #11 succeeded at 218 (offset -3 lines).
Hunk #12 succeeded at 231 (offset -3 lines).
Hunk #13 FAILED at 249.
Hunk #14 FAILED at 274.
Hunk #15 succeeded at 282 (offset -8 lines).
Hunk #16 succeeded at 294 (offset -8 lines).
Hunk #17 succeeded at 310 (offset -8 lines).
6 out of 17 hunks FAILED -- saving rejects to file po/pt.po.rej

Re: Text Editor

Posted: 11. Aug 2023, 16:19
by hugok
Are you talking about L3afpad? I never translated it, I just created a PR on GitHub to improve the translation but it hasn't been merged yet.
What is the source of L3afpad package that is in the Salix repositories? I can translate the Portuguese (Portugal) translation.

Re: Text Editor

Posted: 11. Aug 2023, 16:29
by gapan
Yes, I got the patch from your pull request at the l3afpad github, but it wouldn't apply as you see. Maybe it's because I tried to apply it to version 0.8.18.1.11 instead of git master.

Sources are here:
https://download.salixos.org/x86_64/15. ... p/l3afpad/

Re: Text Editor

Posted: 12. Aug 2023, 00:08
by hugok
:? :?

Send you the updated Portuguese translation to your email.

I just updated the pt.po translation file from the sources

Can you make a new l3afpad package or patch the pt.po like the el.po?

Re: Text Editor

Posted: 12. Aug 2023, 22:05
by gapan
Done, new package is now in the repos. Wait until your mirror syncs. Thanks!

Re: Text Editor

Posted: 12. Aug 2023, 23:58
by hugok
Thank you very much :D

Re: Text Editor

Posted: 21. Aug 2023, 12:13
by SalixManiac
Hello gapan,

thank you very much for this test of text editors.

on my configuration with a 7200rpm hdd, on the first start mousepad take almost 3 seconds to open, after that it's almost instantaneous.
leafpad, l3afpad and featherpad(a little bit slower) don't have that slowness on first start.

I saw that you did the tests with very good equipment but did you feel this slowness at the first start?

Re: Text Editor

Posted: 21. Aug 2023, 15:51
by gapan
I can't say that I did. And in any case, I wanted to remove first-run bias as a factor, so I usually started each app a couple of times and then started recording to measure start up time.

I didn't want to measure cold starts (proper way to do it would be after a reboot), since the use case for a simple text editor is that you launch it all the time to note minor stuff and edit a file here or there.

Re: Text Editor

Posted: 21. Sep 2023, 21:52
by miredia
In Geany press [SHIFT][CTRL][V]. Cannot do that on my system.