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
@@ -223,7 +223,8 @@ Also support single line NC block.</p>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Display name of this segmenter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -282,35 +283,37 @@ Also support single line NC block.</p>
</h2>
<a id="Hi_NcParsers_Segmenters_HeidenhainSegmenter_GetSegment_" data-uid="Hi.NcParsers.Segmenters.HeidenhainSegmenter.GetSegment*"></a>
<a id="Hi_NcParsers_Segmenters_HeidenhainSegmenter_GetSentences_" data-uid="Hi.NcParsers.Segmenters.HeidenhainSegmenter.GetSentences*"></a>
<h3 id="Hi_NcParsers_Segmenters_HeidenhainSegmenter_GetSegment_Hi_Common_Collections_LazyLinkedListNode_Hi_Common_FileLines_IndexedFileLine__Hi_Common_Collections_LazyLinkedListNode_Hi_Common_FileLines_IndexedFileLine___Hi_Common_Collections_LazyLinkedListNode_Hi_Common_FileLines_IndexedFileLine___Hi_NcParsers_NcDiagnosticProgress_" data-uid="Hi.NcParsers.Segmenters.HeidenhainSegmenter.GetSegment(Hi.Common.Collections.LazyLinkedListNode{Hi.Common.FileLines.IndexedFileLine},Hi.Common.Collections.LazyLinkedListNode{Hi.Common.FileLines.IndexedFileLine}@,Hi.Common.Collections.LazyLinkedListNode{Hi.Common.FileLines.IndexedFileLine}@,Hi.NcParsers.NcDiagnosticProgress)">
GetSegment(LazyLinkedListNode&lt;IndexedFileLine&gt;, out LazyLinkedListNode&lt;IndexedFileLine&gt;, out LazyLinkedListNode&lt;IndexedFileLine&gt;, NcDiagnosticProgress)
<h3 id="Hi_NcParsers_Segmenters_HeidenhainSegmenter_GetSentences_Hi_Common_Collections_LazyLinkedList_Hi_Common_FileLines_IndexedFileLine__Hi_NcParsers_NcDiagnosticProgress_" data-uid="Hi.NcParsers.Segmenters.HeidenhainSegmenter.GetSentences(Hi.Common.Collections.LazyLinkedList{Hi.Common.FileLines.IndexedFileLine},Hi.NcParsers.NcDiagnosticProgress)">
GetSentences(LazyLinkedList&lt;IndexedFileLine&gt;, NcDiagnosticProgress)
</h3>
<div class="markdown level1 summary"><p>Get a sentence block according to the <code class="paramref">srcNode</code>.
the <code class="paramref">srcNode</code> can be any node in the nodes from <code class="paramref">beginNode</code> to the exclusive <code class="paramref">endNode</code>.</p>
<div class="markdown level1 summary"><p>Segments the indexed file lines into <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>s.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void GetSegment(LazyLinkedListNode&lt;IndexedFileLine&gt; srcNode, out LazyLinkedListNode&lt;IndexedFileLine&gt; beginNode, out LazyLinkedListNode&lt;IndexedFileLine&gt; endNode, NcDiagnosticProgress ncDiagnosticProgress)</code></pre>
<pre><code class="lang-csharp hljs">public IEnumerable&lt;Sentence&gt; GetSentences(LazyLinkedList&lt;IndexedFileLine&gt; indexedFileLines, NcDiagnosticProgress ncDiagnosticProgress)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>srcNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd></dd>
<dt><code>beginNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd></dd>
<dt><code>endNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd><p>exclusive end node</p>
<dt><code>indexedFileLines</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedList-1.html">LazyLinkedList</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd><p>The lazy linked list of indexed file lines.</p>
</dd>
<dt><code>ncDiagnosticProgress</code> <a class="xref" href="Hi.NcParsers.NcDiagnosticProgress.html">NcDiagnosticProgress</a></dt>
<dd></dd>
<dd><p>Diagnostic progress reporter.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>&gt;</dt>
<dd><p>A sequence of <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>s.</p>
</dd>
</dl>