mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Fixed Emit marker in generic types where unspecialized has no emission
This commit is contained in:
parent
1abccdedf8
commit
7ddec857f6
6 changed files with 179 additions and 77 deletions
|
@ -826,11 +826,16 @@ namespace Beefy.theme.dark
|
|||
|
||||
if (mLineRange != null)
|
||||
{
|
||||
var lineAndColumn = CursorLineAndColumn;
|
||||
if (lineAndColumn.mLine < mLineRange.Value.Start)
|
||||
CursorLineAndColumn = .(mLineRange.Value.Start, lineAndColumn.mColumn);
|
||||
else if (lineAndColumn.mLine >= mLineRange.Value.End)
|
||||
CursorLineAndColumn = .(mLineRange.Value.End - 1, lineAndColumn.mColumn);
|
||||
if (mLineRange.Value.Length == 0)
|
||||
CursorLineAndColumn = .(0, 0);
|
||||
else
|
||||
{
|
||||
var lineAndColumn = CursorLineAndColumn;
|
||||
if (lineAndColumn.mLine < mLineRange.Value.Start)
|
||||
CursorLineAndColumn = .(mLineRange.Value.Start, lineAndColumn.mColumn);
|
||||
else if (lineAndColumn.mLine >= mLineRange.Value.End)
|
||||
CursorLineAndColumn = .(mLineRange.Value.End - 1, lineAndColumn.mColumn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue