Page 1 of 1

Latest NicoEdit source code

Posted: Tue 15 Dec 2009, 15:55
by kdulcimer
I'm interested in getting ahold of the latest NicoEdit source code for another Linux distribution. Could somebody be so kind as to point my nose in the right direction?

Is there anywhere the NicoEdit source code is stored outside this forum?

Posted: Wed 16 Dec 2009, 06:26
by James C
I believe you can get it here
http://bkhome.org/sources/alphabetical/ ... 2.5.tar.gz

His blog post concerning NicoEdit is here

http://bkhome.org/blog/?viewDetailed=01270

I checked out your Beta release the other day, looks like a good base to build with. :)

HTH.

Posted: Thu 17 Dec 2009, 03:10
by kdulcimer
Thanks for the link, but I get asked for a username and password.

You may have picked up a Beta release that wasn't quite ready yet.

Posted: Thu 17 Dec 2009, 04:34
by James C
user - puppy

password - linux

HTH.

Posted: Sat 19 Dec 2009, 16:57
by kdulcimer
Thank you very much, sir!

Posted: Sat 19 Dec 2009, 22:37
by BarryK
Nicolas, the developer of NicoEdit, is busy with other things right now, so not currently keen to work on NicoEdit.

Version 2.5 fixed a problem, the PPLOG script did not open. It does not fix the shebang line '#!/bin/ash' that I had requested. Also, 2.5 does not have the menu option to manually choose color highlighting -- which 2.4 does have.

So, is anyone interested in examining 2.4 and 2.5 source and put the menu entry for syntax highlighting back in? -- because NicoEdit does not always autodetect the type of file.

Also, figure out how to add '#!/bin/ash' to the other shebang lines '#!/bin/sh', '#!/bin/bash'.

Then we will have say version 2.5.1.

Posted: Sat 19 Dec 2009, 23:47
by ttuuxxx
BarryK wrote:Nicolas, the developer of NicoEdit, is busy with other things right now, so not currently keen to work on NicoEdit.

Version 2.5 fixed a problem, the PPLOG script did not open. It does not fix the shebang line '#!/bin/ash' that I had requested. Also, 2.5 does not have the menu option to manually choose color highlighting -- which 2.4 does have.

So, is anyone interested in examining 2.4 and 2.5 source and put the menu entry for syntax highlighting back in? -- because NicoEdit does not always autodetect the type of file.

Also, figure out how to add '#!/bin/ash' to the other shebang lines '#!/bin/sh', '#!/bin/bash'.

Then we will have say version 2.5.1.
open /root/Downloads/nicoedit-2.5/src/nicoedit.gs
line 1048 buf.set_highlight_syntax (false)
should be buf.set_highlight_syntax (true)
also line 375 is missing */
it looks like /* ***************
when it should look like /* *************** */
ttuuxxx

Posted: Sun 20 Dec 2009, 03:48
by MU
yes, ttuuxx is right concerning the comment, but you also must delete the closing */ lateron.

That comment removed the whole highlight-submenu.

And another function had to be uncommented:
def check_correct_lang (value : string)

This one will set the togglebutton in that menu, to show which language is currently active.

Then this function also must be called, after the correct language was detected.
I marked that part with a "//MU" comment.

At that place, I also added a "manual" check for "#!/bin/ash".
It will analyse the first line of the text.
By default, nicoedit uses a glib function to check the mimetype, but that one does not detect ash as shellscript.

I attach the patched source.

Note: to update also the version number in the about dialog to 2.5.1, you must edit in addition the file "wscript".

My attached arcive contains only nicoedit.gs, no other files.
So you need the original 2.5 source to compile it.

Mark

Posted: Sun 20 Dec 2009, 04:01
by ttuuxxx
thanks mark I didn't try what I posted, I just posted what I found.
:)
ttuuxxx

Posted: Sun 20 Dec 2009, 04:10
by MU
I just see in comparison with 2.4, that also in the "tools" menu, the option to change the text and backgroundcolor was removed.

I attach a patched version based on my first patch, where it is reenabled again.

Mark

Posted: Sun 20 Dec 2009, 04:15
by MU
thats was great ttuuxx, it encouraged me to have a look.
I think without your hint, I would have preferred to take some sleep instead ;)

It is always easier, if people share the work, and you have brought me on the right track :)

thanks, Mark

Posted: Sun 20 Dec 2009, 04:53
by ttuuxxx
Great mark I repacked it and changed the version number :)
ttuuxxx

Posted: Sun 17 Jul 2016, 21:32
by ralphv
I recently compiled nicoedit in msys2 on windows. Msys2 simulates a linux environment, uses pacman to get necessary libs. Had to make changes to bkcompile script and put Gtk. in front of every Menu and MenuItem. It runs outside of msys2 if I add some locations to windows' path.

Ralph

Posted: Mon 16 Jul 2018, 15:28
by lopman
NicoEdit v2.5.3 is the last ?