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

List:       kwrite-devel
Subject:    Re: How can I help?
From:       Mirko Stocker <me () misto ! ch>
Date:       2007-06-23 22:12:18
Message-ID: 200706240012.24126.me () misto ! ch
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 22 June 2007 17:47:23 Matthew Woehlke wrote:
> If you're looking at KATE, I would start with items that are
>
> regressions/bugs. Specifically:
> : highlighting issues
>
>    * highlighting uses [wrong attributes]
>    * dsNormal always using dark color
>
> : HL configuration issues
>
>    - attributes appear backwards in list
>    + current highlighter not selected
>    - 'use default' never checked
>    * wrong (can be illegible) color used for group headings
>    * selected item uses system background color, not attribute color
>
> : general
>
>    - reimplement bracket matching
>
> The last one is probably not a beginner task, actually not much is
> really a "beginner" task until you understand the code a bit but you
> have to start somewhere :-). The ones marked with '*' are
> usability/accessibility concerns, especially the second one IMO *really*
> needs to be addressed because right now KATE is unusable with a dark
> background color. For me those are higher priority, and the lone '+' is
> somewhere in the middle. Oh, and then there is the problem of the wrong
> attributes being used, which as a WAG might be related to them appearing
> backwards in the list. The last two '*'s are probably fairly easy but
> might be the fault of the control kate uses to configure colors (i.e.
> code in kdelibs/kdeui, not kdelibs/kate).

Ok, then I'll dig into the highlighting stuff. I've already found the 
KateHighlighting::doHighlight method which sounds like a good place to start.

I've set up my environment according to the techbase "Set up KDE 4 for 
development" page, but I can't launch kate from kdevelop, all I get is:

kio (KSycoca): Trying to open ksycoca 
from /var/tmp/kde-devel-kde4/kdecache-kde-devel/ksycoca4
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kate path = <unknown> pid = 1341
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
KCrash failed to exec(), errno = 13
*** Exited with status: 253 ***

Does it work for you guys? My run settings look like this:

    <run>
 <mainprogram>/home/kde-devel/kde/build/KDE/kdesdk/kate/app/kate</mainprogram>
      <directoryradio>custom</directoryradio>
 <customdirectory>/home/kde-devel/kde/build/KDE/kdelibs/kate</customdirectory>
      <programargs></programargs>
      <terminal>false</terminal>
      <autocompile>true</autocompile>
      <envvars>
        <envvar value="/home/kde-devel/kde" name="KDEDIR" />
        <envvar value="/home/kde-devel/kde" name="KDEDIRS" />
        <envvar value="/home/kde-devel/.kde4" name="KDEHOME" />
        <envvar value="/tmp/$USER-kde4" name="KDETMP" />
        <envvar value="/var/tmp/$USER-kde4" name="KDEVARTMP" />
        <envvar value="42" name="LD_BIND_NOW" />
        <envvar value="$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH" 
name="LD_LIBRARY_PATH" />
        <envvar value="$QTDIR/bin:$KDEDIR/bin:/usr/local/bin:$PATH" 
name="PATH" />
      </envvars>
      <globaldebugarguments>--no-fork</globaldebugarguments>
      <globalcwd>/home/kde-devel/</globalcwd>
      <useglobalprogram>false</useglobalprogram>
      <autoinstall>false</autoinstall>
      <autokdesu>false</autokdesu>
    </run>

Any ideas? It would be nice if I could start it from kdevelop and use the 
debugger to explore the code.

Thanks!

Mirko

["signature.asc" (application/pgp-signature)]

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


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

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