Bug fixes

Fix string out-of-bound bug causing Liteide to crash when autocompleting package function.
Fix lint plugin not removing old navigatemarks.
Fix shortcut keys when compiled with Qt5 inserting characters to the editor.