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 187664 - Automatically insert the closing quote bug when it deleted
Summary: Automatically insert the closing quote bug when it deleted
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2010-06-16 15:28 UTC by arnolem
Modified: 2011-08-16 10:01 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 arnolem 2010-06-16 15:28:23 UTC
Product Version = NetBeans IDE 6.9 (Build 201006111053)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
--------------------------------------------------------------

Hello,

Editor > Code completion > All Languages > Automatically insert the closing parentheses : Checked

The | caracter is the keybord focus

When I write :

STEP 1 : 
$myVar = |

STEP 2 : I add a single quote
$myVar = '|'

STEP 3 : I add a string into quotes
$myVar = 'test|'

STEP 4 : I add the closing quote
$myVar = 'test'|

STEP 5 : I delete the closing apostrophe by mistake
$myVar = 'test|

STEP 6 : I put the closing apostrophe but the editor thinks I'm starting a new chain
$myVar = 'test'|'


Thanks,
Comment 1 Vitezslav Stejskal 2010-06-17 10:32:43 UTC
I'm not sure if this logic is in php or csl, so please reassign if neccessary.
Comment 2 Filip Zamboj 2010-09-15 12:31:51 UTC
batch reassigning
Comment 3 Ondrej Brejla 2011-08-16 10:01:12 UTC
Works properly in NB 7.0.1.