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.
Build: NetBeans IDE Dev (Build 201203120400) VM: OpenJDK 64-Bit Server VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_23-b23 OS: Linux User Comments: GUEST: First thing after starting NetBeans, double-click a variable name to highlight, start typing. I'm using the Python plugin. GUEST: This happens whenever text is selected (variable names, in particular) and I attempt to type over them. stefanocrosta: quotes around a selection GUEST: I'm not sure when this came up, but I'm unable to replace highlighted sections of text by typing. I have to hit backspace first. Also when I hit backspace, instead of deleteing one character it goes back 4 characters. stefanocrosta: add quotes to a text selection (python module is installed, but happens in any editing including html too) GUEST: Changing variable, function, class, method etc.. names. Python plugin. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:694) at org.netbeans.modules.gsf.GsfEditorKitFactory$GsfEditorKit$GsfDefaultKeyTypedAction.replaceSelection(GsfEditorKitFactory.java:299) at org.netbeans.editor.BaseKit$DefaultKeyTypedAction$2.run(BaseKit.java:1160) at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:347) at org.netbeans.editor.BaseKit$DefaultKeyTypedAction.actionPerformed(BaseKit.java:1151) at org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.java:1076)
Created attachment 116643 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=185407
This is fixed in CSL here in Bug #208931 in Html it will be fixed in Bug #209019. You can easily fix it, reassigning to python
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=185407
Created attachment 131943 [details] stacktrace
Created attachment 134773 [details] Apply the same fix described in related bugs The attached patch works for me.
Thanks Tim. I spoke to Petr Jiricka(Dev manager) previously about getting this integrated. I will ask him again and see if we can get the patch added into main-golden. It will be good to get the Python plugin at least functional again and then hopefully we can persuade some people to start working on improving it!
Created attachment 141184 [details] stacktrace open IDE, with a project open
Unable to replicate. This was likely fixed as a result of the GSF-to-CSL conversion. We are diligently working to improve Python support for NetBeans 8.1, and you can test our work in progress. See "How to install new Development build(s) for testing" at http://forums.nbpython.org/viewtopic.php?f=6&t=69