1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Added UnversionedLibDir to config

This commit is contained in:
Brian Fiete 2019-10-04 10:39:25 -07:00
parent d48d03c58b
commit f258b4a25b
8 changed files with 81 additions and 39 deletions

View file

@ -1762,6 +1762,30 @@ namespace IDE
}
}
[IDECommand]
public void AssertIsAtColumn(String fileName, int column)
{
String filePath = scope String();
FixSrcPath(fileName, filePath);
var sourceViewPanel = GetActiveSourceViewPanel();
if (sourceViewPanel == null)
return;
if (!Path.Equals(filePath, sourceViewPanel.mFilePath))
{
ScriptManager.sActiveManager.Fail("Expected source file '{0}', got '{1}'", filePath, sourceViewPanel.mFilePath);
return;
}
let atColumn = sourceViewPanel.mEditWidget.mEditWidgetContent.CursorLineAndColumn.mColumn + 1;
if (atColumn != column)
{
ScriptManager.sActiveManager.Fail("Expected column '{0}', got '{1}'", column, atColumn);
return;
}
}
[IDECommand]
public void GotoTextSkip(String findText, int skipIdx)
{