Hi,
Lazarus IDE is already very generous with errors in code - yet still allows syntax highlighting or jumping around inside the code. Can Lazarus IDE be improved just a little bit more with Include file handling. The tiOPF project (and some of my projects) use include files for the Compiler Mode and enabling AnsiString support. If I browse such a file, not via a Lazarus Package or not via the Project that owns that unit, then Lazarus IDE can't find the include file - this is generally ok. Unfortunately this then causes code navigation to fail as well. eg: Ctrl+Shift+(up|down) stops working. By simply commenting the Include line like shown below allows Lazarus IDE to navigate the code again.
Can Lazarus IDE be made to be more lenient when it comes to Include files outside the Interface and Implementation sections? Actually just ignoring Include files errors when the {$I xxx} is before the Implementation section would also work (I think). At least just so the code navigation works.
-------------------------------
unit tiObjects;-{$I tiDefines.inc}
+{.$I tiDefines.inc}
interface
uses
....
----------------------
