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

List:       quanta
Subject:    Re: [Quanta] Code Folding and Bracket Highlighting
From:       "James Porter" <jameslporter () gmail ! com>
Date:       2006-10-12 17:15:04
Message-ID: f0e2c5070610121015g6da25969k3229f263866015f2 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I have noticed the same thing...especially when the opposite bracket isn't
on the screen... It should still highlight it so that I can see if the
corresponding bracket is closed(parse errors:)...

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
>
> --
> Don Harden                       harden@Gsu.EDU
> Department of Chemistry          564 NSC
> Georgia State University         ph:  (404) 651-3580
> Atlanta, Ga. 30302               fax: (404) 651-1416
>
> _______________________________________________
> Quanta mailing list
> Quanta@mail.kde.org
> https://mail.kde.org/mailman/listinfo/quanta
>

[Attachment #5 (text/html)]

I have noticed the same thing...especially when the opposite bracket isn't on the \
screen... It should still highlight it so that I can see if the corresponding bracket \
is closed(parse errors:)...<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<br><br>--<br>Don \
Harden&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<a href="mailto:harden@Gsu.EDU">harden@Gsu.EDU</a><br>Department of \
Chemistry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;564 \
NSC<br>Georgia State University&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
ph:&nbsp;&nbsp;(404) 651-3580<br>Atlanta, Ga. \
30302&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
fax: (404) 651-1416 <br><br>_______________________________________________<br>Quanta \
mailing list<br><a href="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/quanta">https://mail.kde.org/mailman/listinfo/quanta
 </a><br></blockquote></div><br>



_______________________________________________
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