Skip to content

Commit

Permalink
✅Now ctrl + S 5o save changes to a file you are currently editing
Browse files Browse the repository at this point in the history
  • Loading branch information
John4650-hub committed Oct 5, 2023
1 parent 1cd742d commit 3e365ec
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TK }}
with:
tag_name: ${{ github.run_number }}
release_name: ${{ github.event.repository.name }} v5.0.5 #release
release_name: ${{ github.event.repository.name }} v5.0.6 #release

- name: upload Release Apk
id: upload_release_assets
Expand Down
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ def write_file(path,new_content):
pos2 = content_2.find(' #release')
newUpdate = content_2.replace(content_2[pos2-6:pos2],version)
write_file(P2,newUpdate)

write_file(P3,INFO)
4 changes: 1 addition & 3 deletions sample.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
✅ctrl+S to save changes
✅Now app can run in background
✅Prevent abrupt closure of app when using other apps
✅Now ctrl + S 5o save changes to a file you are currently editing
4 changes: 2 additions & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<div class="position-absolute start-0 top-50 translate-middle ms-4"><i class="fa fa-bars text-light fs-2 fw-bolder opacity-100" id="openFs" data-bs-toggle="offcanvas" data-bs-target="#fileSystemCanvas" aria-controls="fileSystemCanvas" type="submit"></i></div>
<div class="position-absolute top-50 start-50 translate-middle me-5 pe-5">
<div class="pe-5 me-5">
<i class="fa fa-clipboard-list fs-2 text-light me-5 " data-bs-toggle="offcanvas" data-bs-target="#recentlyOpened" aria-controls="recentlyOpened" id="recentlyOpenedFilDisplay"></i>

<i class="fa fa-clipboard-list fs-2 text-light me-5 " data-bs-toggle="offcanvas" data-bs-target="#recentlyOpened" aria-controls="recentlyOpened" id="recentlyOpenedFilDisplay"></i>
</div>
</div>
<div class="position-absolute end-0 mx-2" id="settingsPanel" data-bs-toggle="offcanvas" data-bs-target="#settingsCanvas" aria-controls="settingsCanvas"><i class="fa fa-tools text-light fs-5"></i>
Expand Down
16 changes: 14 additions & 2 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,17 @@ pasteTab("#pasteBin")
changeLogTab('#changeLog')
aboutMe('#aboutme')

// recent files

// toggle file offcanvas shortcut
const myFilesOffCanvas = new bootstrap.Offcanvas(document.getElementById('fileSystemCanvas'));
aceEditor.commands.addCommand({
name: 'toggle_side_offCanvas',
bindKey: {
win: 'Ctrl-O',
mac: 'Command-O'
},

exec: function(editor) {
myFilesOffCanvas.toggle()
},
readOnly: true // false if this command should not apply in readOnly mode
});
1 change: 1 addition & 0 deletions www/js/components/tabs/changeLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ let log = [{
`},{version:'v5.0.5',info: `✅ctrl+S to save changes
✅Now app can run in background
✅Prevent abrupt closure of app when using other apps
`},{version:'v5.0.6',info: `✅Now ctrl + S 5o save changes to a file you are currently editing
`}
]

Expand Down

0 comments on commit 3e365ec

Please sign in to comment.