PersitentCaret option unset, if codecompletion fails, due to codetool error
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
If the editor is configured to have a persistent caret, this setting can be lost (lost for the current editor, the environment option will still have the setting).
If identifier completion is triggered by ctrl-space, but fails (is aborted by codetools, due to an error in the preceding source), then the eoPersistentCaret flag is removed form the current SynEdit.
Additional information:
This problem is caused by SynCompletion, SynCompletion temporarily enables the eoPersistentCaret (because focus actually moves to the completion form).
SynCompletion will restore the flag, if the form completion closes.
But if SynCompletion is aborted, the it may restore a value that never was.
Mantis conversion info:
- Mantis ID: 17288
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 27215 (#647bcccd)
- Target version: 1.0.0
- LazTarget: 0.9.30