mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
Enabled logging for autosave, Updated ReadMe
This commit is contained in:
parent
37dcaece9a
commit
f570988814
@ -9,11 +9,13 @@ Distributed under the MIT-Style License. See LICENSE.txt file for more informati
|
|||||||
Repositories:
|
Repositories:
|
||||||
|
|
||||||
[GitLab](https://gitlab.com/xevidos/codiad)
|
[GitLab](https://gitlab.com/xevidos/codiad)
|
||||||
|
|
||||||
[GitHub](https://github.com/xevidos/codiad)
|
[GitHub](https://github.com/xevidos/codiad)
|
||||||
|
|
||||||
Issues:
|
Issues:
|
||||||
|
|
||||||
[GitLab](https://gitlab.com/xevidos/codiad/issues)
|
[GitLab](https://gitlab.com/xevidos/codiad/issues)
|
||||||
|
|
||||||
[GitHub](https://github.com/xevidos/codiad/issues)
|
[GitHub](https://github.com/xevidos/codiad/issues)
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
@ -72,6 +74,7 @@ Completed:
|
|||||||
|
|
||||||
Known Bugs:
|
Known Bugs:
|
||||||
|
|
||||||
* Auto save does not save the most recent changes every once in a while requiring more information to be typed ( E.G. A couple spaces ) in order to show up in saved file.
|
* Auto save does not save the most recent changes every once in a while requiring more information to be typed ( E.G. A couple spaces ) in order to show up in saved file
|
||||||
* Cursor is set to the wrong position if in split view.
|
* Cursor is set to the wrong position if in split view
|
||||||
* On certain enviroments the update script pulls the old version of the sql class causing the update to fail.
|
* In certain enviroments the update script pulls the old version of the sql class causing the update to fail
|
||||||
|
* The Server has new version of file alert causes auto save to stop when the user presses okay
|
@ -44,7 +44,7 @@
|
|||||||
autosave: true,
|
autosave: true,
|
||||||
toggle: true,
|
toggle: true,
|
||||||
},
|
},
|
||||||
verbose: false,
|
verbose: true,
|
||||||
|
|
||||||
init: async function() {
|
init: async function() {
|
||||||
|
|
||||||
@ -110,6 +110,10 @@
|
|||||||
* try to close it, the program will throw an exception and
|
* try to close it, the program will throw an exception and
|
||||||
* stop you from closing the file
|
* stop you from closing the file
|
||||||
*/
|
*/
|
||||||
|
if( codiad.auto_save.verbose ) {
|
||||||
|
|
||||||
|
console.log( "Error removing event listener", e );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -251,7 +255,13 @@
|
|||||||
|
|
||||||
window.clearInterval( codiad.autosave.auto_save_trigger );
|
window.clearInterval( codiad.autosave.auto_save_trigger );
|
||||||
window.clearInterval( this.auto_save_trigger );
|
window.clearInterval( this.auto_save_trigger );
|
||||||
} catch( error ) {}
|
} catch( error ) {
|
||||||
|
|
||||||
|
if( codiad.auto_save.verbose ) {
|
||||||
|
|
||||||
|
console.log( "Error clearing interval", error );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if( codiad.auto_save.settings.autosave == true || codiad.auto_save.settings.autosave == "true" ) {
|
if( codiad.auto_save.settings.autosave == true || codiad.auto_save.settings.autosave == "true" ) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user