Josh Megnauth
3f90af8d98
Fix small toggle bug for unsaved changes prompt
...
I also clarified a few comments.
2024-02-27 21:47:25 -07:00
Josh Megnauth
b277699cca
Discard button for unsaved changes prompt
2024-02-27 21:47:25 -07:00
Josh Megnauth
95423d6375
Prompt to save unsaved changes for unfocussed tabs
2024-02-27 21:47:25 -07:00
Josh Megnauth
c259f8368c
Only show "save as" button if needed
...
Save As should only be shown if the file was previously saved. Save
handles Save As if the file hasn't been saved.
2024-02-27 21:47:25 -07:00
Josh Megnauth
5b2f15df37
Add context page for unsaved changes
...
Aesthetics need tuning but it works.
2024-02-27 21:47:25 -07:00
Josh Megnauth
513d5f9884
Plumbing to handle unsaved changes on tab close
...
`TabClose` is now `TabCloseForce`. The latter closes a tab without
checking if contents have been saved.
`TabClose` checks for unsaved changes and (will eventually) prompt the
user to handle this issue.
2024-02-27 21:47:25 -07:00
Jeremy Soller
bc9aa01ae2
Update libcosmic
2024-02-27 10:28:53 -07:00
Jeremy Soller
34c66caac5
Round popup position
2024-02-27 10:03:44 -07:00
Jeremy Soller
bb0c42e92f
Update dependencies
2024-02-27 10:02:01 -07:00
Jeremy Soller
944c75ca8a
Update libcosmic and cosmic-files
2024-02-26 15:21:27 -07:00
Jeremy Soller
e0b7339b35
Move recents to state
2024-02-23 09:55:31 -07:00
Jeremy Soller
e956fd822b
Update dependencies
2024-02-21 09:10:53 -07:00
Jeremy Soller
803ef549d0
Implement highlight current line, fixes #133
2024-02-20 09:45:19 -07:00
Jeremy Soller
22ec51b7e7
Truncate recent items, fix open recent project issues
2024-02-15 15:41:06 -07:00
Jeremy Soller
8614be17f1
Add git management description, fixes #130
2024-02-15 15:27:49 -07:00
Jeremy Soller
38058fb2e6
Use iced FontSystem and fix #122
2024-02-15 15:23:41 -07:00
Jeremy Soller
76c659fb21
Implement Save as, fixes #127
2024-02-15 15:09:32 -07:00
Jeremy Soller
5a8dfa2fcc
Implement open recent project/file, fixes #124 and #125
2024-02-15 13:03:27 -07:00
Jeremy Soller
7890ab5809
Implement word count, fixes #129
2024-02-15 12:30:11 -07:00
Jeremy Soller
375de393d8
Implement close project, fixes #126
2024-02-15 12:21:43 -07:00
Jeremy Soller
83637bbfd2
Remove title from header, fixes #121
2024-02-15 11:59:05 -07:00
Jeremy Soller
4df5c5882a
Integrate cosmic-files dialog
2024-02-13 13:05:49 -07:00
Jeremy Soller
b320c450e3
Patches for redox
2024-02-10 18:52:53 -07:00
Jeremy Soller
ae2d49d711
Do not clone Key
2024-02-08 16:03:13 -07:00
Ashley Wulber
0a5325ba05
chore: update libcosmic
2024-02-05 16:18:36 -05:00
Jeremy Soller
681c9ea92d
Use libcosmic theme for gutter background
2024-02-02 09:40:28 -07:00
Jeremy Soller
f48ec227dd
Use actions for all menu items
2024-02-01 19:50:44 -07:00
Jeremy Soller
b65a402bb5
Format
2024-01-31 15:26:43 -07:00
Jeremy Soller
10da8f36db
Use cosmic theme background when using cosmic syntax theme
2024-01-31 15:26:31 -07:00
Jeremy Soller
aee6b6ad31
Revert "refactor: use libcosmic::dialog and make rfd optional"
...
This reverts commit a1c80efe69 .
2024-01-30 18:53:40 -07:00
Michael Aaron Murphy
7a70472572
feat: tab pagination and variable-button widths
2024-01-26 16:41:40 +01:00
Michael Aaron Murphy
a1c80efe69
refactor: use libcosmic::dialog and make rfd optional
2024-01-23 22:11:48 +01:00
Josh Megnauth
196fe82a08
Merge bindings from main and update keys
2024-01-20 22:39:50 -05:00
Josh Megnauth
e4db4c0dcd
Add shortcut to jump to tabs; ctrl + n
2024-01-20 20:45:49 -05:00
Jeremy Soller
48258645bb
Move default keybinds out of config
2024-01-19 11:26:01 -07:00
Josh Megnauth
37318444d3
Add keyboard shortcuts to cycle tabs
2024-01-19 01:29:12 -05:00
Mark Tomlin
b97eb0603b
Remove lazy_static dep.
2024-01-18 20:52:20 -07:00
Mark Tomlin
677c924323
Code cleanup.
2024-01-16 19:31:48 -07:00
Jeremy Soller
6779e5eadf
Implement FindPrevious on shift+enter
2024-01-11 12:45:23 -07:00
Zongo Tégawendé Achille Caleb
c7329b4dd3
removed duplicate code in save_config on main.rs
2024-01-11 12:00:38 -07:00
Jeremy Soller
55fae767ae
Simple replace all implementation
2024-01-09 13:40:55 -07:00
Jeremy Soller
dd459efe06
Simple replace implementation
2024-01-09 13:37:10 -07:00
Jeremy Soller
133b8ca667
Add tooltips for find buttons
2024-01-09 13:09:18 -07:00
Jeremy Soller
f3a8fef8f8
Implement find and improvements for focus
2024-01-09 12:40:29 -07:00
Mark Tomlin
aecb80eaed
Fixed **many** clippy lints, and one bug.
2023-12-26 10:17:32 -07:00
Jeremy Soller
d289670def
Use COSMIC syntax theme by default, derived from OneHalf
2023-12-22 10:55:49 -07:00
Jeremy Soller
83bf38f899
Update cosmic-text
2023-12-19 12:07:45 -07:00
Jeremy Soller
c97b09a028
Wrap cut in change
2023-12-12 09:54:49 -07:00
Jeremy Soller
0236bfe65a
Wrap paste in change, fixing #72
2023-12-12 09:53:39 -07:00
Jeremy Soller
958b9298f3
Update libcosmic and other dependencies
2023-12-08 09:05:45 -07:00