Closed fourls closed 5 months ago
I recall this being an issue in 11.3 when Embt introduced the advanced editor ToolsAPI interfaces. It happens deep inside the editor kernel and what I've gathered from debugging a similar issue for my own plugins where I'm tapping into the editor, the editor kernel loses focus of where it is, in its internal representation of the editor content.
Glad to hear confirmation that it isn't just a DelphiLint issue - it's really very frustrating since it's an exception that can't be caught. I assume you haven't found any workarounds, @code-kungfu?
I think this may be fixed in 1.1.0 by #32. I'll close this in a week or so if I hear no new reports.
Prerequisites
DelphiLint version
0.7.0
SonarDelphi version
1.3.0
SonarQube version
No response
Issue description
After extended use, the IDE sometimes gets into a state that causes access violations when scrolling, hovering, or otherwise interacting with the central code editor.
This has been a longstanding issue and appears to be an IDE bug - it is caused by an access violation in the line tracker, which DelphiLint only provides with value types.
Examples
Stack trace
Steps to reproduce
Unclear. Anecdotally, it does seem to require
Minimal Delphi code exhibiting the issue
No response