[Bug 48916] New: Closing curly braces don't underline opening curly braces

[email protected] 9 Oct 2002 09:06:58 -0000
Newsgroups gmane.comp.kde.devel.kate
Message-ID <[email protected]>
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=48916     
           Summary: Closing curly braces don't underline opening curly
                    braces
           Product: kate
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Version:           3.0.3 (using KDE KDE 3.0.3)
Installed from:    Compiled From Sources
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
OS:          Linux

When I nest if/then/else, for/while etc. statements in one another and use curly braces on them if I stop my cursor right after the closing curly brace, it's supposed to underline its corresponding opening brace. It will do it for the two up to four deepest nestings, then the outer curly brace pairs just don't do the underlinement type of thing at all. I am enclosing a snippet of PHP code to illustrate the problem:
==========================================
for($i=0;$i<strlen($h);$i++)
{
	if($whateverstatement)
	{
		$startposition=0;
		$endposition=0;
		$flag3=0;
		for(($j=$i;$j<strlen($h);$j++)&&($flag3==0))
		{
			if(substr($h, $j, 1)=='\'')
			{
				if($startposition==0)
					$startposition=$j;
				elseif($endposition==0)
				{
					$endposition=$j;
					$flag2=1;
					$flag3=1;
				}
				else
					die("Error");
			}
		}
	}
}//for example, hovering over this curly brace will not underline the one on line 2 but if I hover over opening curly brace, closing brace will underline