@@ -20,7 +20,7 @@ LONG DESCRIPTION
20
20
* Bash style completion (optional in Cmd mode, default in Emacs mode)
21
21
* Emacs yank/kill ring
22
22
* PowerShell token based "word" movement and kill
23
-
23
+
24
24
The following functions are available in the class [PSConsoleUtilities.PSConsoleReadLine]:
25
25
26
26
Cursor movement
@@ -88,7 +88,7 @@ LONG DESCRIPTION
88
88
89
89
ShellBackwardWord (Cmd: unbound Emacs: unbound)
90
90
91
- Like BackardWord except word boundaries are defined by PowerShell token boundaries.
91
+ Like BackwardWord except word boundaries are defined by PowerShell token boundaries.
92
92
93
93
GotoBrace (Cmd: <Ctrl+}> Emacs: unbound)
94
94
@@ -285,12 +285,12 @@ LONG DESCRIPTION
285
285
MenuComplete.
286
286
287
287
PossibleCompletions (Cmd: unbound Emacs: <Alt+Equals>)
288
-
288
+
289
289
Display the list of possible completions.
290
290
291
291
SetMark (Cmd: unbound Emacs: <Alt+Space>)
292
292
293
- Mark the current loction of the cursor for use in a subsequent editing command.
293
+ Mark the current location of the cursor for use in a subsequent editing command.
294
294
295
295
ExchangePointAndMark (Cmd: unbound Emacs: <Ctrl+X,Ctrl+X>)
296
296
@@ -365,7 +365,7 @@ LONG DESCRIPTION
365
365
Add the most recently killed text to the input.
366
366
367
367
YankPop (Cmd: unbound Emacs: <Alt+Y>)
368
-
368
+
369
369
If the previous operation was Yank or YankPop, replace the previously yanked
370
370
text with the next killed text from the kill ring.
371
371
@@ -411,7 +411,7 @@ LONG DESCRIPTION
411
411
CharacterSearch (Cmd: <F3> Emacs: <Ctrl+]>)
412
412
413
413
Read a key and search forwards for that character. With an argument, search
414
- forwards for the nth occurance of that argument. With a negative argument,
414
+ forwards for the nth occurrence of that argument. With a negative argument,
415
415
searches backwards.
416
416
417
417
CharacterSearchBackward (Cmd: <Shift+F3> Emacs: <Alt+Ctrl+]>)
@@ -546,7 +546,7 @@ LONG DESCRIPTION
546
546
547
547
void Ding()
548
548
549
- Perform the Ding action based on the users perference .
549
+ Perform the Ding action based on the users preference .
550
550
551
551
void GetBufferState([ref] string input, [ref] int cursor)
552
552
void GetBufferState([ref] Ast ast, [ref] Token[] tokens, [ref] ParseError[] parseErrors, [ref] int cursor)
@@ -577,7 +577,7 @@ LONG DESCRIPTION
577
577
578
578
string ReadLine(runspace remoteRunspace, System.Management.Automation.EngineIntrinsics engineIntrinsics)
579
579
580
- This is the main entrypoint to PSReadline. It does not support recursion, so is not useful
580
+ This is the main entry point to PSReadline. It does not support recursion, so is not useful
581
581
in a custom key binding.
582
582
583
583
void RemoveKeyHandler(string[] key)
@@ -586,7 +586,7 @@ LONG DESCRIPTION
586
586
custom key binding.
587
587
588
588
void Replace(int start, int length, string replacement)
589
-
589
+
590
590
Replace some of the input. This operation supports undo/redo.
591
591
This is preferred over Delete followed by Insert because it is treated as a single action
592
592
for undo.
@@ -609,14 +609,14 @@ LONG DESCRIPTION
609
609
[PSConsoleUtilities.PSConsoleReadLine]::TryGetArgAsInt($arg, [ref]$numericArg, 1)
610
610
611
611
POWERSHELL COMPATIBILITY
612
-
612
+
613
613
PSReadline requires PowerShell version 3 or greater and the console host. It
614
614
will not work in the ISE.
615
615
616
616
FEEDBACK
617
617
618
618
https://github.com/lzybkr/PSReadline
619
-
619
+
620
620
CONTRIBUTING TO PSREADLINE
621
621
622
622
Feel free to submit a pull request or submit feedback on the github page.
0 commit comments