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 201607270002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Linux User Comments: badpenguin: deleting a block of markdown text GUEST: working on a markdown file. Cannot edit/remove text but i can add text. jekyll working in background in 'watch' mode GUEST: ? GUEST: I don't know why this exception, nothing happened in the IDE. My system Windows 7 x64 What I have done: - opened a console (NO admin privil) in a folder - in console ran '"%ProgramFile%\NetBeans 8.0.2\bin\netbeans64.exe" --open ReadMe.md' to edit it (markdown file, I installed markdown plug-in in NetBeans). I have the option '-J-Dfile.encoding=UTF-8' in netbeans.conf to always open files in UTF-8 encoding. - Netbeans notified me that cannot be able to properely convert it to UTF-8 (the files was ANSI CP850 encoded), no matter, I opened it with Notepad++ while already open in NetBeans, converted it to UTF-8 and saved, closed Notepad++. N.B. running NetBeans in console with option '--help' only few options are described, perhaps the one used for Java VM. Please show all available options or explain them in documentation, many thanks. hava a good day GUEST: This happens when editing .md file. The Markdown plugin is installed. Text can not be entered in the file GUEST: Using the jvi plugin, I pressed i to insert then attempted to type ## in a markdown file Stacktrace: java.lang.IndexOutOfBoundsException: tokenLength=56 > 55. Fix the lexer implementation to use proper token length value. at org.netbeans.lib.lexer.LexerInputOperation.assignTokenLength(LexerInputOperation.java:402) at org.netbeans.lib.lexer.LexerInputOperation.createToken(LexerInputOperation.java:315) at org.netbeans.spi.lexer.TokenFactory.createToken(TokenFactory.java:105) at flow.netbeans.markdown.highlighter.MarkdownLexer.nextToken(MarkdownLexer.java:56) at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:215) at org.netbeans.lib.lexer.inc.TokenListUpdater.relex(TokenListUpdater.java:627)
Created attachment 161575 [details] stacktrace