dail8859 / NotepadNext

A cross-platform, reimplementation of Notepad++
GNU General Public License v3.0
8.66k stars 527 forks source link

Use QFileSystemWatcher for opened Editors #558

Open SimLV opened 1 month ago

SimLV commented 1 month ago

Description

Use QFileSystemWatcher for opened Editors

dail8859 commented 1 month ago

I agree QFileSystemWatcher is a possible solution. I've not tried it myself but I'm curious how to properly handle changes to the file that are expected, such as when the file get's saved by the application. But this is probably one of those things that has to be tested to see how it behaves.