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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Linux User Comments: GUEST: trying to delete a character Stacktrace: java.lang.AssertionError at org.netbeans.modules.cnd.lexer.CppStringLexer.nextToken(CppStringLexer.java:310) at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:215) at org.netbeans.lib.lexer.EmbeddedTokenList.initAllTokens(EmbeddedTokenList.java:185) at org.netbeans.lib.lexer.EmbeddingOperation.embeddedTokenList(EmbeddingOperation.java:206) at org.netbeans.api.lexer.TokenSequence.embeddedImpl(TokenSequence.java:372) at org.netbeans.api.lexer.TokenSequence.embedded(TokenSequence.java:320)
Created attachment 145247 [details] stacktrace
regression introduced in bug #209857
Created attachment 154112 [details] stacktrace refactor
Created attachment 163762 [details] stacktrace Copying a rectangular selection from JetBrains Pycharm and then pasting it into some c++ code.
Created attachment 163763 [details] stacktrace trying to delete a rectangular selection.
Created attachment 163766 [details] stacktrace Trying to replace a rectangular selection over 12 lines of a doiuble quote (") with a single quote (').
reproduced: #define R"" Try to replace the first double-quote with single-quote
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4efd4c610ac3 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #241929 - AssertionError at org.netbeans.modules.cnd.lexer.CppStringLexer.nextToken - added unit tests (transplanted from 8ae48057795d42a525de8b9cc104512b6f664a10)
fixed: https://enum.ru.oracle.com/hg/release82/rev/8ae48057795d https://enum.ru.oracle.com/hg/release82/rev/2cd7f001dfb3
Integrated into 'main-silver', will be available in build *201704110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/df819aef67ec User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #241929 - AssertionError at org.netbeans.modules.cnd.lexer.CppStringLexer.nextToken - better error recovery in raw strings (transplanted from 2cd7f001dfb3abf92fcdb9dc0f72ab37d34c2562)
https://netbeans.org/bugzilla/show_bug.cgi?id=241929 Changesets: http://hg.netbeans.org/releases/rev/8ae48057795d # fixing #241929 - AssertionError at org.netbeans.modules.cnd.lexer.CppStringLexer.nextToken http://hg.netbeans.org/releases/rev/2cd7f001dfb3 # fixed #241929 - AssertionError at org.netbeans.modules.cnd.lexer.CppStringLexer.nextToken