This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 132720 - Can't insert quotes in new class definition
Summary: Can't insert quotes in new class definition
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks: 131609
  Show dependency tree
 
Reported: 2008-04-14 09:19 UTC by carentrica
Modified: 2008-04-25 13:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carentrica 2008-04-14 09:19:16 UTC
This is strange. Trying to create a new class definition in a new PHP document, I can't insert string members.

E.g.: Create a new PHP document.

<?php
class Foo {
    private static $abc = // I want type in "xyz", but the editor won't allow quotes at this point - single or 
double!!!
}
Comment 1 Petr Pisl 2008-04-14 12:54:05 UTC
Victoria, could you try to reproduce it on a Windows machine? I'm not able to reproduce it on my linux machine.
Comment 2 Petr Pisl 2008-04-14 13:23:48 UTC
Hmm, I can now reproduce it as well. 
Comment 3 Petr Pisl 2008-04-14 13:33:20 UTC
The problem is in the bracket matching functionality. Vito, could you try to fix it. It shouldn't be hard. 
Comment 4 Vitezslav Stejskal 2008-04-14 15:06:11 UTC
http://hg.netbeans.org/release61-php/rev/b346eb4f79d6