Loading files doesn't select whole text anymore
This commit is contained in:
parent
2428b897b4
commit
6fa0b462b3
3 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@ Version 0.0.8 (2017-02-nn)
|
||||||
- Changes to toolbar with extended editor settings
|
- Changes to toolbar with extended editor settings
|
||||||
- Editor settings saved when Save-dialog is shown
|
- Editor settings saved when Save-dialog is shown
|
||||||
- Allow setting file extensions to be shown in browser
|
- Allow setting file extensions to be shown in browser
|
||||||
|
- Loading files doesn't select whole text anymore
|
||||||
|
|
||||||
Version 0.0.7 (2017-02-01)
|
Version 0.0.7 (2017-02-01)
|
||||||
- Inserted elements are selected as visual feedback
|
- Inserted elements are selected as visual feedback
|
||||||
|
|
|
@ -268,6 +268,7 @@ INDEX = Template("""<!DOCTYPE html>
|
||||||
if (n) {
|
if (n) {
|
||||||
$.get("api/file?filename=" + n[0], function( data ) {
|
$.get("api/file?filename=" + n[0], function( data ) {
|
||||||
editor.setValue(data);
|
editor.setValue(data);
|
||||||
|
editor.selection.selectFileStart();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
dev.html
1
dev.html
|
@ -219,6 +219,7 @@
|
||||||
if (n) {
|
if (n) {
|
||||||
$.get("api/file?filename=" + n[0], function( data ) {
|
$.get("api/file?filename=" + n[0], function( data ) {
|
||||||
editor.setValue(data);
|
editor.setValue(data);
|
||||||
|
editor.selection.selectFileStart();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue