[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kant
Subject:    Bug#43192: kate perl highlighting broken when using AutoLoad/split
From:       Anders Lund <anders () alweb ! dk>
Date:       2002-05-28 22:57:54
[Download RAW message or body]

On Tuesday 28 May 2002 23:34, matt@matts.org wrote:
> Package: kate
> Version: 2.0 (using KDE 3.0.1 )
> Severity: normal
> Installed from:    Mandrake Linux Cooker i586 - Cooker
> Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.2
> 2.96-0.76mdk) OS:                Linux (i686) release 2.4.18-6mdkenterprise
> OS/Compiler notes:
>
> Create a sample perl module, say with
>
> h2xs -X -n SomeModule
>
> Open SomeModule/SomeModule.pm and add a subroutine /after/ the last =cut. 
> Kate treats everything after __END__ as pod, so your to-be-autosplitted
> code will not be correctly highlighted.
>
> To use the autosplitter, your subroutines must go after the __END__ so the
> highlighting is broken if it reads that __END__ is always the end of code. 
> Even if you don't agree this is a bug, can you provide some workaround?
>

Ah, thank  you!! My mistake I'm afraid.

I thought code behind __END__ was not highlighted at all, but maybe I didn't 
get that right.

I will change it to interpret code behind __END__ as normal code.

-anders

(Complete bug history is available at http://bugs.kde.org/db/43/43192.html)
_______________________________________________
kde-kant mailing list
kde-kant@
http://mail.kde.org/mailman/listinfo/kde-kant
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic