You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ea150ad
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat: support newline-separated hosts and shorthand ranges (#3568)
* feat: support newline-separated hosts and shorthand ranges
Host input (IP Scanner, Port Scanner, Ping Monitor) now accepts
newline-separated entries, so a column pasted from Excel works
directly (one IP/range per line). The existing semicolon-separated
format keeps working.
Shorthand IPv4 ranges like 192.168.0.1-100 (192.168.0.1 to
192.168.0.100) are now supported too, alongside the existing
full-range format 192.168.0.1-192.168.0.100.
- HostRangeHelper.CreateListFromInput: split on ';', CR, LF
- HostRangeHelper.ResolveAsync: expand shorthand ranges
- RegexHelper: add IPv4AddressShortRangeRegex
- MultipleHostsRangeValidator: accept newlines + shorthand ranges
- Docs: document both features
* docs: add changelog entry for newline-separated hosts and shorthand ranges
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: convert multiline clipboard content to semicolon-separated on paste
The WPF TextBox inside an editable ComboBox has AcceptsReturn=false, so pasting
multiline text (e.g. a column from Excel) silently drops everything after the
first line. Add a ComboBoxPasteBehavior attached property that rewrites the
clipboard content to the semicolon-separated form in CommandManager.PreviewExecuted,
before the paste command runs. Applied to the host input of IP Scanner, Port
Scanner and Ping Monitor.
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: convert multiline clipboard content to semicolon-separated on paste in port input
Apply the same paste conversion to the Ports field of the Port Scanner,
so a column of ports pasted from Excel works as well.
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix: guard ComboBoxPasteBehavior clipboard access, document shorthand IPv4 ranges as example input
* Chore: Copilot feedback
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
|`10.0.0.100 - 10.0.0.199`| All IP addresses in a given range (`10.0.0.100`, `10.0.0.101`, ..., `10.0.0.199`) |
28
+
|`10.0.0.100-199`| All IP addresses in a given range, shorthand for the last octet (`10.0.0.100`, ..., `10.0.0.199`) |
28
29
|`10.0.0.0/23`| All IP addresses in a subnet (`10.0.0.0`, ..., `10.0.1.255`) |
29
30
|`10.0.0.0/255.255.254.0`| All IP addresses in a subnet (`10.0.0.0`, ..., `10.0.1.255`) |
30
31
|`10.0.[0-9,20].[1-2]`| Multiple IP addresses like (`10.0.0.1`, `10.0.0.2`, `10.0.1.1`, ...,`10.0.9.2`, `10.0.20.1`) |
@@ -34,9 +35,9 @@ With the **IP Scanner** you can scan for active devices based on the hostname or
34
35
35
36
:::note
36
37
37
-
Multiple inputs can be combined with a semicolon (`;`).
38
+
Multiple inputs can be combined with a semicolon (`;`). A column pasted from Excel (one entry per line) is converted to the semicolon-separated form automatically.
0 commit comments