ezieragabriel / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

When external editor option is enabled, no "good" visual cue to read-only state ... fix? #1017

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A community member just tweeted about how he couldn't editor code in the 
Arduino IDE. I knew it was immediately the external editor preference, but he 
had forgot it was enabled. The dimmed code can be misleading if one forgets 
that external editor is enabled ...

Currently the code is read-only when external editor is toggled, but perhaps 
the IDE should display a message some place? Like "read-only mode" text? 

I'm under impression that locking the code in read-only state in the IDE is to 
prevent versioning issues with two potential editors ...  Would it also be 
possible to leave the arduino IDE code area editable ... but detect for 
external changes by another editor and pop up a message confirming to 
overwrite? or inform the user of external changes. 

I guess those are two approaches ...Again, it's a silly problem. I wouldn't 
classify this as a bug, but a reminder feature. ;)

There's a simple fix and a more complex one (I think).

Original issue reported on code.google.com by scottjan...@gmail.com on 27 Aug 2012 at 8:12