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: | IllegalArgumentException: bad position: -369 | ||
---|---|---|---|
Product: | web | Reporter: | valour47 |
Component: | HTML Editor | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 218978 |
Attachments: | stacktrace |
Description
valour47
2015-08-05 18:27:51 UTC
Created attachment 155188 [details]
stacktrace
Hi, I cannot reproduce this, it was invoked by html code completion when you code completed something that was already there. I made a small change, so the code is consistent (once it is calculated caretPOsition by getSelectionEnd() and once by getCaretPosition(). If you have reproducible step, it will help me to fix it. http://hg.netbeans.org/web-main/rev/dde10317514e Integrated into 'main-silver', will be available in build *201508070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/dde10317514e User: Milutin Kristofic <mkristofic@netbeans.org> Log: #254159 - IllegalArgumentException: bad position: -369 |