The crash was caused by attempting to access the option in the document and project without checking whether they contained it and rescuing the wrong exception if they didn't
Also correctly recognize case expression
…? work before the process is created
Also, IRB::PromptMatcher#match returns a IRB::IrbLine rather than an array for a successful match
The input line was sent to irb in response to the KDE::ComboBox#activated signal, which is also emitted when the user chooses an entry from the popup list. This shouldn't happen as the user may want to change the line. To avoid the issue, now the KDE::ComboBox#returnPressed(QString) signal is used
The input widget is disabled while the input is evaluated by irb and re-enabled after it finishes. This process makes the input widget loose focus. Now this is avoided
The regexp used previously only checked for the string "expecting :keyword_end". However, this string is also produced in cases when the error is not truly caused by a missing end. To avoid the problem now the code only recognize the error message "unexpected $end, expected :keyword_end"
… two widgets This means that the general/tool_open_files setting is ignored if the curent tab contains more than one editor