fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-06 13:21:19 +08:00
parent 0fe9497552
commit 2f57932000
1238 changed files with 69405 additions and 22511 deletions
@@ -191,7 +191,8 @@ Class Sentence
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a> from a single <a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -222,11 +223,13 @@ Class Sentence
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a> from multiple <a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>s.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Sentence(List&lt;IndexedFileLine&gt; indexedFileLineList)</code></pre>
<pre><code class="lang-csharp hljs">[Obsolete(&quot;Use the (blockText, charSegment, filePath) constructor.&quot;)]
public Sentence(List&lt;IndexedFileLine&gt; indexedFileLineList)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -246,6 +249,45 @@ Class Sentence
<a id="Hi_NcParsers_Sentence__ctor_" data-uid="Hi.NcParsers.Sentence.#ctor*"></a>
<h3 id="Hi_NcParsers_Sentence__ctor_System_String_Hi_Common_FileLines_FileLineCharIndexSegment_System_String_" data-uid="Hi.NcParsers.Sentence.#ctor(System.String,Hi.Common.FileLines.FileLineCharIndexSegment,System.String)">
Sentence(string, FileLineCharIndexSegment, string)
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Sentence(string blockText, FileLineCharIndexSegment charIndexSegment, string filePath = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>blockText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The source text of this block.</p>
</dd>
<dt><code>charIndexSegment</code> <a class="xref" href="Hi.Common.FileLines.FileLineCharIndexSegment.html">FileLineCharIndexSegment</a></dt>
<dd><p>The character-level segment [Begin, End).</p>
</dd>
<dt><code>filePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The file path of the source file.</p>
</dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
@@ -257,7 +299,8 @@ Class Sentence
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>The source text of this block. May contain line breaks for multi-line blocks.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -281,6 +324,70 @@ Class Sentence
<a id="Hi_NcParsers_Sentence_CharIndexSegment_" data-uid="Hi.NcParsers.Sentence.CharIndexSegment*"></a>
<h3 id="Hi_NcParsers_Sentence_CharIndexSegment" data-uid="Hi.NcParsers.Sentence.CharIndexSegment">
CharIndexSegment
</h3>
<div class="markdown level1 summary"><p>Character-level segment within the source file(s). [Begin, End).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public FileLineCharIndexSegment CharIndexSegment { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Common.FileLines.FileLineCharIndexSegment.html">FileLineCharIndexSegment</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Sentence_FilePath_" data-uid="Hi.NcParsers.Sentence.FilePath*"></a>
<h3 id="Hi_NcParsers_Sentence_FilePath" data-uid="Hi.NcParsers.Sentence.FilePath">
FilePath
</h3>
<div class="markdown level1 summary"><p>File path of the source file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string FilePath { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Sentence_FirstIndexedFileLine_" data-uid="Hi.NcParsers.Sentence.FirstIndexedFileLine*"></a>
<h3 id="Hi_NcParsers_Sentence_FirstIndexedFileLine" data-uid="Hi.NcParsers.Sentence.FirstIndexedFileLine">
@@ -288,7 +395,9 @@ Class Sentence
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Derives a <a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a> from <a class="xref" href="Hi.NcParsers.Sentence.html#Hi_NcParsers_Sentence_CharIndexSegment">CharIndexSegment</a>,
<a class="xref" href="Hi.NcParsers.Sentence.html#Hi_NcParsers_Sentence_FilePath">FilePath</a>, and <a class="xref" href="Hi.NcParsers.Sentence.html#Hi_NcParsers_Sentence_BlockText">BlockText</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -312,68 +421,6 @@ Class Sentence
<a id="Hi_NcParsers_Sentence_IndexedFileLine_" data-uid="Hi.NcParsers.Sentence.IndexedFileLine*"></a>
<h3 id="Hi_NcParsers_Sentence_IndexedFileLine" data-uid="Hi.NcParsers.Sentence.IndexedFileLine">
IndexedFileLine
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IndexedFileLine IndexedFileLine { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Sentence_IndexedFileLineList_" data-uid="Hi.NcParsers.Sentence.IndexedFileLineList*"></a>
<h3 id="Hi_NcParsers_Sentence_IndexedFileLineList" data-uid="Hi.NcParsers.Sentence.IndexedFileLineList">
IndexedFileLineList
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;IndexedFileLine&gt; IndexedFileLineList { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>