Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Build/mkall.targets
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
<ParatextNugetVersion>9.4.0.1-beta</ParatextNugetVersion>
<LcmNugetVersion>11.0.0-beta0121</LcmNugetVersion>
<IcuNugetVersion>70.1.123</IcuNugetVersion>
<HermitCrabNugetVersion>3.6.1</HermitCrabNugetVersion>
<HermitCrabNugetVersion>3.6.6</HermitCrabNugetVersion>
<IPCFrameworkVersion>1.1.1-beta0001</IPCFrameworkVersion>
<!-- bt393 is the master branch build of ExCss for Windows development. Update when appropriate. -->
<ExCssBuildType Condition="'$(OS)'=='Windows_NT'">bt393</ExCssBuildType>
Expand Down
4 changes: 2 additions & 2 deletions Build/nuget-common/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
<package id="SIL.libpalaso.l10ns" version="6.0.0" targetFramework="net461" />
<package id="SIL.Lift" version="15.0.0-beta0117" targetFramework="net462" />
<package id="SIL.Media" version="15.0.0-beta0117" targetFramework="net462" />
<package id="SIL.Machine" version="3.6.1" targetFramework="netstandard2.0" />
<package id="SIL.Machine.Morphology.HermitCrab" version="3.6.1" targetFramework="netstandard2.0" />
<package id="SIL.Machine" version="3.6.6" targetFramework="netstandard2.0" />
<package id="SIL.Machine.Morphology.HermitCrab" version="3.6.6" targetFramework="netstandard2.0" />
<package id="SIL.ParatextShared" version="7.4.0.1" targetFramework="net40" /> <!-- REVIEW (Hasso) 2023.05: do we still integrate with PT 7? -->
<package id="SIL.Scripture" version="15.0.0-beta0117" targetFramework="net461" />
<package id="SIL.TestUtilities" version="15.0.0-beta0117" targetFramework="net461" />
Expand Down
15 changes: 14 additions & 1 deletion Src/LexText/Interlinear/ComplexConcPatternModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,20 @@ public IEnumerable<IParaFragment> Search(IStText text)
IParaFragment lastFragment = null;
var data = new ComplexConcParagraphData(m_featSys, para);
Match<ComplexConcParagraphData, ShapeNode> match = m_matcher.Match(data);
while (match.Success)
if (match.Success && match.Range.Start == null)
{
// We aren't interested in matching the empty string.
IEnumerable<Match<ComplexConcParagraphData, ShapeNode>> allMatches = m_matcher.AllMatches(data);
foreach (var m in allMatches)
{
if (m.Success && m.Range.Start != null)
{
match = m;
break;
}
}
}
while (match.Success && match.Range.Start != null)
{
if (match.Range.Start == match.Range.End
&& ((FeatureSymbol)match.Range.Start.Annotation.FeatureStruct
Expand Down
Loading