|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I just moved to Linux (fedora Core 6) and, of course I have been looking for
a good editor.
I like very much Kate with the Povray adding. I love the file management and
how it shows the nesting.
But I can not get it working correctly because of the highlighting. The .pov
files are correctly recognized but with the .inc files some of them are
correctly recognized but others are not. They are recognized as PHP
scripts. And I can not find any difference between the well and the bad
recognized. Same attributes, ...
Any ideas?
Thanks,
Zoly
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Zoly schrieb:
>
> But I can not get it working correctly because of the highlighting. The .pov
> files are correctly recognized but with the .inc files some of them are
> correctly recognized but others are not. They are recognized as PHP
> scripts. And I can not find any difference between the well and the bad
> recognized. Same attributes, ...
Kate has a priority setting for the syntax highlighting - currently the
POV-Ray and PHP modules seem to have the same priority. You can
probably solve this by adjusting these. Alternatively you could remove
the .inc from the PHP definition.
-- Christoph
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I tried removing .inc from the rest of definitions, added .INC and .POV in
capital characters for the povray definition and removed all the
definitions with no extensions associated to it with no success. I didn't
alter the priority settings because I can not find if more positive numbers
means higher or lower priority.
No way. Any other trick?
Thanks,
-- Zoly
Christoph Hormann <chr### [at] gmxde> wrote:
> Kate has a priority setting for the syntax highlighting - currently the
> POV-Ray and PHP modules seem to have the same priority. You can
> probably solve this by adjusting these. Alternatively you could remove
> the .inc from the PHP definition.
>
> -- Christoph
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I cleaned up my Kate installation and assigned priority 20 to POVRay file
types and now it works perfect.
This development environment (Kate+POV highlighting) is simple and clear:
excellent!
Thanks,
Zoly
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Zoly wrote:
>
> I like very much Kate with the Povray adding.
Old thread, but for posterity's sake, here's a Kate tip:
There is no quick way AFAIK for turning off syntax-highlighting in Kate,
so name any large inc files with an extension like .pinc instead of
.inc. This will allow you to view these files without slowing down your
system as much.
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |