Hi, I compiled the freshly downloaded geany 0.21 (svn r5534), and it recognizes the PHP filetype, but does not color it. What should I change? My plan is: to get COBOL syntax highlighting working.
Zoltan
Am 31.01.2011 09:59, schrieb Szabo Zoltan:
Hi, I compiled the freshly downloaded geany 0.21 (svn r5534), and it recognizes the PHP filetype, but does not color it. What should I change? My plan is: to get COBOL syntax highlighting working.
Can you please explain a bit more detailed what you did and what was your plan behind (read: why you did this?) ? I'm afraid I'm not sure at the moment what you have done in detail ;)
Cheers, Frank
My plan (in the future) to make geany able to show COBOL files nicely, with syntax highlighting.
So my first steps were: downloading a fresh geany, compiling it and just try to open a simple file. In this case my example file was a PHP file. In "Document/Set filetype/scripting languages" menu I saw that PHP was checked, so it recognized it well, but the screen was black-and-white (without any colours).
So at first (before the cobol thing) I would like to make my fresh geany able to show syntax highlighting for any file.
2011/1/31 Frank Lanitz frank@frank.uvena.de
Am 31.01.2011 09:59, schrieb Szabo Zoltan:
Hi, I compiled the freshly downloaded geany 0.21 (svn r5534), and it recognizes the PHP filetype, but does not color it. What should I change? My plan is: to get COBOL syntax highlighting working.
Can you please explain a bit more detailed what you did and what was your plan behind (read: why you did this?) ? I'm afraid I'm not sure at the moment what you have done in detail ;)
Cheers, Frank _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Am 31.01.2011 11:23, schrieb Szabo Zoltan:
My plan (in the future) to make geany able to show COBOL files nicely, with syntax highlighting.
So my first steps were: downloading a fresh geany, compiling it and just try to open a simple file. In this case my example file was a PHP file. In "Document/Set filetype/scripting languages" menu I saw that PHP was checked, so it recognized it well, but the screen was black-and-white (without any colours).
So at first (before the cobol thing) I would like to make my fresh geany able to show syntax highlighting for any file.
Did you use a PHP-file with proper syntax?
Cheers, Frank
On Mon, 31 Jan 2011 11:23:02 +0100 Szabo Zoltan szabozoltan69@gmail.com wrote:
My plan (in the future) to make geany able to show COBOL files nicely, with syntax highlighting.
So my first steps were: downloading a fresh geany, compiling it and just try to open a simple file. In this case my example file was a PHP file. In "Document/Set filetype/scripting languages" menu I saw that PHP was checked, so it recognized it well, but the screen was black-and-white (without any colours).
So at first (before the cobol thing) I would like to make my fresh geany able to show syntax highlighting for any file.
I've seen this before. From memory it was the result of mixed up libraries. After you compiled geany, did you "make install" it, or are you running it from the directory that you built it in? If you installed it, did you overwrite your existing copy or did you put it in a different location?
Although I've encountered this before, annoyingly I don't remember exactly what I did to resolve it.
I wrote this earlier with regard to a different problem, but I had the same symptoms.
"OK. Ignore last... sorry. It looks like I'd managed to end up with a set of bizarrely interlinked installations of geany. My new install in /usr was referencing files in /usr/local (I removed the old one and lost all the syntax highlighting and the fold icons turned into black blocks!). I've cleaned off all the installs, done a complete make clean; make; make install of geany and I can now build the plugins."
You might need to do a compile cycle with a consistent prefix set throughout.
Jon
I've seen this before. From memory it was the result of mixed up libraries. After you compiled geany, did you "make install" it, or are you running it from the directory that you built it in? If you installed it, did you overwrite your existing copy or did you put it in a different location?
I didn't "make install" it, just I run it from the directory that I built it. (I use a stable (0.16) Geany (in Ubuntu), so I don't want to change to a development version.) If I open my PHP file in the stable Geany, it shows colors.
Thank you, anyway. I try to do a consistent prefix set... Zoltan
Although I've encountered this before, annoyingly I don't remember exactly what I did to resolve it.
I wrote this earlier with regard to a different problem, but I had the same symptoms.
"OK. Ignore last... sorry. It looks like I'd managed to end up with a set of bizarrely interlinked installations of geany. My new install in /usr was referencing files in /usr/local (I removed the old one and lost all the syntax highlighting and the fold icons turned into black blocks!). I've cleaned off all the installs, done a complete make clean; make; make install of geany and I can now build the plugins."
You might need to do a compile cycle with a consistent prefix set throughout.
Jon _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
With a "make install" the colors are OK (for a PHP file). Thanks.