aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/increment/date_time.rs
Commit message (Collapse)AuthorAge
* Use non-deprecated chrono Duration functionsMichael Davis2024-03-14
|
* Separate jump behavior from increment/decrement (#4123)greg-enbala2023-01-16
| | | | | | | | | | | | | | increment/decrement (C-a/C-x) had some buggy behavior where selections could be offset incorrectly or the editor could panic with some edits that changed the number of characters in a number or date. These stemmed from the automatic jumping behavior which attempted to find the next date or integer to increment. The jumping behavior also complicated the code quite a bit and made the behavior somewhat difficult to predict when using many cursors. This change removes the automatic jumping behavior and only increments or decrements when the full text in a range of a selection is a number or date. This simplifies the code and fixes the panics and buggy behaviors from changing the number of characters.
* Fix deprecation warnings for chrono 0.4.23 (#4738)dxtr852022-11-15
| | | Co-authored-by: dxtr <dxtr@W540.mito>
* Resolve clippy lints (#3307)Omnikar2022-08-04
|
* Replace tendril with smartstringBlaž Hrastnik2022-02-10
| | | | Slightly smaller API surface, less dependencies.
* Update to rust 1.58, fix a bunch of optional lintsBlaž Hrastnik2022-01-16
|
* Remove `Clone` deriveJason Rodney Hansen2021-12-05
|
* Remove `FormatError`Jason Rodney Hansen2021-12-05
|
* Used checked_add for years and monthsJason Rodney Hansen2021-12-05
|
* CleanupJason Rodney Hansen2021-12-05
|
* No need to clone formatJason Rodney Hansen2021-12-05
|
* Add support for time and more date formatsJason Rodney Hansen2021-12-05