.dc line on the Eeschema canvas is not accepted as simulation command
<!-- --------Before Creating a New Issue-----------
* Limit report to a single issue.
* Search the issue tracker to verify the issue has not already been reported.
* Complete all instructions between `template comment markers <>.
* Keep report contents limited to the necessary information required to fix the issue.
* When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. -->
# Description
`.dc V2 0 3 0.05 V1 -1 0 0.2`
in a text box on the Eeschema canvas is not accepted as simulation command.
Inspect --> Simulator: The Run button is still grayed out.
`.op`
A single .op it is o.k.
```
*.dc V2 0 3 0.05 V1 -1 0 0.2
.op
```
is not o.k, Run button grayed out.
```
.dc V2 0 3 0.05 V1 -1 0 0.2
.op
```
Both are simulated.
Simulation via
Inspect --> Simulator --> SimCommand --> op
is possible.
# Steps to reproduce
<!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. -->
<!-- If this issue is specific to a project, please attach the necessary files to this issue. -->
<!-- Add the steps to reproduce using the numbers below -->
<!-- Add new step numbers before the "KiCad Version" heading. -->
1. Run the project attached
2. Vary the text in the text box
[sim-command-error.7z](/uploads/40a25a1b7ad26ee6418b8e013b01d1aa/sim-command-error.7z)
# KiCad Version
<!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. -->
```
Application: KiCad Schematic Editor x64 on x64
Version: 7.0.0-228-g411c9707ee, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 8 2023 04:14:10
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON
```
issue