mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 05:14:10 +02:00
Improved GetCursorLineChar
This commit is contained in:
parent
a5e0f34549
commit
e12c03d46e
1 changed files with 1 additions and 1 deletions
|
@ -1895,7 +1895,7 @@ namespace Beefy.widgets
|
||||||
|
|
||||||
public bool GetCursorLineChar(out int line, out int lineChar)
|
public bool GetCursorLineChar(out int line, out int lineChar)
|
||||||
{
|
{
|
||||||
if (mCursorTextPos != -1)
|
if (mVirtualCursorPos == null)
|
||||||
{
|
{
|
||||||
GetLineCharAtIdx_Fast(mCursorTextPos, true, out line, out lineChar);
|
GetLineCharAtIdx_Fast(mCursorTextPos, true, out line, out lineChar);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue