silnrsi / graide

GRaphite Integrate Development Environment
GNU Lesser General Public License v2.1
13 stars 2 forks source link

changed files not always detected #1

Open bobh0303 opened 7 years ago

bobh0303 commented 7 years ago

There are cases where graide fails to noticed changed source files (and ask if I want the changed file reloaded).

Steps to reproduce:

  1. In graide, click on the classes tab
  2. double-click a classname to open the relevant sourcefile
  3. using an external editor (i.e., not graide itself), edit and save that sourcefile

(At this point, when focus comes back to graide, one could argue that the file-change test should happen. but that is a different bug ;-))

  1. double-click another classname defined by that sourcefile.

Results: source window is scrolled but graide fails to notice the file has changed and displays old content instead of offering to reload.

Workaround: click in the file window and graide will offer to reload.

Note: One might be tempted to dismiss this bug because one needn't use an external editor. But the use-case I actually had was an auto-generated file (from make_gdl) that was rewritten by clicking the build icon in graide.

sharoncorrell commented 7 years ago

Fixed. It will now update modified files whenever compilation happens. It won't, however, just by clicking on a class in the Classes tab or a glyph in the Glyph tab. This allows you to access old source-code current in force in the current build.