[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#290473: kdelibs-data: Syntax highlighting doesn't work in .php files



* Bohuslav Blin [Fri, 14 Jan 2005 11:36:32 +0100]:
> Package: kdelibs-data
> Version: 4:3.3.1-4
> Severity: normal

  Hello Bohuslav, do you still experience this with KDE 3.3.2?

> If i open .php file in quanta it prints on console:
> QFile::open: No file name specified

> ----------- here is cut from strace: ------------

> read(17, "<?php include(\"include.php\")"..., 4096) = 4096
> read(17, "nu\">\310\355seln\355ky &#062; Firmy</span"..., 4096) = 638
> fstat64(17, {st_mode=S_IFREG|0644, st_size=4734, ...}) = 0
> close(17)                               = 0
> munmap(0x41f1f000, 4096)                = 0
> open("/usr/share/apps/katepart/syntax/html-php.xml", O_RDONLY|O_LARGEFILE) = 17
> fstat64(17, {st_mode=S_IFREG|0644, st_size=11444, ...}) = 0
> fstat64(17, {st_mode=S_IFREG|0644, st_size=11444, ...}) = 0
> fstat64(17, {st_mode=S_IFREG|0644, st_size=11444, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41f1f000
> read(17, "<?xml version=\"1.0\" encoding=\"UT"..., 8192) = 8192
> read(17, "text=\"#pop\" char=\"/\" char1=\"&gt;"..., 4096) = 3252
> fstat64(17, {st_mode=S_IFREG|0644, st_size=11444, ...}) = 0
> brk(0)                                  = 0x8c62000
> brk(0x8c83000)                          = 0x8c83000
> brk(0)                                  = 0x8c83000
> brk(0)                                  = 0x8c83000
> brk(0x8c73000)                          = 0x8c73000
> brk(0)                                  = 0x8c73000
> close(17)                               = 0
> munmap(0x41f1f000, 4096)                = 0
> write(2, "QFile::open: No file name specif"..., 36QFile::open: No file name specified
> ) = 36
> -------------- end of cut ------------------------


> I found /usr/share/apps/katepart/syntax/html-php.xml as part of kdelibs-data package.

> Syntax highlighting in other files like .html work well.





> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.7-1-k7
> Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

> Versions of packages kdelibs-data depends on:
> ii  hicolor-icon-theme            0.5-3      Default fallback theme for Freedes

> -- no debconf information



-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
When you don't know what to do, walk fast and look worried.




Reply to: