This patch fixes the problem which diagnostics keeps on showing even when cursor position exceeds diagnosed area in get_diagnostic. It fixes the condition clause in get_diagnostic to correctly determine the cursor position to show.
This is a followup fix from Issue #1270.
This patch fixes the problem which diagnostics keeps on showing even when cursor position exceeds diagnosed area in get_diagnostic. It fixes the condition clause in get_diagnostic to correctly determine the cursor position to show. This is a followup fix from Issue #1270.