| Author |
Message |
kdulcimer
Joined: 07 Jun 2006 Posts: 37
|
Posted: Tue 15 Dec 2009, 11:55 Post_subject:
Latest NicoEdit source code |
|
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?
|
|
Back to top
|
|
 |
James C

Joined: 26 Mar 2009 Posts: 4768 Location: Kentucky
|
Posted: Wed 16 Dec 2009, 02:26 Post_subject:
|
|
I believe you can get it here
http://bkhome.org/sources/alphabetical/n/nicoedit-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.
|
|
Back to top
|
|
 |
kdulcimer
Joined: 07 Jun 2006 Posts: 37
|
Posted: Wed 16 Dec 2009, 23:10 Post_subject:
|
|
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.
|
|
Back to top
|
|
 |
James C

Joined: 26 Mar 2009 Posts: 4768 Location: Kentucky
|
Posted: Thu 17 Dec 2009, 00:34 Post_subject:
|
|
user - puppy
password - linux
HTH.
|
|
Back to top
|
|
 |
kdulcimer
Joined: 07 Jun 2006 Posts: 37
|
Posted: Sat 19 Dec 2009, 12:57 Post_subject:
|
|
Thank you very much, sir!
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6874 Location: Perth, Western Australia
|
Posted: Sat 19 Dec 2009, 18:37 Post_subject:
|
|
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.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 19 Dec 2009, 19:47 Post_subject:
|
|
| 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
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 19 Dec 2009, 23:48 Post_subject:
|
|
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
_________________ my recommended links
Edited_time_total
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 20 Dec 2009, 00:01 Post_subject:
|
|
thanks mark I didn't try what I posted, I just posted what I found.
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sun 20 Dec 2009, 00:10 Post_subject:
|
|
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
| Description |
|

Download |
| Filename |
nicoedit.gs.tar.gz |
| Filesize |
14.49 KB |
| Downloaded |
288 Time(s) |
_________________ my recommended links
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sun 20 Dec 2009, 00:15 Post_subject:
|
|
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
_________________ my recommended links
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 20 Dec 2009, 00:53 Post_subject:
|
|
Great mark I repacked it and changed the version number
ttuuxxx
| Description |
|

Download |
| Filename |
nicoedit-2.5.1.tar.gz |
| Filesize |
102.46 KB |
| Downloaded |
541 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
|