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.
Summary: | Editor enters newline when inserting single quote | ||
---|---|---|---|
Product: | editor | Reporter: | _ gtzabari <gtzabari> |
Component: | Formatting & Indentation | Assignee: | Dusan Balek <dbalek> |
Status: | CLOSED WORKSFORME | ||
Severity: | normal | CC: | bernachesfr, dstrupl |
Priority: | P3 | Keywords: | JDK_SPECIFIC |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 175887 |
Description
_ gtzabari
2009-12-15 18:22:25 UTC
Actually this problem is not limited to code comments. It occurs when you insert single quotes anywhere in the file. JDK 1.7 specific bugs are not P2 for us (yet ;-) ). In the french language the apostrophe (simple quote) is always used alone. The typing of an apostrophe in the editor, either for a string or for a comment asks for long and boring manipulations. bernachesfr, Can you reproduce this issue? I just checked against Netbeans 6.8 and JDK 1.7.0-ea-b94 and it seems to be fixed. gtzabari, You are lucky. I checked against both NetBeans 6.8 AND 6.9 with JDK 1.7.0 ; this issue is not fixed. I will test with JDK 1.6.20. The problem does not exist under the JDK 1.6.20. So, it is a Bug of the JDK 1.7 and not of NetBeans. Sorry not to have written in the good place. It's not clear this is a JDK bug, only that it is JDK-specific. This could still be a bug in the way Netbeans interacts with the JDK. Is this issue still valid with the current dev build and the latest JDK1.7? It seems to work fine for me. I can't verify due to bug #192558 Cannot reproduce with the current dev build and the latest JDK1.7. Closing as WORKSFORME now. Please reopen the issue with the steps to reproduce if the problem persists. v/c |