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

List:       quanta
Subject:    Re: [Quanta] Code Folding and Bracket Highlighting
From:       "Anthony Ettinger" <anthony () chovy ! com>
Date:       2006-10-12 20:53:35
Message-ID: 3fc6b2fb0610121353s179dc4d1q1b49340bacb13803 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 10/12/06, Don Harden <harden@gsu.edu> wrote:
>
>
> Hi All,
>
> I am using Quanta 3.5.3 and KDE 3.5.3-0.2fc4 from RedHat FC4 RPMs
>
> While working on a new PHP project I've noticed a couple of issues with
> code folding an bracket highlighting.
>
> 1)  If a section of code is folded  bracket highlighting no longer works
> correctly (file size and number of lines doesn't seem to matter).
>
> // No code folding anywhere
> if($Boy == 'Fred') {                        <== Clicking this bracket
>     if($Girl == 'Sally') {
>        echo " Fred likes Sally";
>     }
> }      <=== Highlights this Bracket  // Life is good
>
> // Code folding some place else in the file
> if($Boy == 'Fred') {                        <== Clicking this bracket
>     if($Girl == 'Sally') {
>        echo " Fred likes Sally";
>     }
> }      <=== Does NOT highlight this bracket
>
>
> 2)  Bracket highlighting doesn't work over several hundred lines of code
> whether any code is folded or not.
>
> // No code folding anywhere
> if($Boy == 'Fred') {                        <== Clicking this bracket
>     if($Girl == 'Sally') {
>         .....
>         A Few hundred lines of code.
>        ....
>        echo " Fred marries Sally";
>     }
> }      <=== Does NOT highlight this bracket
>
>
> Any ideas for corrections or workarounds?  I searched the archives for
> these issues but did not find anything relevant.  Sorry if I missed the
> answers.
>
> Don



I just cut-n-paste what you had into an empty html doc and it highlighted
fine.





-- 
Anthony Ettinger
phone: 408-656-2473
resume: http://chovy.dyndns.org/resume.html
Currently available for freelance projects
blog: http://www.chovy.com

[Attachment #5 (text/html)]

<br><br><div><span class="gmail_quote">On 10/12/06, <b class="gmail_sendername">Don \
Harden</b> &lt;<a href="mailto:harden@gsu.edu">harden@gsu.edu</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br>Hi All,<br><br>I am \
using Quanta 3.5.3 and KDE 3.5.3-0.2fc4 from RedHat FC4 RPMs<br><br>While working on \
a new PHP project I've noticed a couple of issues with<br>code folding an bracket \
highlighting.<br><br>1)&nbsp;&nbsp;If a section of code is folded&nbsp;&nbsp;bracket \
highlighting no longer works <br>correctly (file size and number of lines doesn't \
seem to matter).<br><br>// No code folding anywhere<br>if($Boy == 'Fred') \
{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;== \
Clicking this bracket<br>&nbsp;&nbsp;&nbsp;&nbsp;if($Girl == 'Sally') \
{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot; Fred likes Sally&quot;; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;=== \
Highlights this Bracket&nbsp;&nbsp;// Life is good<br><br>// Code folding some place \
else in the file<br>if($Boy == 'Fred') \
{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;== \
Clicking this bracket<br>&nbsp;&nbsp;&nbsp;&nbsp;if($Girl == 'Sally') { \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot; Fred likes \
Sally&quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;=== \
Does NOT highlight this bracket<br><br><br>2)&nbsp;&nbsp;Bracket highlighting doesn't \
work over several hundred lines of code<br>whether any code is folded or not. \
<br><br>// No code folding anywhere<br>if($Boy == 'Fred') \
{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;== \
Clicking this bracket<br>&nbsp;&nbsp;&nbsp;&nbsp;if($Girl == 'Sally') \
{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.....<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A \
Few hundred lines of code.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
....<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot; Fred marries Sally&quot;; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;=== Does \
NOT highlight this bracket<br><br><br>Any ideas for corrections or \
workarounds?&nbsp;&nbsp;I searched the archives for<br>these issues but did not find \
anything relevant.&nbsp;&nbsp;Sorry if I missed the<br>answers. \
<br><br>Don</blockquote><div><br><br>I just cut-n-paste what you had into an empty \
html doc and it highlighted fine.<br><br></div><br></div><br><br clear="all"><br>-- \
<br>Anthony Ettinger<br>phone: 408-656-2473<br>resume:  <a \
href="http://chovy.dyndns.org/resume.html">http://chovy.dyndns.org/resume.html</a><br>Currently \
available for freelance projects<br>blog: <a \
href="http://www.chovy.com">http://www.chovy.com</a>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


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

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