Skip to content

Commit 2aeb35f

Browse files
committed
Bug fix
1 parent c79b02b commit 2aeb35f

4 files changed

Lines changed: 21 additions & 5 deletions

File tree

BellColorTextBox.Net/BellColorTextBox.ImGuiNet/BellColorTextBox.ImGuiNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>enable</Nullable>
77
<RootNamespace>Bell</RootNamespace>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<Version>0.1.3</Version>
9+
<Version>0.1.4</Version>
1010
<Authors>kjs104901</Authors>
1111
<Company>kjs104901</Company>
1212
<Description>BellColorTextBox backend</Description>

BellColorTextBox.Net/BellColorTextBox.Net/BellColorTextBox.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageProjectUrl></PackageProjectUrl>
99
<PackageReadmeFile>README.md</PackageReadmeFile>
1010
<RepositoryUrl>https://github.com/kjs104901/BellColorTextBox</RepositoryUrl>
11-
<Version>0.1.3</Version>
11+
<Version>0.1.4</Version>
1212
<Company>kjs104901</Company>
1313
<Authors>kjs104901</Authors>
1414
<Description>Abstracted text box library</Description>

BellColorTextBox.Net/BellColorTextBox.Net/TextBox.cs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,24 @@ public string Text
9494
RowManager.SetRowCacheDirty();
9595
}
9696
}
97-
98-
public int SearchCount => SearchManager.SearchCount;
99-
public int SearchIndex => SearchManager.SearchIndex;
97+
98+
public int SearchCount
99+
{
100+
get
101+
{
102+
Ins = this;
103+
return SearchManager.SearchCount;
104+
}
105+
}
106+
107+
public int SearchIndex
108+
{
109+
get
110+
{
111+
Ins = this;
112+
return SearchManager.SearchIndex;
113+
}
114+
}
100115

101116
public string GetDebugString()
102117
{

BellColorTextBox.Net/BellColorTextBox.Net/TextBox_Options.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public WrapMode WrapMode
4444
if (_wrapMode == value)
4545
return;
4646

47+
Ins = this;
4748
_wrapMode = value;
4849
foreach (Line line in LineManager.Lines)
4950
{

0 commit comments

Comments
 (0)