{"action":"created","issue":{"url":"https://api.github.com/repos/vsch/idea-multimarkdown/issues/302","repository_url":"https://api.github.com/repos/vsch/idea-multimarkdown","labels_url":"https://api.github.com/repos/vsch/idea-multimarkdown/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/vsch/idea-multimarkdown/issues/302/comments","events_url":"https://api.github.com/repos/vsch/idea-multimarkdown/issues/302/events","html_url":"https://github.com/vsch/idea-multimarkdown/issues/302","id":176950555,"number":302,"title":"IndexOutOfBoundsException: Index out of range: 190","user":{"login":"truckingsim","id":992973,"avatar_url":"https://avatars.githubusercontent.com/u/992973?v=3","gravatar_id":"","url":"https://api.github.com/users/truckingsim","html_url":"https://github.com/truckingsim","followers_url":"https://api.github.com/users/truckingsim/followers","following_url":"https://api.github.com/users/truckingsim/following{/other_user}","gists_url":"https://api.github.com/users/truckingsim/gists{/gist_id}","starred_url":"https://api.github.com/users/truckingsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truckingsim/subscriptions","organizations_url":"https://api.github.com/users/truckingsim/orgs","repos_url":"https://api.github.com/users/truckingsim/repos","events_url":"https://api.github.com/users/truckingsim/events{/privacy}","received_events_url":"https://api.github.com/users/truckingsim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vsch/idea-multimarkdown/labels/fixed%20for%20next%20release","name":"fixed for next release","color":"9173e6"},{"url":"https://api.github.com/repos/vsch/idea-multimarkdown/labels/%E2%98%B9%20bug","name":"☹ bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-14T16:09:49Z","updated_at":"2016-09-15T18:58:11Z","closed_at":null,"body":"I'm on version 2.1.0 got this right after typing a header and right before selecting text at the end of a file.    Not sure which one caused it. \r\n\r\nHere's the stacktrace:\r\n\r\n```\r\nIndex out of range: 190\r\njava.lang.IndexOutOfBoundsException: Index out of range: 190\r\n\tat com.intellij.util.text.ImmutableText.charAt(ImmutableText.java:270)\r\n\tat com.intellij.openapi.editor.impl.DocumentImpl$1.charAt(DocumentImpl.java:100)\r\n\tat com.vladsch.smart.SmartCharSequenceWrapper.get(SmartCharSequenceWrapper.kt:74)\r\n\tat com.vladsch.smart.SmartCharSequenceBase.charAt(SmartCharSequenceBase.kt:26)\r\n\tat com.vladsch.smart.SmartSegmentedCharSequence.charAtImpl(SmartSegmentedCharSequence.kt:100)\r\n\tat com.vladsch.smart.SmartSegmentedCharSequence.charAtImpl$SmartData(SmartSegmentedCharSequence.kt:26)\r\n\tat com.vladsch.smart.SmartCharSequenceBase.get(SmartCharSequenceBase.kt:68)\r\n\tat com.vladsch.smart.SmartSegmentedCharSequence.get(SmartSegmentedCharSequence.kt:26)\r\n\tat com.vladsch.smart.SmartCharSequenceBase.charAt(SmartCharSequenceBase.kt:26)\r\n\tat com.vladsch.smart.EditableCharSequence.get(EditableCharSequence.kt:46)\r\n\tat com.vladsch.smart.EditableCharSequence.charAt(EditableCharSequence.kt:26)\r\n\tat com.vladsch.idea.multimarkdown.util.format.MarkdownFormatter$Companion.formatAtxHeader(MarkdownFormatter.kt:1017)\r\n\tat com.vladsch.idea.multimarkdown.editor.actions.handlers.AtxHeaderContext.adjustTrailingMarkers(AtxHeaderContext.kt:32)\r\n\tat com.vladsch.idea.multimarkdown.editor.actions.handlers.BackspaceHandler.charDeleted(BackspaceHandler.kt:189)\r\n\tat com.intellij.codeInsight.editorActions.BackspaceHandler.handleBackspace(BackspaceHandler.java:109)\r\n\tat com.intellij.codeInsight.editorActions.BackspaceHandler.executeWriteAction(BackspaceHandler.java:61)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:57)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:898)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.doExecute(EditorWriteActionHandler.java:70)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler$3$1.perform(EditorActionHandler.java:206)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler.access$000(EditorActionHandler.java:38)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler$3.perform(EditorActionHandler.java:203)\r\n\tat com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:348)\r\n\tat com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:437)\r\n\tat com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:340)\r\n\tat com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:331)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:200)\r\n\tat com.intellij.codeInsight.lookup.impl.BackspaceHandler.doExecute(BackspaceHandler.java:38)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:217)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:214)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:100)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:109)\r\n\tat com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:88)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:213)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:634)\r\n\tat com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:477)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:607)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n```\r\n\r\nEverything seems to still be working after that error.  Love the plugin thanks for everything you do!"},"comment":{"url":"https://api.github.com/repos/vsch/idea-multimarkdown/issues/comments/247419542","html_url":"https://github.com/vsch/idea-multimarkdown/issues/302#issuecomment-247419542","issue_url":"https://api.github.com/repos/vsch/idea-multimarkdown/issues/302","id":247419542,"user":{"login":"truckingsim","id":992973,"avatar_url":"https://avatars.githubusercontent.com/u/992973?v=3","gravatar_id":"","url":"https://api.github.com/users/truckingsim","html_url":"https://github.com/truckingsim","followers_url":"https://api.github.com/users/truckingsim/followers","following_url":"https://api.github.com/users/truckingsim/following{/other_user}","gists_url":"https://api.github.com/users/truckingsim/gists{/gist_id}","starred_url":"https://api.github.com/users/truckingsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truckingsim/subscriptions","organizations_url":"https://api.github.com/users/truckingsim/orgs","repos_url":"https://api.github.com/users/truckingsim/repos","events_url":"https://api.github.com/users/truckingsim/events{/privacy}","received_events_url":"https://api.github.com/users/truckingsim/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T18:58:10Z","updated_at":"2016-09-15T18:58:10Z","body":"@vsch that makes a lot of sense and falls inline with what I was doing when the error's happened.  Thanks for the quick find!"}}
{"actor":{"display_login":"truckingsim"}}