You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a CodeLite plugin called havGSD. This plugin provides a built-in task list directly within CodeLite, making it easier to track TODOs and other notes in C++ projects. While CodeLite allows searching for keywords in code comments via the Find in Files dialog, I wanted a more integrated solution that doesn't rely on search.
One feature I still want to add is reloading the task list when a file is modified externally (e.g. edited in another text editor outside CodeLite). I expected to use wxEVT_FILE_MODIFIED_EXTERNALLY for this purpose, but the event doesn't fire when I click the "Reload" button in the prompt to reload the file.
Expected Behavior
The wxEVT_FILE_MODIFIED_EXTERNALLY event should trigger when a file is modified externally, allowing my plugin to update accordingly.
Observed Behavior
The event doesn't appear to fire when I confirm that I want to reload the file in CodeLite after an external modification.
Steps to Reproduce
I'm not certain under what exact conditions wxEVT_FILE_MODIFIED_EXTERNALLY is supposed to fire, but here's what I have tried:
Opened a file in CodeLite.
Modified the same file using an external text editor.
Switched back to CodeLite, which prompts to reload the file.
Clicked "Reload" in the prompt.
The wxEVT_FILE_MODIFIED_EXTERNALLY event didn't fire (or at least didn't trigger my handler).
Questions
Am I using the correct event for detecting external file modifications?
Under what conditions is wxEVT_FILE_MODIFIED_EXTERNALLY expected to fire?
Could this be a bug, or is there another recommended approach?
Any insights or guidance would be appreciated.
The text was updated successfully, but these errors were encountered:
Description
I'm developing a CodeLite plugin called havGSD. This plugin provides a built-in task list directly within CodeLite, making it easier to track TODOs and other notes in C++ projects. While CodeLite allows searching for keywords in code comments via the Find in Files dialog, I wanted a more integrated solution that doesn't rely on search.
One feature I still want to add is reloading the task list when a file is modified externally (e.g. edited in another text editor outside CodeLite). I expected to use
wxEVT_FILE_MODIFIED_EXTERNALLY
for this purpose, but the event doesn't fire when I click the "Reload" button in the prompt to reload the file.Expected Behavior
The
wxEVT_FILE_MODIFIED_EXTERNALLY
event should trigger when a file is modified externally, allowing my plugin to update accordingly.Observed Behavior
The event doesn't appear to fire when I confirm that I want to reload the file in CodeLite after an external modification.
Steps to Reproduce
I'm not certain under what exact conditions
wxEVT_FILE_MODIFIED_EXTERNALLY
is supposed to fire, but here's what I have tried:wxEVT_FILE_MODIFIED_EXTERNALLY
event didn't fire (or at least didn't trigger my handler).Questions
wxEVT_FILE_MODIFIED_EXTERNALLY
expected to fire?Any insights or guidance would be appreciated.
The text was updated successfully, but these errors were encountered: