Skip to content

Commit 67a01dc

Browse files
authored
Merge pull request #142 from FRACerqueira/v5.0.0
The Prompt Plus Exception class has been sealed. Documentation corrected.
2 parents 0c5eb04 + d6f7964 commit 67a01dc

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/api/assemblies/PromptPlusLibrary/IConsole.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public interface IConsole : IProfileDrive
2020
| [CursorLeft](IConsole/CursorLeft.md) { get; } | Gets the column (left) position of the cursor within the buffer. |
2121
| [CursorTop](IConsole/CursorTop.md) { get; } | Gets the row (top) position of the cursor within the buffer. |
2222
| [CursorVisible](IConsole/CursorVisible.md) { getset; } | Gets or sets a value indicating whether the cursor is visible. |
23-
| [EnabledExclusiveContext](IConsole/EnabledExclusiveContext.md) { getset; } | Gets a value indicating Enabled Exclusive ontext for controls/wdgets and commands console. Default value is `false`. |
23+
| [EnabledExclusiveContext](IConsole/EnabledExclusiveContext.md) { getset; } | Gets a value indicating Enabled Exclusive context for controls/wdgets and commands console. Default value is `false`. |
2424
| [Error](IConsole/Error.md) { get; } | Gets the standard error writer. |
2525
| [ForegroundColor](IConsole/ForegroundColor.md) { getset; } | Gets or sets the current foreground [`Color`](./Color.md). |
2626
| [In](IConsole/In.md) { get; } | Gets the standard input reader. |

docs/api/assemblies/PromptPlusLibrary/IConsole/EnabledExclusiveContext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</br>
55

66

7-
#### Gets a value indicating Enabled Exclusive ontext for controls/wdgets and commands console. Default value is `false`.
7+
#### Gets a value indicating Enabled Exclusive context for controls/wdgets and commands console. Default value is `false`.
88

99
```csharp
1010
public bool EnabledExclusiveContext { get; set; }

docs/whatsnewcontrols.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ All controls that use the history feature always have the EnabledHistory(string
153153

154154
All console commands are in: **Prompt Plus.Console**.\<command/Properties\>. The commands are the same as those provided by the Console class with possible additional returns and/or extra functionality.
155155

156-
A separation was made in the writing methods for common texts (default console behavior): **Write/WriteLine** and texts with syntax for text colors: **WriteColor/WriteLineColor**.
157-
158156
**Properties** (All setters use Exclusive Context blocking the main thread during their execution)
159157

158+
- EnabledExclusiveContext
159+
- Gets/Sets a value indicating Enabled Exclusive context for controls/wdgets and commands console. Default value is false.
160160
- UserPressKeyAborted
161161
- Gets a value indicating whether the operation was aborted by the user (Ctrl+C / Ctrl+Break) when CancelKeyPress is used.
162162
- BehaviorAfterCancelKeyPress

src/Core/PromptPlusException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace PromptPlusLibrary.Core
1010
/// <summary>
1111
/// Represents an exception thrown by PromptPlus for Press Ctrl+C or Ctrl+Break
1212
/// </summary>
13-
internal class PromptPlusException : Exception
13+
internal sealed class PromptPlusException : Exception
1414
{
1515
/// <summary>
1616
/// Initializes a new instance of the PromptPlusException class.

src/PublicLibrary/IConsole.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public interface IConsole : IProfileDrive
9292
AfterCancelKeyPress BehaviorAfterCancelKeyPress { get; }
9393

9494
/// <summary>
95-
/// Gets a value indicating Enabled Exclusive ontext for controls/wdgets and commands console. Default value is <c>false</c>.
95+
/// Gets a value indicating Enabled Exclusive context for controls/wdgets and commands console. Default value is <c>false</c>.
9696
/// </summary>
9797
bool EnabledExclusiveContext { get; set; }
9898

0 commit comments

Comments
 (0)