Snowy
e266ca6f67
Fix BackwardKillLine length calculation for multiline input ( #5102 )
2026-03-11 13:23:22 -07:00
Dongbo Wang
61f598d8a7
Update SelectCommandArgument to properly handle POSIX style options for CLI commands ( #4016 )
2024-05-14 13:34:37 -07:00
Dongbo Wang
6ed95a23d5
Add the SelectCommandArgument bind-able function ( #2222 )
2021-02-17 15:25:27 -08:00
Maxime Labelle
47fb95728c
Make d0 to delete to the start of the current logical line in a multiline buffer in VI mode ( #2002 )
2021-02-09 21:45:37 -08:00
Dongbo Wang
fd1265e385
Add the prediction ListView and also hook up with the CommandPrediction APIs introduced in PS 7.1 ( #1909 )
2020-11-03 14:17:37 -08:00
Jason Shirk
b2c04745e0
Don't add immediate duplicates to history
...
Also add a public api to access PSReadLine history (helpful in testing
this change.
Fix #562 #533
2017-11-26 17:51:46 -08:00
Jason Shirk
9094f1246b
Generate parts of the about topic
...
To keep the about topic up to date, the function descriptions and key
binding information is now generated after a build.
2017-11-24 22:11:13 -08:00
Jason Shirk
447fc566cf
Replace TAB with 4 spaces when pasting
...
Fix #144
2017-11-11 23:16:00 -08:00
Josh Soref
ff80a13550
Spelling comments
...
* spelling: comments in src/Microsoft.PowerShell.PSReadLine
2017-09-02 21:03:11 -07:00
Jason Shirk
62447cef51
Paste from Windows clipboard without WinForms
2017-08-31 23:16:03 -07:00
Jason Shirk
855ed7f78c
Unify internal and visible cursor updates
2017-07-31 18:08:07 -07:00
Jason Shirk
72d1a31002
Use null propagation
2017-07-31 17:33:46 -07:00
Jason Shirk
b4f68efe17
Remove unused local variables
2017-07-31 17:24:21 -07:00
Jason Shirk
4aba251bdb
Remove unused using directives
2017-07-31 16:44:06 -07:00
Jason Shirk
a7c0a907e1
Use null coalescing operator
2017-07-31 16:38:43 -07:00
Jason Shirk
fc55704f83
Inline out variable parameters
2017-07-31 16:24:57 -07:00
andrewcromwell
1cf7a0027e
Fix exception during kill sequence ( #540 )
...
When killing, if the first kill was empty, there was an exception on subsequent kill operations.
2017-06-07 15:47:32 -07:00
Max Kozlov
8f6d6995a1
Added incremental MenuComplete support ( #515 )
...
Also fixed some minor issues:
* ambiguous completions, some quoted, some not and some
* rendering issues in menu complete
2017-05-28 18:58:19 -07:00
Jason Shirk (POWERSHELL)
04c7233b46
Globally suppress 'default args should not be used'
2016-04-27 16:36:50 -07:00
Jason Shirk (POWERSHELL)
9c153bd848
Switch to WinForms for clipboard
...
Some windows skus don't have WPF but do include winforms, so switch to winforms to access the clipboard.
2015-06-18 18:54:13 -07:00
Jason Shirk (POWERSHELL)
94a6ba40c9
Fix/suppress various FxCop errors
2015-06-18 18:24:23 -07:00
Jason Shirk (POWERSHELL)
c986e0eae5
Rename namespace PSConsoleUtilities to Microsoft.PowerShell
2015-06-18 15:32:20 -07:00
Jason Shirk (POWERSHELL)
6408a4c96c
Add copyright header
2015-06-18 15:04:49 -07:00
jason@truewheels.net
63d1aa204f
Fix MTA bug with Cut
2014-09-19 08:34:40 -07:00
Jason Shirk
a697c222f5
Fix tests for recent changes
2014-06-12 19:16:07 -07:00
jason@truewheels.net
30a96d236a
Auto-save history
...
Added options to save history automatically - either at exit or incrementally so that history can be shared across sessions.
Default is current to save incrementally.
Also added an option to not save history - useful for those importing history in their profile.
2014-06-11 09:01:28 -07:00
jason@truewheels.net
900e3057f2
Cleanup some Resharper issues
2014-04-13 11:21:30 -07:00
jason@truewheels.net
88aef7b48b
Add function CopyOrCancelLine
...
Ctrl+C should copy selected text if any is selected. Otherwise
it will cancel editing.
On the off chance somebody prefers the old behavior, CancelLine
is unchanged, but it is no longer bound.
Fixes #87
2014-02-23 23:31:37 -08:00
jason@truewheels.net
768c16417f
Add SelectAll function (Ctrl+A)
...
Fixes #84
2014-02-23 23:08:13 -08:00
Jason Shirk
b8059dbcef
Add missing default arguments
2014-02-14 14:39:29 -08:00
jason@truewheels.net
3956b563c2
Add new functions to select to start/end of line
...
Function SelectBackwardsLine is bound to Shift+Home
Function SelectLine is bound to Shift+End
2014-02-06 08:24:12 -08:00
jason@truewheels.net
33d7829ac9
Add ShellNextWord
...
ShellForwardWord was behaving like *NextWord or *ForwardWord
depending on the edit mode.
Instead, we should have 2 functions so people can bind as they choose
regardless of the edit mode.
2014-02-04 19:18:49 -08:00
jason@truewheels.net
fddd66b81c
YankLastArg/YankNthArg tests and minor fixes
2014-01-25 22:04:04 -08:00
jason@truewheels.net
573b9d9c27
More tests...
2014-01-21 16:55:05 -08:00
jason@truewheels.net
0adc651828
Refactor code to multiple files
2014-01-12 14:11:04 -08:00