From 022218f7a73a3bfdc71c55d6fc29df2261bdd45e Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Wed, 6 Apr 2016 01:59:38 -0300 Subject: [PATCH] Add current line to navigation history before going to line with error. Saves current line before focusing on the line that has an error indicated in the status area. --- source/ide/ide_methods.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 7622c6c95..e6e922702 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -1212,7 +1212,7 @@ DO IF mCLICK THEN IF mX >= 2 AND mX <= idewx AND mY >= idewy - 3 AND mY <= idewy - 1 THEN IF SCREEN(mY, mX, 1) = 11 + 1 * 16 THEN - IF idefocusline THEN idecx = 1: idecy = idefocusline: ideselect = 0: GOTO specialchar + IF idefocusline THEN idecx = 1: AddQuickNavHistory idecy: idecy = idefocusline: ideselect = 0: GOTO specialchar END IF END IF END IF