{"action":"opened","issue":{"url":"https://api.github.com/repos/buggins/dlangide/issues/21","labels_url":"https://api.github.com/repos/buggins/dlangide/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/buggins/dlangide/issues/21/comments","events_url":"https://api.github.com/repos/buggins/dlangide/issues/21/events","html_url":"https://github.com/buggins/dlangide/issues/21","id":57492515,"number":21,"title":"crash when removing semicolon in tetris example","user":{"login":"Extrawurst","id":776816,"avatar_url":"https://avatars.githubusercontent.com/u/776816?v=3","gravatar_id":"","url":"https://api.github.com/users/Extrawurst","html_url":"https://github.com/Extrawurst","followers_url":"https://api.github.com/users/Extrawurst/followers","following_url":"https://api.github.com/users/Extrawurst/following{/other_user}","gists_url":"https://api.github.com/users/Extrawurst/gists{/gist_id}","starred_url":"https://api.github.com/users/Extrawurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Extrawurst/subscriptions","organizations_url":"https://api.github.com/users/Extrawurst/orgs","repos_url":"https://api.github.com/users/Extrawurst/repos","events_url":"https://api.github.com/users/Extrawurst/events{/privacy}","received_events_url":"https://api.github.com/users/Extrawurst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-12T17:32:49Z","updated_at":"2015-02-12T17:32:49Z","closed_at":null,"body":"\r\nWhen removing the semicolon after the lambda in the tetris example here:\r\n![image](https://cloud.githubusercontent.com/assets/776816/6173064/6a8ba1da-b2e5-11e4-89e0-457b24a101f6.png)\r\n\r\nthis used to work IIRC, now an exception is thrown:\r\n```\r\ncore.exception.RangeError@src\\ddc\\lexer\\tokenizer.d(1798): Range violation\r\n----------------\r\n0x005025A8 in _d_arraybounds\r\n0x0044A0AC in ddc.lexer.tokenizer.Token ddc.lexer.tokenizer.Tokenizer.processIdent() at E:\\_docs\\_github\\mydlangide\\src\\ddc\\lexer\\tokenizer.d(1798)\r\n0x0044C545 in ddc.lexer.tokenizer.Token ddc.lexer.tokenizer.Tokenizer.nextToken() at E:\\_docs\\_github\\mydlangide\\src\\ddc\\lexer\\tokenizer.d(2734)\r\n0x0046CDD7 in void dlangide.ui.dsourceedit.SimpleDSyntaxHighlighter.updateHighlight(immutable(dchar)[][], ubyte[][], int, int) at E:\\_docs\\_github\\mydlangide\\src\\dlangide\\ui\\dsourceedit.d(635)\r\n0x004A63C6 in void dlangui.core.editable.EditableContent.updateTokenProps(int, int) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\core\\editable.d(677)\r\n0x004A7488 in void dlangui.core.editable.EditableContent.handleContentChange(dlangui.core.editable.EditOperation, ref dlangui.core.editable.TextRange, ref dlangui.core.editable.TextRange, Object) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\core\\editable.d(909)\r\n0x004A8865 in bool dlangui.core.editable.EditableContent.performOperation(dlangui.core.editable.EditOperation, Object) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\core\\editable.d(1221)\r\n0x00479CAE in bool dlangui.widgets.editors.EditWidgetBase.removeRangeText(dlangui.core.editable.TextRange) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\widgets\\editors.d(908)\r\n0x0047A62C in bool dlangui.widgets.editors.EditWidgetBase.handleAction(const(dlangui.core.events.Action)) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\widgets\\editors.d(1067)\r\n0x0049DB6C in bool dlangui.widgets.editors.EditBox.handleAction(const(dlangui.core.events.Action)) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\widgets\\editors.d(2091)\r\n0x0046AD5C in bool dlangide.ui.dsourceedit.DSourceEdit.handleAction(const(dlangui.core.events.Action)) at E:\\_docs\\_github\\mydlangide\\src\\dlangide\\ui\\dsourceedit.d(87)\r\n0x004D63BD in bool dlangui.platforms.common.platform.Window.dispatchAction(const(dlangui.core.events.Action), dlangui.widgets.widget.Widget) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\common\\platform.d(672)\r\n0x00487AC4 in bool dlangui.widgets.widget.Widget.dispatchAction(const(dlangui.core.events.Action)) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\widgets\\widget.d(1002)\r\n0x00487DA9 in bool dlangui.widgets.widget.Widget.onKeyEvent(dlangui.core.events.KeyEvent) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\widgets\\widget.d(1053)\r\n0x0047B91A in bool dlangui.widgets.editors.EditWidgetBase.onKeyEvent(dlangui.core.events.KeyEvent) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\widgets\\editors.d(1366)\r\n0x004D5CFB in bool dlangui.platforms.common.platform.Window.dispatchKeyEvent(dlangui.core.events.KeyEvent) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\common\\platform.d(535)\r\n0x004D9E67 in bool dlangui.platforms.windows.winapp.Win32Window.onKey(dlangui.core.events.KeyAction, uint, int, dchar, bool) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\windows\\winapp.d(688)\r\n0x004DBDFE in WndProc at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\windows\\winapp.d(1115)\r\n0x7566791C in CallNextHookEx\r\n0x75667B7A in CallNextHookEx\r\n0x756697F4 in GetMessageW\r\n0x75669859 in DispatchMessageW\r\n0x004C42E9 in int dlangui.platforms.windows.winapp.Win32Platform.enterMessageLoop() at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\windows\\winapp.d(743)\r\n0x00451DC7 in UIAppMain at E:\\_docs\\_github\\mydlangide\\src\\dlangide.d(62)\r\n0x004A05E6 in int dlangui.platforms.windows.winapp.myWinMain(void*, void*, char*, int) at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\windows\\winapp.d(1013)\r\n0x004764B8 in DLANGUIWinMain at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\windows\\winapp.d(856)\r\n0x00451C9E in WinMain at C:\\Users\\Stephan\\AppData\\Roaming\\dub\\packages\\dlangui-master\\src\\dlangui\\platforms\\common\\platform.d(1311)\r\n0x005478C2 in WinMainCRTStartup\r\n0x751F919F in BaseThreadInitThunk\r\n0x771C0BBB in RtlInitializeExceptionChain\r\n0x771C0B91 in RtlInitializeExceptionChain\r\n```"}}